1. Default 4800bps, 8 , N , 1 ,
2. Protocol for
MODBUS - RTU , effective register follows
<MODBUS-RTU 프로토콜>
1. function code 0x03 : read multiple
registers
-
Example: To read the address of the host 01 ,
the start address 0048H of two slaves register data
-
The host sends : 01 03 00 48 00 02
CRC
-
Slave response : 01 03 04 12 45 56
68 CRC
-
example : receive data(0048 to 004C) - Device
Adderss : 01
-
Sending data for : 01 03 00 48 00 05 05
DF
-
The data returned is : 01 03 0A 02 6C 11
D7 01 1B 01 02 03 04 DB 6F
-
Disaggregated data, the results were as
follows :
Voltage = 0x026C / 100 = 620/100 =
6.2V
Current = 0x11D7
/ 1000 = 4567/1000 = 4.567A
Power = 0x011B / 10 = 283/10 =
28.3W
Power =
0x01020304 / 100 = 16909060/100 =
169090.6Wh
2. function code 0x10 : Write Multiple
Registers
-
Example : Write data (Start Address :
0000)
-
The host sends : 01 10 00 00 02 04 00
00 0C 00 00 F3 FA
-
Slave response : 01 10 00 00 02 81 0C
CB
<어드레스
확인방법>
<파워 서플라이>
<솔라 패널>
<배터리>
<입력전압 DC, AC>
<케이스>