ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
2
3
Slaveadres0x7F
4
Register grootte 2 bytes
5
Values hi,lo order
6
7
Read Input registers
Functioncode 0x04
8
9
commandadres-hexTypeNameReg.SizeUnit
Data Type
10
7F 04 40 00 00 04 EE 17
0x4000Read OnlySerial Number4-
unsigned [16 bits]
11
7F 04 40 04 00 02 2F D4
0x4004Read OnlyFirmware Version2-
unsigned [16 bits]
12
7F 04 40 06 00 02 8E 14
0x4006Read OnlyUser Settable Max Current2[dA]
unsigned [16 bits]
13
7F 04 40 08 00 02 EF D7
0x4008Read OnlyError code2-
unsigned [16 bits]
14
7F 04 40 0A 00 02 4E 17
0x400ARead OnlySocket Lock State2-
unsigned [16 bits]
15
7F 04 40 0C 00 02 AE 16
0x400CRead OnlyCharging state2-
unsigned [16 bits]
16
7F 04 40 0E 00 02 0F D6
0x400ERead OnlyCharging Current Limit2[dA]
unsigned [16 bits]
17
7F 04 40 10 00 02 6F D0
0x4010Read OnlyCharging Current L12[dA]
unsigned [16 bits]
18
7F 04 40 12 00 02 CE 10
0x4012Read OnlyCharging Current L22[dA]
unsigned [16 bits]
19
7F 04 40 14 00 02 2E 11
0x4014Read OnlyCharging Current L22[dA]
unsigned [16 bits]
20
7F 04 40 16 00 02 8F D1
0x4016Read OnlyVoltage L12[dV]
unsigned [16 bits]
21
7F 04 40 18 00 02 EE 12
0x4018Read OnlyVoltage L22[dV]
unsigned [16 bits]
22
7F 04 40 1A 00 02 4F D2
0x401ARead OnlyVoltage L32[dV]
unsigned [16 bits]
23
7F 04 40 1C 00 02 AF D3
0x401CRead OnlyActive Power2[W]
unsigned [16 bits]
24
7F 04 40 1E 00 02 0E 13
0x401ERead OnlyTotal energy delivered2[Wh]
unsigned [16 bits]
25
7F 04 40 20 00 02 6F DF
0x4020Read OnlyEnergy delivered session2[Wh]
unsigned [16 bits]
26
7F 04 40 22 00 02 CE 1F
0x4022Read OnlyCommunication Timeout2[sec]
unsigned [16 bits]
27
7F 04 40 24 00 02 2E 1E
0x4024Read OnlyModbus Address2-
unsigned [16 bits]
28
7F 04 40 26 00 02 8F DE
0x4026Read OnlyModbus Mode2-
unsigned [16 bits]
29
Example - ReadCommand SerialNumber (4 int's from adres 0x4000)
unsigned [16 bits]
30
[0x10][0x04][0x40][0x00][0x00][0x04][0xE7][0x48]
31
[0x10][0x04][0x08][0x30][0x30][0x30][0x31][0x32][0x33][0x34][0x35][0x17][0x72]
32
33
Serienummer is 00012345
34
35
36
Write registers
Functioncode 0x06
37
38
7F 06 41 00 00 0A 17 EF
0x4100Write Only
Set Charging Current Limit (Modbus current limit 10A)
1[dA]
unsigned [16 bits]
39
7F 06 41 00 00 20 96 30
0x4100Write Only
Set Charging Current Limit (Modbus current limit 32A)
1[dA]
unsigned [16 bits]
40
7F 06 41 02 00 01 F7 E8
0x4102Write OnlyLock(/Unlock) Socket Cable1-
unsigned [16 bits]
41
7F 06 41 02 00 00 36 28
0x4102Write Only(Lock/)Unlock Socket Cable1-
unsigned [16 bits]
42
7F 06 41 04 00 01 17 E9
0x4104Write OnlyStart(/Stop) Charging Session1-
unsigned [16 bits]
43
7F 06 41 04 00 00 D6 29
0x4104Write Only(Start/)Stop Charging Session1-
unsigned [16 bits]
44
7F 06 41 06 00 00 77 E9
0x4106Write OnlySet Communication Timeout1[sec]
unsigned [16 bits]
45
7F 06 41 08 00 7F 16 2A
0x4108Write OnlyChange modbus address1[sec]
unsigned [16 bits]
46
7F 06 41 0A 00 01 76 2A
0x410AWrite OnlyEnable(/disable) Modbus1-
unsigned [16 bits]
47
7F 06 41 0A 00 00 B7 EA
0x410AWrite Only(Enable/)disable Modbus1-
unsigned [16 bits]
48
Example - WriteCommand Set Curent Limit to 15.5 Amps
49
[0x10][0x06][0x41][0x00][0x00][0x9B][0xDF][0x1C]
50
[0x10][0x06][0x41][0x00][0x00][0x9B][0xDF][0x1C]
51
52
53
Example - WriteCommand Start Charging
54
[0x10][0x06][0x41][0x04][0x00][0x01][0x1E][0xB6]
55
[0x10][0x06][0x41][0x04][0x00][0x01][0x1E][0xB6]
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100