Chapter 7 Usage of Various Functions
7-37
f) Program Explanation
When the input condition M2 turns on, PID auto tuning operation executes at no.0 parameter.
When auto tuning finished, PID operation executes with calculated P,I,D parameter.
PID execution status registrate D0000 and the output value of control result registrate D0001
If SV Ramp is designated, current SV is registrate D0005
D/A module converts the MV to analog signal and output to the actuator (power converter).
When the input condition M2 turns off, output 0 to the D/A conversion module
When M0002 turns on, auto tuning starts.
Calculated P,I,D parameters are saved to D0002, D0003, D0004
When auto tuning ends,
M0001 turns on and PID control starts. When M0002 turns off,
Output 0 to D4980