DVP-ES3 Series Programming Manual This graph shows that when the target temperature changes from 80°C to 100°C, the automatically tuned parameters still work to control the temperature in a reasonable amount of time. Example 4: Creating a DPIDE instruction in a function block and setting to the cyclic task mode to read the function block written with a DPIDE instruction to control the temperature. 1. Set the value in DPIDE_CYCLE to 1000 ms, and execute the DPIDE instruction by reading the function block written _6 with a DPIDE instruction. Whenever the function block is scanned, the PID algorithm is applied according to the sampling time (Cycle), and it refreshes the output value (DPIDE_MV).
2. Set the DPIDE_MODE =1 for auto tuning the parameters for the temperature control. After tuning is done, the system is in auto control mode (PID_MODE is set to 0) and fill in the appropriate parameters (Kc_Kp, Ti_Ki, Td_Kd, and Tf). 3. Main program (cyclic task): Since PLC only executes the DPIDE instruction when it is scanned. If we use TMRH to work with the DPIDE instruction, for example, set the TMRH to 1000 ms, the system calls the function block written with a DPIDE instruction (ES3_DPIDE) every 1000 ms. See the example program below. 6-214