F_ConvWordToSTIndraDriveCsC1D

F_ConvWordToSTIndraDriveCsC1D 1:

With this function the Class 1 diagnosis FB_SoEReadClassXDiag_ByDriveRef
(S-0-0011) can be changed to an ST_IndraDriveCs_C1D structure.

F_ConvWordToSTIndraDriveCsC1D 2: Inputs

VAR_INPUT
    wClass1Diag : WORD;
END_VAR

Name

Type

Description

wClass1Diag

WORD

Class 1 diagnosis Word from S-0-0011
(see FB_SoEReadClassXDiag_ByDriveRef).

F_ConvWordToSTIndraDriveCsC1D 3: Return value

FUNCTION F_ConvWordToSTIndraDriveCsC1D : ST_IndraDriveCs_C1D

Name

Type

Description

F_ConvWordToSTIndraDriveCsC1D

ST_IndraDriveCs_C1D

Return value of the function Class-1-Diagnosis as ST_IndraDrivesCs_C1D structure.