Herunterladen Diese Seite drucken

B+G E-Tech EASTRON SMART X96-5 Bedienungsanleitung Seite 48

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

Smart X96-5 Serie
B+G e-tech and EASTRON
MODBUS communication Example
1. Read Input Registers
Example: Read "Phase 1 line to neutral volts"
Request: 01 04 00 00 00 02 71 CB
Where, 01 = Meter address
04 = Function code
00 = High byte of registers starting address
00 = Low byte of registers starting address
00 = High byte of registers number
02 = Low byte of registers number
71 = CRC Low
CB = CRC High
Response: 01 04 04 43 66 33 34 1B 38
Where, 01 = Meter address
04 = Function code
04= Byte count
43 = Data, (High Word, High Byte)
66 = Data, (High Word, Low Byte)
33 = Data, (Low Word, High Byte)
34 = Data, (Low Word, Low Byte)
1B = CRC Low
38 = CRC High
Note: 43 66 33 34(Hex) = 230.2 (Floating point)
2. Read Holding Registers
Example: Read "Slide time"
Request: 01 03 00 04 00 02 85 CA
Where, 01 = Meter address
03 = Function code
00 = High byte of registers starting address
04 = Low byte of registers starting address
00 = High byte of registers number
02 = Low byte of registers number
85 = CRC Low
CA = CRC High
Response: 01 03 04 40 A0 00 00 EF D1
Where, 01 = Meter address
03 = Function code
04= Byte Count
40 = Data, (High Word, High Byte)
A0 = Data, (High Word, Low Byte)
00 = Data, (Low Word, High Byte)
00 = Data, (Low Word, Low Byte)
EF = CRC Low
D1 = CRC High
Note: 40 A0 00 00 (Hex) = 5 (Floating point)
3. Write Holding Registers
Example: Write "System Type" = 4
Request: 01 10 00 0A 00 02 04 40 80 00 00 67 F8
Where, 01 = Meter address
10 = Function code
00 = High byte of registers starting address
0A = Low byte of registers starting address
00 = High byte of registers number
02 = Low byte of registers number
04 = Byte Count
40 = Data, (High Word, High Byte)
80 = Data, (High Word, Low Byte)
47

Werbung

loading

Verwandte Produkte für B+G E-Tech EASTRON SMART X96-5