2058
APPX
Appendix 4 PID Operation Program Examples
Appendix 4 PID Operation Program Examples
This section provides examples of PID operation programs where the PID operation instruction is used.
The following system configuration is used.
• X2: Auto tuning command
• X3: PID control command
• Y20: Error indication
• Y21: Heater output
Operation of output value
■PID control
■Auto Tuning: 90% of maximum output
Item During auto tuning During PID control
Set value (s1) 500 (+50)500 (+50)
Control data Sampling time (T
S
) (s3) 3000ms 500ms
Input filter () (s3)+2 70% 70%
Derivative gain (K
D
) (s3)+5 0% 0%
Output upper limit value (s3)+22 2000 (2 seconds) 2000 (2 seconds)
Output lower limit value (s3)+23 0 0
Action setting (ACT) Input variation alarm Bit 1 of (s3)+1 Disabled Disabled
Output variation alarm Bit 2 of (s3)+1 Disabled Disabled
Output upper/lower
limit value setting
Bit 5 of (s3)+1 Enabled Enabled
Output value (d) 1800 According to operation
PV
MV
PV
MV
CPU module
D/A
converter
module
A/D
converter
module
Sensor
Control target
PID operation
ONONON
OFF
ON ON
2000ms 2000ms
D502 × 1ms
2000ms
2000ms 2000ms2000ms
1800ms 1800ms 1800ms