Basic Examples of PID Control
Section
5-1
156
Block address
ITEM No.
Data
Explanation
002
586
AI 4-point Terminal block
901
021
Y1 (analog input 1)
002
587
AO 4-point terminal block
021
001087
X1 (analog output 1) source designation
902
031
X1 (analog output 1)
002
011
Basic PID Block
006
901021
PV source designation
029
Current SP
054
P (proportional band)
055
I (integral time)
056
D (derivative time)
001
087
MV
002
111
High/low limit alarm block
007
001029
X1 input value source designation
012
U1 high limit alarm
100
013
U2 low limit alarm
002
301
Step Ladder Program block
2100
STEP00 declaration
01100013 When ITEM013 low alarm of LOAD address 100
11101039 Set constant ITEM of OUT address 101. (batch send
command)
02100012 When not ITEM012 (high alarm) of LOAD NOT address
100
04100013 When not ITEM013 (low alarm) of AND NOT address 100
11102039 Set constant ITEM of OUT address 102. (batch send
command)
01100012 When ITEM012 high alarm of LOAD address 100
400
11103039 Set constant ITEM of OUT address 103. (batch send
command)
002
171
Constant ITEM Setting block
021
Setting of P (proportional band) 1 value
022
Setting of I (integral time) 1 value
023
Setting of D (derivative time) 1 value
011
001054
Destination designation of ITEM021
012
001055
Destination designation of ITEM022
013
001056
Destination designation of ITEM023
101
039
Batch send switch
002
171
Constant ITEM Setting block
021
Setting of P (proportional band) 2 value
022
Setting of I (integral time) 2 value
023
Setting of D (derivative time) 2 value
011
001054
Destination designation of ITEM021
012
001055
Destination designation of ITEM022
013
001056
Destination designation of ITEM023
102
039
Batch send switch
002
171
Constant ITEM setting block
021
Setting of P (proportional band) 3 value
022
Setting of I (integral time) 3 value
023
Setting of D (derivative time) 3 value
011
001054
Destination designation of ITEM021
012
001055
Destination designation of ITEM022
013
001056
Destination designation of ITEM023
103
039
Batch send switch