Kaiyi — 6.8.2 Explanation of Convenience Instructions

Chapter 6 Applied Instructions Example: 1. Before the instruction PID is executed, the setting of the parameters should be complete. 2. When X0.0 is ON, the instruction is executed. When M1 is ON, the PID algorithm is implemented. When M1 is OFF, the MV is 0, and the MV is stored in D200. When X0.0 is switched OFF, the instruction is not executed, and the previous data is unchanged. Additional remark: 1. The instruction can be used several times, but the registers specified by I_MV ~ I_MV +5 can not be the same. 2. I_MV occupies 12 registers. I_MV used in the instruction PID in the above example occupies D122~D133.

6-170 Device number Function Setting range Description MOUT Manual output value It is used with the PID MAN mode. Users set the _ MV directly. I MV (It _ occupies six consecutive 32-bit devices.) I MV _ The accumulate d integral value is temporarily stored in it. Range of single-precisio n floating-point numbers The accumulated integral value is only for reference. It still can be cleared or modified according to users’ need. When the MV is larger than the MV MAX, or when the MV _ is less than MV MIN, the _ accumulated integral value in I MV is unchanged. _ I MV+1 _ The previous PV is temporarily stored in it. The previous PV is only for reference.

It still can be modified according to users’ need. I MV+2 _ For system use only ~ I MV+5 _ MV MV The MV is withing the range between the MV MIN and the MV MAX. _ _