Chapter 6 Applied Instructions Td_Kd : Derivative gain (second) Double word Tf : Derivative action time constant (second) Double word PID_EQ : Selection of a PID formula Bit PID_DE : Selection of the calculation of PID_DIR : PID forward/reverse direction the PID derivative error Bit (PID_DIR) Bit ERR_DBW : Range within which the error value is count as 0 (ERR_DBW) Double word MV_MAX : Maximum output value MV_MIN : Minimum output value (MV_MAX) Double word (MV_MIN) Double word MOUT : Manual output value (MOUT) Double word BIAS : Feedforward output value Double word I_MV : Accumulated integral value (I_MV) Double word MV : Output value (MV) Double word Example: 1.
The instruction is used to implement the advanced PID algorithm. When the instruction is being executed by the PLC, the PID algorithm is implemented. PID stands for Proportional, Integral, Derivative. The PID control is widely applied to mechanical equipment, pneumatic equipment, and electronic equipment. 2. The setting of the parameters is as follows. 6-183 Device Function Setting range Description Device number number PID RUN _ BOOL Enabling the PID algorithm True: The PID algorithm is implemented. False: The output value (MV) is reset to 0, and the PID algorithm is not implemented.
SV REAL Range of single-precision floating-point numbers Target value Range of single-precision floating-point numbers PV REAL Range of single-precision floating-point numbers Process value Range of single-precision floating-point numbers PID MODE _ Double word /DINT PID control mode 0: Automatic control When PID MAN is switched from _ ON to OFF, the output value (MV) then is involved in the automatic algorithm. 1: The parameters are tuned automatically for the temperature control. When the tuning of the parameters is complete, the device is