Structure definitions

Bit-masks for alarms

Name

Mask

Description

nAlarmOpen
Thermocouple

2#0000_0000_0000_0000_0000_0000_0000_0001

Hardware: open temperature sensor

nAlarmReverse
Thermocouple

2#0000_0000_0000_0000_0000_0000_0000_0010

Hardware: reverse connected temperature sensor

nAlarmBackVoltage

2#0000_0000_0000_0000_0000_0000_0000_0100

Hardware: excessive voltage at temperature sensor

nAlarmLeakage
Current

2#0000_0000_0000_0000_0000_0000_0000_1000

Hardware: leakage current measured

nAlarmShortCircuit

2#0000_0000_0000_0000_0000_0000_0001_0000

Hardware: short circuit

nAlarmOpenCircuit

2#0000_0000_0000_0000_0000_0000_0010_0000

Hardware: no current

nAlarmLimitLow

2#0000_0000_0000_0000_0000_0001_0000_0000

Software: fallen below first lower relative temperature

nAlarmLimitLowLow

2#0000_0000_0000_0000_0000_0010_0000_0000

Software: fallen below second lower relative temperature

nAlarmLimitHigh

2#0000_0000_0000_0000_0000_0100_0000_0000

Software: first upper relative temperature exceeded

nAlarmLimitHighHigh

2#0000_0000_0000_0000_0000_1000_0000_0000

Software: second upper relative temperature exceeded

nAlarmAbsoluteHigh

2#0000_0000_0000_0000_0001_0000_0000_0000

Software: upper absolute temperature exceeded

nAlarmAbsoluteLow

2#0000_0000_0000_0000_0010_0000_0000_0000

Software: fallen below lower absolute temperature

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT 3.1.4016

PC or CX

Tc2_TempController