F_ConvWordToIndraDriveCsC1D
This function can be used to convert the Class 1 Diag word FB_SoEReadClassXDiag_ByDriveRef (S-0-0011) to a structure ST_IndraDriveCs_C1D.
FUNCTION F_ConvWordToSTIndraDriveCsC1D : ST_IndraDriveCs_C1D
VAR_INPUT
wClass1Diag : WORD;
END_VAR
wClass1Diag : Class 1 Diagnosis Word from S-0-0011 (see FB_SoEReadClassXDiag_ByDriveRef).
Requirements
Development environment |
Target system type |
PLC libraries to be linked |
---|---|---|
TwinCAT v2.10.0 Build > 1340, TwinCAT v2.11.0 Build > 1541 |
PC or CX (x86) |
TcDrive.lib |
TwinCAT v2.10.0 Build > 1340 TwinCAT v2.11.0 Build > 1541 |
CX (ARM) |