35 CPU MODULE BUILT-IN ANALOG FUNCTION
35.5 Function (PID Control Via Instruction)
617
35
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
The operation of the electric heater (Y1) is as follows.
• During PID control
• During auto-tuning (In case of 90% of maximum output)
■Program examples
Program example Description Reference
Program example 1 This is an example of the sample program for PID control. Page 618
Program example 2 This is an example of the sample program for auto tuning (limit cycle method). Page 620
Program example 3 This is an example of the sample program for auto tuning (step response method). Page 622
Program example 4 This is an example of the sample program for auto tuning (limit cycle method) + PID control. Page 624
Program example 5 This is an example of the sample program for auto tuning (step response method) + PID control. Page 626
Electric heater
Temperature sensor (Thermocouple)
Temperature chamber
X10: Auto-tuning command
X11: PID control command
Error indication
24 V DC
power supply
0V
COM0
Y0
FX5U-32MT/ES
FX5-4AD-TC-ADP
Y1
L1+
L1-
24V X10 X11
D502×1 ms <ON duration>
2 sec (2000 ms)
<cycle>
2 sec (2000 ms) 2 sec (2000 ms)
OFF
ON ON ON ON ON
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)