This function block configures the acceleration ramp and the deceleration ramp of the axis.
Input |
Data type |
Description |
---|---|---|
Execute |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE. A rising edge of the input Execute starts the function block. The function block continues execution and the output Busy is set to TRUE. A rising edge at the input Execute is ignored while the function block is being executed. |
Acceleration |
DINT |
Value range: 0...9999 Default value: 30 Unit: 0.1 s. Example: With a value of 30, 3 seconds are required to accelerate from 0 to the nominal frequency of the motor. It must be possible to reach the value with the available torque of the motor. |
Deceleration |
DINT |
Value range: 0...9999 Default value: 30 Unit: 0.1 s. Example: With a value of 30, 3 seconds are required to decelerate from the nominal frequency of the motor to 0. It must be possible to reach the value with the available torque of the motor. |
Output |
Data type |
Description |
---|---|---|
Done |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE.
|
Busy |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE.
|
Error |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE.
|
ErrorID |
WORD |
Returns the value of a diagnostic code. Refer to Library Diagnostic Codes. If the value is 0 and if the output Error of this function block is set to TRUE, then the diagnostic code can be read with the output AxisErrorID of the function block MC_ReadAxisError. |