Structure Of The Event Buffer Db - Siemens SIMATIC C7-613 Manual

Table of Contents

Advertisement

Integration into the User Program
Structure and Description
Table 4-9

Structure of the Event Buffer DB

Address
Name
0
EVENT[1].NUMBER
1
EVENT[1].STATE
2
EVENT[1].PVARS[1]
6
EVENT[1].PVARS[2]
10
EVENT[1].PVARS[3]
14
EVENT[1].PVARS[4]
18
EVENT[1].TIMESTAMP.YEAR
19
EVENT[1].TIMESTAMP.MONTH
20
EVENT[1].TIMESTAMP.DAY
21
EVENT[1].TIMESTAMP.HOUR
22
EVENT[1].TIMESTAMP.MINUTE
23
EVENT[1].TIMESTAMP.SECOND
24 to 47
EVENT[2]...
48 to 71
EVENT[3]...
to
6120 to
EVENT[256]...
6143
4-32
Type
Description
BYTE
Message number
The first message is the most recent
message
CHAR
Status of message
"K"=coming
"G"=going
"Q"=acknowledged
DWORD
Value of Process Variable 1 at the time
of the status change
DWORD
Value of Process Variable 2 at the time
of the status change
DWORD
Value of Process Variable 3 at the time
of the status change
DWORD
Value of Process Variable 4 at the time
of the status change
BYTE
Time stamp, year (BCD encoded)
BYTE
Time stamp
Month (BCD encoded)
BYTE
Time stamp
Day (BCD encoded)
BYTE
Time stamp
Hour (BCD encoded)
BYTE
Time stamp
Minute (BCD encoded)
BYTE
Time stamp
Second (BCD encoded)
BYTE
Second message
BYTE
Second message
BYTE
256th message
C7-613 Control System
A5E00138934-03

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents