the WinCC Information System in "Working with WinCC > ANSI-C Function Descriptions >
Appendix > Structure Definitions > MSG_RTDATA_STRUCT Structure Definition".
Position Field name Type Comment
1 MsgNo Integer 4 bytes Message number
2 State Small integer 2
Byte
Message status
3 DateTime DateTime 8 bytes Time stamp of the message (date/time without
milliseconds)
4 Ms Small integer 2
Byte
Time stamp of the message (milliseconds)
5 Instance VarChar(255) Instance name of the message
6 Flags1 Integer 4 bytes (for internal use only)
7 PValueUsed Integer 4 bytes Process values used
8 to 17 PValue1 to
PValue10
Real 8 bytes Numerical process value 1 to 10
18 to 27 PText1 to
PText10
VarChar(255) Process value text 1 to 10
28 Computer name VarChar(255) Computer name
29 Application VarChar(255) Application name
30 Comment VarChar(255) Comment
31 Username VarChar(255) User name
32 Counter Integer 4 bytes Continuous message counter
33 TimeDiff Integer 4 bytes Time difference to the "came in" status
34 Classname VarChar(255) Name of the message class
35 Type name VarChar(255) Name of the message type
36 Class Small integer 2
Byte
ID of the message class
37 Type Small integer 2
Byte
ID of the message type
38 to 47 Text1 to Text10 VarChar(255) Message text 1 to 10
48 AG_NR Small integer 2
Byte
Number of the PLC
49 CPU_NR Small integer 2
Byte
Number of the CPU
50 CrComeFore Integer 4 bytes Foreground color for the "came in" status
51 CrComeBack Integer 4 bytes Background color for the "came in" status
52 CrGoFore Integer 4 bytes Foreground color for the "went out" status
53 CrGoBack Integer 4 bytes Background color for the "went out" status
54 CrAckFore Integer 4 bytes Foreground color for the "acknowledged" status
55 CrAckBack Integer 4 bytes Background color for the "acknowledged" status
56 LocaleID Integer 4 bytes Location of the alarm
57 Priority Integer 4 bytes Priority
58 AP_type Integer 4 bytes Loop in Alarm
OpenPCS 7 interface
6.7 OLE DB
OpenPCS 7
90 Function Manual, 05/2012, A5E02780178-02