9 PID CONTROL FUNCTION
9.8 Examples of Program
73
9
9.8 Examples of Program
System configuration example
An example of the system configuration when the PID control function is used is shown below.
System configuration
Operation of the electric heater
■During PID control
■During auto-tuning
Program examples
Program example Description Reference
Program example 1 This is an example of the sample program for PID control. Page 74
Program example 2 This is an example of the sample program for auto tuning (limit cycle method). Page 76
Program example 3 This is an example of the sample program for auto tuning (step response method). Page 78
Program example 4 This is an example of the sample program for auto tuning (limit cycle method) + PID
control.
Page 80
Program example 5 This is an example of the sample program for auto tuning (step response method) + PID
control.
Page 82
V1+
V2-
AD
V-
0V
COM0
Y0
Electric heater
Temperature chamber
Resistance temperature sensor
(Pt100 sensor)
X10: Auto-tuning command
X11: PID control command
Resistance temperature sensor
converter
M2RS-44-R/UL
10V
0V
145
Error indication
24 V DC
power supply
FX5U-32MT/ES
Y1
24V X10X11
Power
supply
D502×1 ms <ON duration>
OFF
ON ON ON ON ON
2 sec (2000 ms)
<cycle>
2 sec (2000 ms) 2 sec (2000 ms)
1.8 sec (1800 ms) 1.8 sec (1800 ms) 1.8 sec (1800 ms)
2 sec (2000 ms) 2 sec (2000 ms) 2 sec (2000 ms)