Q4: How to write data to output channels on a Modbus RTU slave device?
A4:
Step 1: Edit the polling definition for the output channels with read function code in the
config.csv file. (For example, use 01 to read DO channels, 03 to read AO channels)
# UseComPort SlaveModbusID FunctionCode RegStart
*
1
*
2
*
3
*
4
*
5
*
Step 2: Import the config.csv file into the MDC‐700, wait the MDC‐700 reboot in 5 seconds, and
then check the addresses for the local registers mapped to the output channels.
Step 3: Write data with corresponding function code (05/06/15/16) on your Modbus master device
to the local registers mapped for the output channels, the MDC‐700 will process writing
operations to the slave devices.
Copyright © 2014 ICP DAS Co., Ltd. All Rights Reserved. ∗ E‐mail: service@icpdas.com ‐ 34 ‐
Addr
1
3
2
4
3
2
4
1
5
3
Timeout
RegCount
EventProcess
0
8
0
8
0
8
0
8
8
8
Preset
Value
2
0
2
0
2
0
2
0
2
0