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