F_ConvWordToAX5000C1D

F_ConvWordToAX5000C1D 1:

This function can be used to convert the Class 1 Diag word FB_SoEReadClassXDiag_ByDriveRef (S-0-0011) to a structure ST_AX5000_C1D.

FUNCTION F_ConvWordToSTAX5000C1D : ST_AX5000_C1D

VAR_INPUT
    wClass1Diag : WORD;
END_VAR

wClass1Diag : Class 1 Diagnose 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 >= 1335

PC or CX (x86)

TcDrive.lib
(TcEtherCAT.lib, TcUtilities.Lib, TcSystem.lib, Standard.Lib, TcBase.Lib are included automatically)

TwinCAT v2.10.0 Build >= 1335

CX (ARM)