Chengdu Ebyte Electronic Technology Co.,Ltd.
E150-400T30S user manual
Copyright ©2012–2022
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
28
Input pin
function
ADC1
Voltage acquisition input 1
ADC2
Voltage acquisition input 2
ADC3(internal connection)
Power supply voltage acquisition terminal (VCC supply voltage)
ADC4
Current acquisition input 1 (single-ended input)
ADC5
Current acquisition input 2 (single-ended input)
Register function
MODBUS address
Register function
MODBUS address
ADCInteger value
0x0064
ADC1floating point value
0x00C8
ADC2Integer value
0x0065
ADC2floating point value
0x00CA
ADC3Integer value
0x0066
ADC3floating point value
0x00CC
ADC4Integer value
0x0067
ADC4floating point value
0x00CE
ADC5Integer value
0x0068
ADC5floating point value
0x00D1
The user can select the data format through different MODBUS addresses
When reading floating-point numbers, two MODBUS registers must be read continuously
Use 04 function code to read one or more input register values
For example, 1: to read the current floating-point voltage value (power supply voltage) of adc3, two registers
must be read continuously
01
04
00 CC
00 02
B1 F4
Device MODBUS
address
Function
code
Register
first
address
Number of
registers read
CRC check
code
Note:
T
he CRC check code of the last two bytes of the sending instruction needs to be calculated by the user.Serial
port sending: 01 04 00 CC 00 02 B1 F4
Remote wireless transmission: 01 04 00 CC 00 02 B1 F4
After sending the above command to the device via serial port or wireless, the device will return the following
values to the serial port or wireless:
01
04
04
40 85 E5 5E
35 00
Device MODBUS
address
Function
code
Number of
bytes of data
Returned data
CRC check
code
Phenomenon: the value of the return power supply voltage is 4.18425V (floating-point type
4085 E55E
).
Serial port receive return value: 01 04 04 40 85 E5 5E 35 00
Remote wireless reception return value: 01 04 04 40 85 E5 5E 35 00