F_ConvWordToIndraDriveCsC1D

F_ConvWordToIndraDriveCsC1D 1:

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
(TcEtherCAT.lib, TcUtilities.Lib, TcSystem.lib, Standard.Lib, TcBase.Lib are included automatically)

TwinCAT v2.10.0 Build > 1340

TwinCAT v2.11.0 Build > 1541

CX (ARM)