F_ConvWordToSTAX5000DriveStatus
With this function the Drive status word (S-0-0135) can be changed to a structure ST_AX5000DriveStatus.
Inputs
VAR_INPUT
wDriveStatus : WORD;
END_VAR
Name | Type | Description |
---|---|---|
wDriveStatus | WORD | Drive status word from S-0-0135 (can be read with FB_SoE_Read_ByDriveRef, can be mapped if necessary). |
Return value
FUNCTION F_ConvWordToSTAX5000DriveStatus : ST_AX5000DriveStatus
Name | Type | Description |
---|---|---|
F_ConvWordToSTAX5000DriveStatus | ST_AX5000DriveStatus | Return value of the function. Axis state as structure. |