Chapter 15 The PID function of K200S MASTER-K
15-24
3) A/D module setting
① Channel setting : use channel 0
② Output data type : – 48 ~ 4047
③ Input processing : Sampling
4) D/A module setting
Channel setting : use channel 0
15.5.3 Program description
1) Use only PID operation (without auto-tuning function)
① Convert the measured temperature (0 ~ 250°C) to current signal (4 ~ 20mA), and
input the current signal to the channel 0 of A/D module. Then, the A/D module
converts the analog signal to digital value (0 ~ 4000)
② PIDCAL instruction will calculate manipulate value (MV : 0 ~ 4000) based on PID
parameter settings (P_GAIN, I_TIME, D_TIME, etc.) and PV from A/D module. Then,
the calculated MV is output to the channel 0 of D/A module.
③ D/A module will convert the MV (0 ~ 4000) to analog signal (4 ~ 20mA) and output to
the actuator (power converter).
2) Use PID operation with auto-tuning function
① Convert the measured temperature (0 ~ 250°C) to current signal (4 ~ 20mA), and
input the current signal to the channel 0 of A/D module. Then, the A/D module
converts the analog signal to digital value (0 ~ 4000)
② The PIDTUN instruction will calculate manipulate value (MV : 0 ~ 4000) based on the
SV from user input and PV from A/D module. Simultaneously, the A/T module will
calculate P,I and D parameters.
③ The bit 7 of STAT output of PIDTUN instruction will be 1 when the A/T operation is
completed. Then, PID module will start operation with PID parameters that are
calculated by PIDTUN instruction.
④ D/A module will convert the MV (0 ~ 4000) to analog signal (4 ~ 20mA) and output to
the actuator (power converter).