MC_MoveVelocity
This function block triggers an endless movement at the specified speed.

- To stop the movement, the function block must be interrupted by another function block, e.g. MC_Halt.
- InVelocity is reset if the function block is canceled by another function block.
- Negative speed * negative direction = positive speed
VAR_IN_OUT
Variable name | Data type | Description |
|---|---|---|
Axis | AXIS_REF | Reference to a logical device See also AXIS_REF. |
VAR_INPUT
Variable name | Data type | Description |
|---|---|---|
Execute | BOOL | Start execution of the function block. |
Velocity | LREAL | Setpoint speed in [user units/s] |
Acceleration | LREAL | Acceleration in [user unit/s2] |
Deceleration | LREAL | Deceleration in [user unit/s2] |
Jerk | LREAL | Jerk in [user unit/s3] |
BufferMode | MC_Buffer_Mode | Chronological sequence of the function block |
VAR_OUTPUT
Variable name | Data type | Description |
|---|---|---|
InVelocity | BOOL | Function block successfully completed |
Busy | BOOL | Function block is active |
Active | BOOL | Function block controls the axis |
CommandAborted | BOOL | The function block was canceled by another command |
Error | BOOL | An error has occurred in the function block |
ErrorID | WORD | Error number |
