ICP DAS USA M-7065 User Manual page 14

Data acquisiton and control modules
Table of Contents

Advertisement

Ex: To read the current DI value of channels 0 to 5, the following
command should be sent:
01 02 00 00 00 05 B8 09
Ex: To write the DO value 0x0F from channels 0 to 4, the following
command should be sent:
01 0F 00 00 00 04 01 FF 7E D6
Ex: To only set the DO value of channel 2 to 1, the following
command should be sent:
01 05 00 02 FF 00 2D FA
The Configuration command structure of the Modbus ASCII is
as follows:
Command Format:
Leading
Module
Character
Address
Response Format:
Leading
Module
Character
Address
Using Modbus ASCII Protocol, all command are coded in
hexadecimal values, represented with readable ASCII characters.
Only the characters 0...9 and A...F are used for coding.
M-7065 User's Manual Ver2.0, Dec. /200 8 ---14
Command
[LRC]
Data
[LRC]
CR LF
CR LF

Advertisement

Table of Contents
loading

Table of Contents