7.16.12 MC_ReadActualPosition
Function
Read the current position 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: FB not ended | |
| 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 | |
| Position | LREAL | VAR_OUT | The actual position of the user unit[u] |