Ebyte E851-RTU Series User Manual page 21

Hide thumbs Also See for E851-RTU Series:
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd.
00 01
take over
Transmissi
on ID
4.2.3 Read analog AI input
Function code: 03, read holding register; 04, read input register
Address range: 30017(0x0010)~30020(0x0013)
Note: The unit of differential analog input value is uA
example:
Function code 0x03, read AI1 input, assuming AI1 input is 9946uA, the corresponding value should be 0x0x26DA
Modbus RTU protocol to read differential analog inputs:
01
send
Device ModBus
address
01
take over
Device ModBus
address
Modbus TCP protocol to read differential analog input:
00 01
send
Transmissi
on ID
00 01
take over
Transmissi
on ID
Function code 0x04, read AI1 input, assuming AI1 input is 9946uA, the corresponding value should be 0x0x26DA
Modbus RTU protocol to read differential analog inputs:
01
send
Device ModBus
address
01
take over
Device ModBus
address
Modbus TCP protocol to read differential analog input:
00 01
send
Transmissi
on ID
Copyright © 2012, Chengdu Ebyte Electronic Technology Co., Ltd.
00 00
00 04
Protocol
length
ID
03
function code
Analog starting address
03
returns the number of
function code
00 00
00 06
Protocol
length
ID
00 00
00 05
Protocol
length
ID
04
function code
Analog starting address
04
returns the number of
function code
00 00
00 06
Protocol
length
ID
01
02
function
returns the number of
Unit ID
code
00 10
02
Differential analog input
bytes
01
03
function
Unit ID
Analog starting address
code
01
03
function
returns the number of
Unit ID
code
00 10
02
Differential analog input
bytes
01
04
function
Unit ID
Analog starting address
code
E851-RTU(4440-ETH) User Manual
01
Switch value input
bytes
00 01
Number of reads
CRC check code
26DA
CRC check code
value
00 10
Number of reads
02
Differential analog
bytes
00 01
Number of reads
CRC check code
26DA
CRC check code
value
00 10
Number of reads
05
value
85 CF
23 BF
00 01
26DA
input value
30 0F
22 CB
00 01
21

Advertisement

Table of Contents
loading

Table of Contents