Instruction Format; 03" Read Single Register Command; 06"Write A Register Command; Factory Default - Ebyte E830 Series User Manual

Ethernet switch quantity i/o controller, data acquisition module
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd.

7. Instruction format

7.1 "03" read single register command

Using the 03 command to read the register value. For example, the command to read the input port 40001 value of the
module is as follows:
01
ModBus address of device
After the above command is sent to the module through the serial port assistant, the module will return the following
values:
01
Modbus address of device

7.2 "06"Write a register command

Use the 06 command to write a register value, such as writing a 40002 port output register:
01
ModBus address of
device
After the above command is sent to the module through the serial port assistant, the module will return the following
values:
01
ModBus address of device

7.3 Factory default

Device address
01
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd.
03
Read command
Start to read register's address
03
Read the returning
Read command
06
Write command
06
Write command
Function option
00 01
00 00
02
DI value,see more details
bytes
00 01
Write registers' address
00 01
Write registers' address
Status control
DO output value
00 01
E830-DIO(ETH-2A) User Manual
00 01
Read register's length
00 00
in maintain registers
00 01
Write register's value
00 01
Write register's value
Version information
00 00
17 12
84 0A
CRC check code
B8 44
CRC check code
58 75
CRC check
58 75
CRC check
17

Advertisement

Table of Contents
loading

This manual is also suitable for:

E830-dio

Table of Contents