Chapter 10 Built-in PID Functions
10 - 8
(3) PIDINIT
PIDINIT is used to initialize the settings and states of the current PID loop. All the setting values of the
corresponding loop are initialized as 0 (Off in case of bit).
Operand S has the range 0 ~ 31 (constants) and means the loop number.
(4) PIDPRMT
PIDPRMT facilitates parameter changes in the loop memory configuration.
As soon as the contact is On, the main setting values of the PIDRUN instruction (SV, T_s, K_p, T_i, T_d)
are simultaneously changed to the values set by the user. Make sure that each of the 5 setting values
holds its respective data type as shown the table below.
Device
Parameter
Data Type
Setting Ex.
Actual Unit
S+0 SV [WORD] 5000
S+1 Ts [WORD]
1000
0.1
msec
S+2 Kp [REAL] 3.32 sec
S+4 Ti [REAL] 9.3 sec
S+6 Td [REAL] 0.001 sec
Operand S represents the first word address of the place the parameter to be changed is stored.
Operand D has the range 0 ~ 31 (constants) and means the loop number.
(5) PIDPAUSE
PIDPAUSE is used to switch the corresponding loop from the PIDRUN state to the PIDPAUSE state.
Operand S has the range 0 ~ 31 (constants) and means the loop number.