Chengdu Ebyte Electronic Technology Co.,Ltd.
E150-400T30S user manual
Copyright ©2012–2022
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
29
For example, 2: read the current integer voltage value (power supply voltage) of ADC3)
01
04
00 66
00 01
D1 D5
Device MODBUS
address
Function
code
Register head
address
Number of
registers read
CRC check
code
Note:
the 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 66 00 01 D1 D5
Remote wireless transmission: 01 04 00 66 00 01 D1 D5
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
02
11 B6
34 D6
Device MODBUS
address
Function
code
Number of
bytes of data
Returned data
CRC check
code
Phenomenon: return the value of power supply voltage 4.528V (11B6 H) (floating point value * 1000).
Serial port sending: 01 04 02 11 B6 34 D6
Remote wireless transmission: 01 04 02 11 B6 34 D6
8.4 analog output (AO)
E150-400T30S has two analog output pins (AO)
AO output voltage is controlled by floating-point number, with built-in voltage stabilization algorithm.
The maximum output voltage is the power supply voltage
When writing floating-point numbers, two MODBUS registers must be written continuously
Register function
MODBUS address
Dac1 output voltage floating point value
0x0000
Dac2 output voltage floating point value
0x0002
Command to write multiple holding registers using 10 function code
For example, set the output voltage value of dac1 to 1.2V
01
10
00 00
00 02
04
3F 99 99 9A
C5 AF
D
evice MODBUS
address
Function
code
Register
head
addres
s
Number of
registers
Number of
bytes written
Data written
CRC check code
Note: