Herunterladen Inhalt Inhalt Diese Seite drucken

Beispiele; Beispiel Anforderungs-Telegramm; Beispiel Antwort-Telegramm - Siemens SENTRON 7KM PAC2200CLP Gerätehandbuch

Vorschau ausblenden Andere Handbücher für SENTRON 7KM PAC2200CLP:
Inhaltsverzeichnis

Werbung

Beispiele

Hier werden einige Modbus-Telegramm-Beispiele bereitgestellt, um das Auslesen der
verschiedenen Data Logs des Geräts mit dem Funktionscode 0x64 aufzuzeigen.

Beispiel Anforderungs-Telegramm

7 bytes
MBAP Header
0x0000 0x0000 0x0009 0x01

Beispiel Antwort-Telegramm

Bytes in hex
00 00 00 00 00 64 01
64
61
04
6D
00 00 2C E2
02
2D
5E 84 CF 98
00 00 0E 10
00 00 2C E2
41 90 D1 A4
00 00 00 00
41 41 B4 EB 44 67 2E 00
00 00 00 00 00 00 00 00
00 00 07 7E
00 01 00 40
2D
5E 84 D3 1C
00 00 0E 10
00 00 2C E3
41 90 D1 A5
00 00 00 00
41 41 B4 F4 51 81 7A 00
00 00 00 00 00 00 00 00
00 00 07 7E
00 01 00 40
PAC2200CLP
Gerätehandbuch, 10/2020, L1V30820585A-01
1 byte
Funktionscode
Data log identifier
0x64
(Tagesprofilspei-
cher)
0x64
0x04
Description
MBAP Header
Modbus user defined function code
payload length in bytes (starting with the following byte to the end, excluding CRC)
Data log identifier -> day profile memory
Data identifier -> channels 1 + 2 (active energy) and Readings of energy counters T1+T2
Set the read pointer to OID 0x00002CE2 to the of the day profile memory
Number of records inserted in this telegram (may be smaller than requested)
Length of first record in bytes (including this byte)
0x2D data bytes of 1st record with OID 0x00002CE2
timestamp act.period
Timezone offset in s
OID act. Period (unique period entry identification index)
Active energy Import act. Period in Wh
Active energy Export act. Period in Wh
Active energy counter reading Import T1+T2 act. Period in Wh
Active energy counter reading Export T1+T2 act. Period in Wh
Real load profile period length act. Period in ms
Information flag bytes act. period
Length of 2nd record in a row starting with OID 0x2CE3 in bytes (including this byte)
0x2D data bytes of record 0x02 with OID 0x2CE3
timestamp act.period
Timezone offset in s
OID act. Period (unique period entry identification index)
Active energy Import act. Period in Wh
Active energy Export act. Period in Wh
Active energy counter reading Import T1+T2 act. Period in Wh
Active energy counter reading Export T1+T2 act. Period in Wh
Real load profile period length act. Period in milliseconds
Information flag bytes act. period
1 byte
1 byte
Data identifier (all
channels energy)
0x6D
Anhang
A.1 Modbus TCP
5 bytes
Advanced data identi-
fiers (4 byte OID and 1
byte number of rec-
ords.)
0x00002CE2 0x02
unix time UTC
4 byte
signed long
4 byte
unsigned long
4 byte
float
4 byte
float
4 byte
double
8 byte
double
8 byte
unsigned long
4 byte
Bitfield
4 byte
unix time UTC
4 byte
signed long
4 byte
unsigned long
4 byte
float
4 byte
float
4 byte
double
8 byte
double
8 byte
unsigned long
4 byte
Bitfield
4 byte
121

Quicklinks ausblenden:

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis