![Jinko JK9306 Скачать руководство пользователя страница 24](http://html.mh-extra.com/html/jinko/jk9306/jk9306_operation-manual_2018509024.webp)
21
Chapter 8 JINKO Power Meter Module
Communication Instructions V1.0
I. Communication byte format:
115200 (default) 8-bit data, 1 stop bit, no parity
II. Communication frame format:
PC sends:
55 (h) -Addr-Command-CS
Explanation:
1. The upper computer sends a total of 4 bytes, all of the above data is hexadecimal, single-byte
data.
2, 55 is a fixed header, Addr is the address of the meter, Command is the command, CS is the
checksum of the first three bytes
Modulus of 256, ie CS = (55 + Addr + Command) & 0x0ff. For example: the host sends: 55, 01, 10,
66, of which
55 is a fixed head, 01 is the instrument address, 10 is the command, 66 is CS = (55 + 01 + 10) &
0x0ff = (66) &
0x0ff = 0x66.
3. Addr is the instrument address. It can be set in the instrument at will. In this example, the
instrument address is set to 1. Therefore, the number sent
Data are: 55,01,10,66 (the data are all in hexadecimal)
Instrument return:
aa-Addr-10-V0-V1-V2-V3-I0-I1-I2-I3-P0-P1-P2-P3--Pf0-Pf1-Pf2-Pf3- Hz0-Hz1- Hz2-Hz3-CS
Explanation:
1. The above data are all in hexadecimal.
2. Voltage, current, power, frequency and power factor are all floating point numbers, which are
converted into four single-byte data (low
Byte first, high byte after), when the host receives the data, it will be converted to a floating point
number.
3. aah is a fixed head, Addr is a meter address, and 10h is a fixed command.
V0-V1-V2-V3 are voltage (floating point) converted into four-byte data, V0 is the low byte, and V3
is the high byte.
Similarly, I0 ~ I3 are currents,
P0 ~ P3 are power,
Hz0 ~ Hz is the frequency,
Pf0 ~ Pf3 are power factors.
CS is the 256 modulus of the sum of the fixed heads aa ~ Pf3: CS = (aa + Addr + 30 + V0 + .. + Hz0
+ Hz1 + Hz2 + Hz3) & 0x0ff
4. Examples of voltage, current, power, frequency, and power factor data conversion:
Example voltage = 123.56V, sending format is V0-V1-V2-V3 = b8-1e-f7-42
Example current = 13.34A, sending format is I0-I1-I2-I3 = A4-70-55-41
Example frequency = 50.15hz, sending format is Hz0-Hz1-Hz2-Hz3 = 9a-99-48-42