XC series analog expansions User Manual Page 18 of 53
MANU003R2V1
Example 2:
Application of PID control in AD modules
The following, we take channel 0 of XC-E8AD as the example:
MOV
ID100
D10
MOV
ID108
D1000
M8000
MOV
K30
QD108
MOV
K10
QD109
MOV
K300
QD110
MOV
K100
QD111
MOV
K200
QD112
MOV
QD100
D4000
END
Y100
M8000
Write channel 0’s data into data register D10
Channel 0’s set value is register D4000
Set proportion coefficient Kp as 30
Set proportion coefficient Ki as 10
Set proportion coefficient Kd as 300
Set adjustment band Diff as 100
Set control dead area as 200
Write channel 0’s PID value into register D1000
PID start/stop signal
Содержание XC Series
Страница 1: ......
Страница 53: ...XC series analog expansions User Manual Page 53 of 53 MANU003R2V1...