7 Application Instructions API 50-99 4. Settings of S 3 in the 16-bit instruction DVP-PLC APPLICATION MANUAL 7-134 Device No. Function Setup Range Explanation S : 3 Sampling time (T ) S (unit: 10ms) 1 ~ 2,000 (unit: 10ms) If T is less than 1 program scan time, PID S instruction will be executed for 1 program scan time. If T = 0, PID instruction will not be enabled. S The minimum T has to be longer than the S program scan time. S +1: 3 Proportional gain (K ) P 0 ~ 30,000 (%) The magnified error proportional value between SV – PV. S +2: 3 Integral gain (K) I 0 ~ 30,000 (%) For control mode K0~K8 S +3: 3 Differential gain (K ) D -30,000 ~ 30,000 (%) For control mode K0~K8 S +4:
3 Control mode 0: automatic control 1: forward control (E = SV - PV) 2: inverse control (E = PV - SV) 3: Auto-tuning of parameter exclusively for the temperature control. The device will automatically become K4 when the auto-tuning is completed and be filled in with the appropriate parameter K , K and P I K (not avaliable in the 32-bit instruction). D 4: Exclusively for the adjusted temperature control (not avaliable in the 32-bit instruction). 5: Auto direction control (limited integrall upper/lower limit) P.S. K5 mode is only available in SV/EH2/EH3/SV2 V1.2, SA/SX V1.8 and SC V1.6, and EH3/SV2 V1.0. 7: Manual control 1: Users set an MV.
The accumulated integral value increases according to the error. It is suggested that the control mode should be used in a control environment which changes more slowly. EH3 V1.62 and SV2 V1.62 are supported. 8: Manual control 2: Users set an MV. The accumulated integral value will stop increasing. When the control mode becomes the automatic mode (the control mode K5 is used), the instruction PID outputs an appropriate accumulated integral value according to the last MV. EH3 V1.62 and SV2 V1.62 are supported. S +5: 3 The range that error value (E) doesn’t work 0 ~ 32,767 E = the error of SV – PV. When S +5 = K0, the 3 function will not be enabled, e.g.
when S +5 is 3 set as 5, MV of E between -5 and 5 will be 0. S +6: 3 Upper bound of output value (MV) -32,768 ~ 32,767 Ex: if S +6 is set as 1,000, the output will be 3 1,000 when MV is bigger than 1,000. S +6 has 3 to be bigger or equal S +7; otherwise the upper 3 bound and lower bound will switch.