7.16.13 MC_ReadActualVelocity
Function
Read the current speed of the axis.
LD graphics

Parameter description
| Parameters | Type | Declaration | Description | Remarks |
|---|---|---|---|---|
| Axis | AXIS | VAR_IN_OUT | System axis for executing commands | Invoke Function Block |
| Enable | BOOL | VAR_IN | Whether it is enabled | |
| Valid | BOOL | VAR_OUT | If there is a valid set of outputs available, the output is TRUE | |
| Busy | BOOL | VAR_OUT | Whether there is a valid output for FB, True:FB is not terminated | |
| Error | BOOL | VAR_OUT | An error signal has occurred within the FB | |
| ErrorID | WORD | VAR_OUT | Error ID | |
| Velocity | LREAL | VAR_OUT | User unit’s command velocity [u/s] |