MC_ReadAxisInfo
This FB is used to get information concerning an axis like modes and states. It is assigned to the group of administrative FBs.
Block diagram
Parameters of the FB
VAR_IN_OUT | |||
| Axis | AXIS_REF | Axis reference |
VAR_INPUT | |||
| Enable | BOOL | Get the values of the parameters continuously while enabled. |
VAR_OUTPUT | |||
| Valid | BOOL | True if ‘Valid’ outputs available. |
| Error | BOOL | Indicates if an error has occurred. |
| ErrorID | WORD | Error identification. |
| IsHomed | BOOL | Axis referencing is completed. |
Behavior of the FB
- The information of an axis is updated cyclically as long as ‘Enable’ has the value TRUE.