Proportional Integral Derivative Instruction
The left column in the display above lists further PID instruction parameters you must enter.
Note
Auto/Manual AM (word 0, bit 1) toggles between Auto and Manual. Auto indicates that the PID is controlling the output. (The bit is clear.) Manual indicates that the user is setting the output value. (The bit is set.) When tuning, we recommend that changes be made in the Manual mode, followed by a return to Auto. Output limiting is also applied in the Manual mode. Mode TM (word 0, bit 0) toggles values Timed and STI. Timed indicates that the PID updates its output at the rate specified in the loop update parameter. When using the timed mode, your processor scan time should be at least ten times faster than the loop update time to prevent timing inaccuracies or disturbances. STI indicates that the PID updates its output every time it is scanned. When you select STI, the PID instruction should be programmed in an STI interrupt subroutine, and the STI routine should have a time interval equal to the setting of the PID loop update parameter. Set the STI period in word S:30. For example, if the loop update time contains the value 10 (for 100 ms), then the STI time interval must also equal 10 (for 10 ms).
Control CM (word 0, bit 2) toggles values E=SPPV and E=PVSP. Direct acting (E=PVSP) causes the output CV to increase when the input PV is larger than the setpoint SP (for example, a cooling application). Reverse acting (E=SPPV) causes the output CV to increase when the input PV is smaller than the setpoint SP (for example, a heating application).
Setpoint SP (word 2) is the desired control point of the process variable. You can change this value with instructions in your ladder program. Write the value to the third word in the control block (for example write the value to N10:2 if your control block is N10:0). Without scaling, the range of this value is 016383. Otherwise, the range is minimum scaled (word 8) to maximum scaled (word 7). Gain Kc (word 3) is the Proportional gain, ranging from 0.1 to 25.5. A rule of thumb is to set this gain to one half the value needed to cause the output to oscillate when the reset and rate terms (below) are set to zero. SLC 5/03 and higher processors The valid range is 0 to 3276.7.
Reset Ti (word 4) is the Integral gain, ranging from 0.1 to 25.5 minutes per repeat. A rule of thumb is to set the reset time equal to the natural period measured in the above gain calibration. SLC 5/03 and higher processors The valid range is 0 to 3276.7 minutes/repeat. Note that the value 1 will add the minimum integral term possible into the PID equation.
105