F_ConvWordToSTAX5000DriveStatus

F_ConvWordToSTAX5000DriveStatus 1:

With this function the Drive status word (S-0-0135) can be changed to a structure ST_AX5000DriveStatus.

F_ConvWordToSTAX5000DriveStatus 2: 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).

F_ConvWordToSTAX5000DriveStatus 3: Return value

FUNCTION F_ConvWordToSTAX5000DriveStatus : ST_AX5000DriveStatus

Name

Type

Description

F_ConvWordToSTAX5000DriveStatus

ST_AX5000DriveStatus

Return value of the function. Axis state as structure.