EasyManuals Logo

Beckhoff TwinCAT 3 User Manual

Beckhoff TwinCAT 3
46 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #22 background imageLoading...
Page #22 background image
PLC libraries
Interface
Table1: Inputs
Name Unit Range Description
eControlMode 1 E_CTRL_MODE Switches modes.
bSelSetpoint 1 [TRUE,FALSE] Selects one of two possible set values. FALSE selects
the normal set value, while TRUE selects the standby set
value.
fW1 °C LREAL Setpoint
fW2 °C LREAL Standby set value, generally smaller than fW1.
fSelSetpoint can be used to switch between fW1 and
fW2.
fX °C LREAL Actual value. This value must be converted to LREAL.
fYManual -100% -
+100%
LREAL Control value in manual mode.
bOpenThermoc
ouple
1 [TRUE,FALSE] The thermocouple is open if TRUE. Must be indicated by
the hardware (e.g. KLxxxx).
bReverseTherm
ocouple
1 [TRUE,FALSE] TRUE indicates that the thermocouple has been
connected with the wrong polarity. Must be indicated by
the hardware.
bBackVoltage 1 [TRUE,FALSE] TRUE indicates that the input voltage at the
thermocouple is too high. Must be indicated by the
hardware.
bLeakage 1 [TRUE,FALSE] TRUE indicates that leakage current has been detected
at the heating element. Must be indicated by the
hardware.
bShortCircuit 1 [TRUE,FALSE] TRUE indicates that a short circuit has been detected at
the heating element. Must be indicated by the hardware.
bOpenCircuit 1 [TRUE,FALSE] TRUE indicates that an open circuit has been detected at
the heating element. Must be indicated by the hardware.
sControllerPara
meter
none Structure General parameters (sampling rate etc.) are passed to
the block in this structure.
sParaController
External
none Structure An external controller parameter set is passed to the
block in this structure.
Table2: Outputs
Name Unit Range Description
fYAnalog none LREAL Analogue control value.
bYPWMPos none [TRUE,FALSE] Boolean output, pulse width modulated (positive, heating)
bYPWMNeg none [TRUE,FALSE] Boolean output, pulse width modulated (negative,
cooling)
bYDigPos none [TRUE,FALSE] Boolean output of a three-point controller (TRUE control
value 100%, FALSE control value off)
bYDigNeg none [TRUE,FALSE] Boolean output of a three-point controller (TRUE control
value -100%, FALSE control value off)
dwAlarm none DWORD Alarm signals (see ENUM ...)
fMaxOverShoot °C LREAL max. overshoot in °C under/over setpoint
tStartUpTime TIME - rising time until the first time reaching the setpoint.
eCtrlState none E_CTRL_STATE actuel state of the controller (s. ENUM ...)
sParaControllerI
nternal
none Structure PID controller parameter from tuning.
bError none [TRUE,FALSE] If an error is present, then bError is TRUE.
iErrorId none INT If bError is TRUE, then iErrorId provides an error code
(see ENUM ...)
TC3 Temperature Controller22 Version: 1.1

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Beckhoff TwinCAT 3 and is the answer not in the manual?

Beckhoff TwinCAT 3 Specifications

General IconGeneral
PlatformWindows
ProgrammingIEC 61131-3
RuntimeReal-time
FunctionalityPLC, Motion Control, CNC, Robotics
CommunicationEtherCAT, OPC UA, TCP/IP
IntegrationVisual Studio
Hardware compatibilityBeckhoff Industrial PCs
CategoryIndustrial Automation Software