6.6
6.6
6.6
6.6 Application
Application
Application
Application example
example
example
example
This example realizes the PID control of set value and control the object with digital quantity on
the foundation of communication between PLC and MA-8AD. The operation process are as below:
(1) Hardware connection: connect the RS485 com port A, B of MA-8AD and the PLC
(2) Communication parameters setting: baud rate 19200bps, station number 1.
For MA-8AD: baud rate 19200bps, set DIP switch 1-OFF, 2-OFF;
Station number 1, set DIP switch 1-OFF, 2-OFF, 3-OFF, 4-OFF.
For the PLC: set the com port baud rate to be 19200bps, write into the PLC and restart.
(3) Input range configure: via configure tool Config:
4x174
Channel 6 Control period
Min 0.5s, max 200s
4x175
Channel 7 Control period
Min 0.5s, max 200s
4x176
Channel 0 Modified current value
Change current value
4x177
Channel 1 Modified current value
Change current value
4x178
Channel 2 Modified current value
Change current value
4x179
Channel 3 Modified current value
Change current value
4x180
Channel 4 Modified current value
Change current value
4x181
Channel 5 Modified current value
Change current value
4x182
Channel 6 Modified current value
Change current value
4x183
Channel 7 Modified current value
Change current value
4x184
Channel 0 Self-study output range
0%~100%
4x185
Channel 1 Self-study output range
0%~100%
4x186
Channel 2 Self-study output range
0%~100%
4x187
Channel 3 Self-study output range
0%~100%
4x188
Channel 4 Self-study output range
0%~100%
4x189
Channel 5 Self-study output range
0%~100%
4x190
Channel 6 Self-study output range
0%~100%
4x191
Channel 7 Self-study output range
0%~100%
4x192
Channel 0 Difference value setting
4x193
Channel 1 Difference value setting
4x194
Channel 2 Difference value setting
4x195
Channel 3 Difference value setting
4x196
Channel 4 Difference value setting
4x197
Channel 5 Difference value setting
4x198
Channel 6 Difference value setting
4x199
Channel 7 Difference value setting