
35
5
Low byte:
Bit 0
MOD_CTRL:
Modbus control status (Not support)
0=SVR
1=Modbus
(VOUT_SET, IOUT_SET, OPERATION)
Bit 1:2 OPERATION_INIT:
Pre-set value of power on operation command
0b00=
Power OFF, pre-set 0x00(OFF)
0b01=
Power ON, pre-set 0x01(ON)
0b10=
Pre-set is previous set value
0b11=
Reserved, currently not in use
Bit 3:7 Reserved:
Currently not in use, retain (default is 0)
High byte:
Bit 0:7 Reserved:
Currently not in use, retain (default is 0)
Note:
Not support settings display with “0”
◎
UPS_CONFIG 0x00D2
(
):
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
Low byte
Time_
UPS_
OFF_EN
Life_
Test_EN
f_EN
Buf
High byte
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Low byte:
Bit 0 Life_Test_EN:
Battery self-test function
0=
OFF
1
(default)
=
ON
Bit 1 UPS_OFF_EN:
Force start state via button to shut down
0
(default)
=
OFF
1=
ON
Bit 2 Time_Buff_EN:
Time_Buffering setting function
0
(default)
=
OFF
1=
ON
Bit 3:7 Reserved:
Currently not in use, retain (default is 0)
High byte:
Bit 0:7 Reserved:
Currently not in use, retain (default is 0)
Note:
Not support settings display with “0”
36
5
5.4.2
Communication examples
The following provides examples of request and response for each
function code of the Modbus RTU.
5.4.2.1 Read Holding Register FC=03
(
)
The request message specifies the starting register and quantity
of registers to be read.
Request:
0x83
0x03
0x00 80
0x00 06
0xDA 02
0x83 Slave ID 3
:
0x03 Function code 3
:
(Read analog output holding R registers)
0x00 80:
The data address of the first register requested
0x00 06:
The total number of registers requested(Read 6 registers
0x0080~ 0x0085)
0xDA 02:
CRC-16 error check. Please be aware that CRC sending the
low byte first.
For example: the master requests the content of analog output
holding registers 0x0080~0x0085 (MFR_ID_B0B5,
MFR_ID_B6B11) from slave 3.
Response:
0x4D 45 41 4E 57 45
0x83 Slave ID 3
:
0x03 Function code 3
:
(Read analog output holding R registers)
0x0C:
The number of data bytes to follow(12 bytes)
0x4D 45 41 4E 57 45 4C 4C 20 20 20 20:
means that the manufacture
name of the slave is MEAN
WELL
0x4A 8C:
CRC-16 error check. Please be aware that CRC sending the
Low byte first.
0x83
0x03
0x0C
0x4A 8C
5.4.2.2 Read Input Register FC=04
(
)
4C 4C 20 20 20 20
The request message specifies the starting register and quantity of
registers to be read.
For example: The master requests the content of analog input
register 0x0060(READ_VOUT) from slave 3.