TwinCAT PLC Library Hydraulics - Version 1.4 — 5.2 Global constants (from V3.0)

Knowledge Base ADS Codes These constants are accepted by the MC_AxAdsReadDecoder and MC_AxAdsWriteDecoder function blocks. PLC Library Hydraulics 242 Version: 1.4 Constant Hexadeci- mal Decimal Description dwTcHydErrCdAX2000Main PwrTmOut 16#0001 1 Only for AX2000: no feedback by the mains contactor (timeout during waiting for ST TcPlcMcAx2000In.bPowerOk). _ dwTcHydErrCdAX2000Main PwrFault 16#0002 2 Only for AX2000: negative edge on feedback from mains contactor (ST TcPlcMcAx2000In.bPowerOk). _ dwTcHydErrCdAX2000Pwr StageTmOut 16#0003 3 Only for AX2000: no feedback from AX output stage (timeout during waiting for ST TcPlcMcAx2000In.DriveState[3].6, no Ready).

_ dwTcHydErrCdAX2000Pwr StageFault 16#0004 4 Only for AX2000: Negative edge of AX output stage (ST TcPlcMcAx2000In.DriveState[3].6, no Ready). _ dwTcHydErrCdAX2000Rep ortsError 16#0005 5 Only for AX2000: error message from AX device (ST TcPlcMcAx2000In.DriveState[3].7 or _ ST TcPlcMcAx2000In.DriveError 0). _ dwTcHydErrCdAX2000Error I2T 16#0006 6 Only for AX2000: I2T error message from AX output stage (ST TcPlcMcAx2000In.DriveState[0].0). _ dwTcHydErrCdAX2000Error Chopper 16#0007 7 Only for AX2000: brake resistor of the AX output stage faulty (ST TcPlcMcAx2000In.DriveState[0].1). _ dwTcHydErrCdAX2000Error WatchDog 16#0008 8 Only for AX2000:

watchdog (timeout during communication) of the AX output stage was triggered (ST TcPlcMcAx2000In.DriveState[0].3). _ dwTcHydErrCdAX2000Error PwrLine 16#0009 9 Only for AX2000: supply error reported by AX output stage (ST TcPlcMcAx2000In.DriveState[0].4). _ dwTcHydErrCdAX2000Con nectionLost 16#000A 10 Only for AX2000: The connection to the AX device is broken or substantially disrupted (ST TcPlcMcAx2000In.BoxState 0). _ dwTcHydErrCdAX2000Con nectionTmOut 16#000B 11 Only for AX2000: The communication with the AX device could not be established (timeout). dwTcHydErrCdKL2531Over Temp 16#0001 1 Only for KL2531/KL2541: The KL2531/KL2541 terminal reports overtemperature alarm.

dwTcHydErrCdKL2531Unde rVoltage 16#0002 2 Only for KL2531/KL2541: The KL2531/KL2541 terminal reports inadequate supply voltage on the power rail. 16#0003 3 Only for KL2531/KL2541: Reserved. dwTcHydErrCdKL2531Ope nLoadA 16#0004 4 Only for KL2531/KL2541: The KL2531/KL2541 terminal reports broken wire on the A-side. dwTcHydErrCdKL2531Ope nLoadB 16#0005 5 Only for KL2531/KL2541: The KL2531/KL2541 terminal reports broken wire on the B-side. dwTcHydErrCdKL2531Over CurrentA 16#0006 6 Only for KL2531/KL2541: The KL2531/KL2541 terminal reports overcurrent at output stage A. dwTcHydErrCdKL2531Over CurrentB 16#0007 7 Only for KL2531/KL2541:

The KL2531/KL2541 terminal reports overcurrent at output stage B. dwTcHydErrCdKL2531NotR eady 16#0008 8 Only for KL2531/KL2541: The terminal reports a output stage problem (enabled, not ready). dwTcHydErrCdKL2531Conn ectionLost 16#000A 10 Only for KL2531/KL2541: The connection to the terminal is broken or substantially disrupted (ST TcPlcMcDriveIn.uiBoxState 0). _ dwTcHydErrCdKL2531Conn ectionTmOut 16#000B 11 Only for KL2531/KL2541: The communication with the terminal could not be established (timeout).