PLC libraries | Function Block VAR_OUTPUT VAR_OUTPUT fYAnalog : LREAL; bYPWM : BOOL; bYDig : BOOL; bYDigPos : BOOL; bYDigNeg : BOOL; dwAlarm : DWORD; iState : States := TC_STATE_IDLE; sParaControllerInternal : ST_ParaController; TF4110 24 Version: 2.0.3 Name Unit Value range Description bOn 1 [TRUE,FALSE] TRUE switches the controller on. bInit 1 [TRUE,FALSE] Initialization flag, which must be active (TRUE) for precisely the first cycle in which the controller is called. bTune 1 [TRUE,FALSE] A rising edge switches the self-tuning on.
If it is switched to FALSE during the self-tuning process then the self- tuning is aborted and the controller continues operation using the old parameters (if they are still present). bManual 1 [TRUE,FALSE] TRUE switches manual operation on. If the signal goes FALSE again, the controller returns to automatic mode. bSelSetpoint 1 [TRUE,FALSE] Selects one of two possible setpoints. FALSE selects the normal setpoint, while TRUE selects the standby setpoint. bSelCtrlParamet erSet 1 [TRUE,FALSE] Selects one of two parameter sets. FALSE causes the internal (determined) parameter set to be used, while TRUE switches to one provided externally.
bEnableSoftStar t 1 [TRUE,FALSE] The soft start-up process is used if TRUE. bEnableRampin g 1 [TRUE,FALSE] TRUE causes each setpoint step-change to be converted to a ramp. fW1 °C LREAL Setpoint fW2 °C LREAL Standby setpoint, 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. 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 time etc.) are passed to the function block in this structure.
sParaController External none Structure An external controller parameter set is passed to the function block in this structure. sLogData none Structure This structure passes parameters for logging to the function block (filenames etc.).