Change Modbus Address; Read Analog Ai Input - Ebyte K62-DL20 User Manual

0/4 20ma analog transmission module
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.
Register address table (function code: 0x03H, 0x06H)
register address
40078 (0x004D)
40017 (0x0010)
40018 (0x0011)
40019 (0x0012)
40020 (0x0013)
40033 (0x0020)
40034 (0x0021)
40035 (0x0022)
40036 (0x0023)

6.1.2 Change ModBus address

(1) Function code: 03, read holding register; 06, write holding register
(2) Address range: 40001 (0x0000)
(3) Description: Function code 06, set the ModBus address of the device to 0x10, that is, 0001 0000
(4) Note: CRC is calculated by ModBus CRC16 calculation method, not fixed.
01
send
Device
address
01
take over
Device
address
Description: Function code 03, the ModBus address of the query device is 0x10, that is, 0001 0000.
10
send
Device
address
10
take over
Device
address

6.1.3 Read analog AI input

Function code: 03, read holding register
Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
Number
register
of
properties
registers
1
ModBus address
1
AI1 analog input
1
AI2 analog input
1
AI3 analog input
1
AI4 analog input
1
AO1 analog input
1
AO2 analog input
1
AO3 analog input
1
AO4 analog input
06
ModBus
function
code
06
ModBus
function
code
03
ModBus
function
code
03
ModBus
function
code
register type
register range
read/write
0x01~0xFF (default: 1)
read only
read only
0x0000~0x4E20(0~20mA)
read only
read only
read only
0x0000~0x4E20(0~20mA)
read only
Read only (does not support
read only
control with ModBus)
read only
00 4D
00 10
address
write value
00 4D
00 10
address
write value
00 4D
00 01
address
write value
02
00 10
returns the number of
write value
bytes
K62-DL20 User Manual
Support function
code
0x03, 0x06
0x03
0x03
18 11
CRC check code
18 11
CRC check code
D4 11
CRC check code
45 8B
CRC check code
41

Advertisement

Table of Contents
loading

Table of Contents