MDI_MoveVelocity (FB)
FUNCTION_BLOCK MDI_MoveVelocity
This function block is used to issue a velocity reference to the axis. In this mode of operation, the position loop is not used on the drive (no following error is recorded or acted upon). After Execute is issued the axis will remain in velocity control mode until motion of another control mode type is issued.
- InOut:
Scope
Name
Type
Initial
Comment
Input
ExecuteBOOLFALSE
Starts the function block on a rising edge.
VelocityREAL100
Value for the velocity the axis will reach in user units, for e5x0 unit is units/sec, for ACSx80 unit is RPM. Can be modified whilst Execute is true to change the axis velocity.
AccelerationREAL1000
Acceleration rate(user units/sec^2 for e5x0, sec for ACSx80), range>0.
DecelerationREAL1000
Deceleration rate(user units/sec^2 for e5x0, sec for ACSx80), range>0.
Inout
AxisReference to the axis structure.
Output
InVelocityBOOLCommanded velocity is reached.
BusyBOOLSets to true while the function block is in progress.
CommandAbortedBOOLCommand is aborted by another command from other MDI function block.
ErrorBOOLSignals that an error has occurred within function block.
ErrorIDContains the error code when there is an error.