Professional Documents
Culture Documents
Applications
As a PID fixed set point controller or in multi-loop controls as a cascade, blending or ratio controller.
PID Algorithm
The proportional,integral (INT), and derivative (DIF) actions are connected in parallel and can be activated or deactivated
individually.
The CRP_IN function converts the PV_PER peripheral value to a floating-point format of -100 to +100 % according to the following formula:
The PV_NORM function normalizes the output of CRP_IN according to the following formula:
Output of PV_NORM =
PV_OFF
Manual Mode:
Manipulated Value
PID Controller
In manual mode:
The manipulated variable is connected to a manually selected value. The INT value is set internally to LMN - LMN_P DISV The derivative unit (DIF) is set to 0 and matched internally. This means that a switchover to the automatic mode does not cause any sudden change in the manipulated value.
Manipulated Value The manipulated value can be limited to a selected value using the LMNLIMIT function. The LMN_NORM function normalizes the output of LMNLIMIT according to the following formula:
The CRP_OUT function converts the floating-point value LMN to a peripheral value according to the following formula:
Error Signal The difference between the set point and process variable is the error signal.
Complete Restart/Restart
FB41 CONT_C has a complete restart routine that is run through when the input parameter COM_RST = TRUE is set.
During startup, the integrator is set internally to the initialization value I_ITVAL.
PID Exercise Using a temperature sensor measure the temperature inside the lab and connect to an analog input of the Siemens PLC.
Connect this measurement as input to a Siemens PID block. Scale the measurement to read and display 25 to 32 degC.
Configure all the parameters of the PID block to suitable values to build a temperature control system with a constant set point of 27 degC Observe the manipulated output for various set point changes Connect the manipulated value to a peripheral output