Q3: How are the local registers mapped to the polled data in a MDC‐700?
A3: Only the function code 01/02/03/04 can be used in the polling definition section in config.csv file.
01: Read Coil Status (Read DO)
02: Read Input Status (Read DI)
03: Read Holding Registers (Read AO)
04: Read Input Registers (Read AI)
Refer to the example below,
UseComPort SlaveModbusID FunctionCode RegStartAddr RegCount
1
1
2
2
2
2
The MDC‐700 will sort the order of polling data by COM port number and the sequence of
polling definition; and then map the local registers corresponding to the data type
(DI/DO/AI/AO) by the order of polling data. So the data comes from different slave devices with
the same type will be saved in continuous registers, and a Modbus mater device and read the
data on a variety of slave devices with one Modbus command.
Copyright © 2014 ICP DAS Co., Ltd. All Rights Reserved. ∗ E‐mail: service@icpdas.com ‐ 30 ‐
1
1
1
2
3
4
COM1
Read DO: 00000:00007
Read DI: 10000:10007
COM2
Read DO: 00000:00003
Read DI: 10000:10003
Read AO: 40000:40003
Read AI: 30000:30003
1
0
2
0
1
0
2
0
3
0
4
0
8
8
4
4
4
4
Read DO
00000:00007
00008:00011
Read DI
10000:10007
10008:10011
Read AO
40000:40003
Read AI
30000:30003