PLC libraries
Name Mask Description
nAlarmOpenThermocouple 2#0000_0000_0000_0000_0000_00
00_0000_0001
Hardware: open temperature
sensor
nAlarmReverseThermocouple 2#0000_0000_0000_0000_0000_00
00_0000_0010
Hardware: reverse connected
temperature sensor
nAlarmBackVoltage 2#0000_0000_0000_0000_0000_00
00_0000_0100
Hardware: excessive voltage at
temperature sensor
nAlarmLeakageCurrent 2#0000_0000_0000_0000_0000_00
00_0000_1000
Hardware: leakage current
measured
nAlarmShortCircuit 2#0000_0000_0000_0000_0000_00
00_0001_0000
Hardware: short circuit
nAlarmOpenCircuit 2#0000_0000_0000_0000_0000_00
00_0010_0000
Hardware: no current
nAlarmLimitLow 2#0000_0000_0000_0000_0000_00
01_0000_0000
Software: fallen below first lower
relative temperature
nAlarmLimitLowLow 2#0000_0000_0000_0000_0000_00
10_0000_0000
Software: fallen below second
lower relative temperature
nAlarmLimitHigh 2#0000_0000_0000_0000_0000_01
00_0000_0000
Software: first upper relative
temperature exceeded
nAlarmLimitHighHigh 2#0000_0000_0000_0000_0000_10
00_0000_0000
Software: second upper relative
temperature exceeded
nAlarmAbsoluteHigh 2#0000_0000_0000_0000_0001_00
00_0000_0000
Software: upper absolute
temperature exceeded
nAlarmAbsoluteLow 2#0000_0000_0000_0000_0010_00
00_0000_0000
Software: fallen below lower
absolute temperature
Requirements
Development environment target platform PLC libraries to include
TwinCAT 3.1.4006 PC or CX (x86) Tc2_TempController
5.1.5 FB_CTRL_TempController_DistComp
This temperature controller function block adds disturbance compensation to the FB_CTRL_TempController
function blocks. The structure is illustrated here.
TC3 Temperature Controller38 Version: 1.1