PLC libraries
Outputs
Name Unit Range Description
fYAnalog NA LREAL Analog control value
bYPWMPos NA [True, False] Digital output, Pulse width
modulated
bYPWMNeg NA [True, False] Digital output; Negation of
bYPWMPos; Pulse width
modulated
bYDigPos NA [True, False] Digital output of 3-point
controller; True equals
+100% control value and
False equals control value
off
bYDigNeg NA [True, False] Digital output of 3-point
controller; True equals
-100% control value and
False equals control value
off
dWAlarm NA DWORD Alarm signals (see Enum)
fMaxOverShoot °C LREAL Max. overshoot in degree
C under/over setpoint
tStartUpTime Time TIME Rising time until the actual
value first hits the setpoint
eCtrlState NA E_CTRL_STATE Acutal state of the
controller
sParaControllerInternal NA Structure PID Controller parameters
after tuning
bError NA [True, False] An error occursed, if true
eErrorId NA Structure Error code of the current
error
Requirements
Development environment target platform PLC libraries to include
TwinCAT 3.1.4006 PC or CX (x86) Tc2_TempController
5.1.6 Structure Definitions (ST_CTRL_DistCompParameter)
ST_CTRL_DistCompParameter
TYPE ST_CTRL_DistCompParameters
STRUCT
fKd:LREAL:=0;
tT1:TIME:=T#0MS;
tT2:TIME:=T#0MS;
END_STRUCT
END_TYPE
TC3 Temperature Controller 41Version: 1.1