Process control instructions
953
Part III FP Instructions
Example
In this example, the same POU header is used for all programming languages. For an example
using IL (instruction list), please refer to the online help.
GVL
In the global variable list all global input and output values are declared that are used to program
the function. The addresses are depending on the respective PLC-Type.
POU header
All input and output variables used for programming this function have been declared in the POU
header.
LD
ST
When programming with structured text, enter the following:
PID_Control( Automatic:= TRUE,
Forward:= FALSE,
I_PD:= FALSE,
SP:= Set_Value_SP,
PV:= Process_Value_PV,
Kp:= 15,
Ti:= 200,
Td:= 1,
Ts:= 10,
LowerLimit:= 0,
UpperLimit:= 1000,
MV:= Output_Value_MV);