This function block uses the reference values supplied by the analog input selected with the function block VelocityControlSelectAI_ATV.
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. This function block can be restarted while it is executed. The target values are overwritten by the new values at the point in time the rising edge occurs. |
NegativeDir |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE.
|
Output |
Data type |
Description |
---|---|---|
InVelocity |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE.
|
Busy |
BOOL |
Value range: FALSE, TRUE. Default value: FALSE.
|
CommandAborted |
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. |
Input/Output |
Data type |
Description |
---|---|---|
Axis |
Axis_Ref |
Reference to the axis (instance) for which the function block is to be executed (corresponds to the name of the axis). The name of the axis must be defined in the EcoStruxure Machine Expert . |
If you have activated this function block, simultaneous use of the Control_ATV function block may lead to unintended behavior.
WARNING | |
---|---|
More information is provided in the following function blocks description: SetFrequencyRange_ATV and VelocityControlSelectAI_ATV. If analog voltage levels –10 V...+10 V are used, the direction of movement (rotation) is inversed when the sign changes. If the voltage is 0 V, this may result in jumps in the direction of movement, in the minimum frequency and in jumps at standstill.