![ICP DAS USA MDC-714i Скачать руководство пользователя страница 50](http://html1.mh-extra.com/html/icp-das-usa/mdc-714i/mdc-714i_user-manual_3743911050.webp)
Copyright © 2014 ICP DAS Co., Ltd. All Rights Reserved.
∗
E-mail: [email protected] - 50 -
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)
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.
# UseComPort SlaveModbusID FunctionCode RegStart
Addr
RegCount Timeout
EventProcess
Preset
Value
*
1
1
3
0
8
2
0
*
2
2
4
0
8
2
0
*
3
3
2
0
8
2
0
*
4
4
1
0
8
2
0
*
5
5
3
8
8
2
0
*
5
5
4
0
4