What options are there for the output of a message sequence report?
With the message sequence report you can output all the messages on a printer in chronological order. This entry compares various options for generating a message sequence report.
In WinCC a message sequence is created by default with the WinCC Report Designer. For this there is the system print job "@Report Alarm Logging RT Message sequence". You can choose between outputting the messages line by line or page by page. Detailed information on this topic is available in the WinCC Online Help under:
- "WinCC Information System > Working with WinCC > Documentation > of Configuration and Runtime Data > Runtime Documentation > Reporting Messages in Runtime > Outputting Runtime Data with the Message Sequence Report".
- "WinCC Information System > Working with WinCC > Documentation > of Configuration and Runtime Data > Runtime Documentation > Reporting Messages in Runtime > Creating a User-Defined Message Sequence Report".
You can also configure the message sequence report on WinCC clients. In order to output the messages of multiple servers in the message sequence report you load the server data of the servers concerned and select them in the print job for the message sequence report.
|1||Report Designer: Message sequence report in the line layout|
The line layout is used to output a message on a printer at the time of its occurrence.
The message sequence report in line layout has the following characteristics:
|2||Report Designer: Message sequence report in the page layout|
If you configure the message sequence report in page layout, by default the messages occurring during Runtime are only output on the printer when the configured number of messages per page is reached. Entry ID 24182772 shows how to use the C function "MSRTPrintMProt()" to print a page of a message sequence report in the page layout before the configured number of messages per page is reached.
The message sequence report in page layout has the following characteristics:
|3||Global Script C: Output of the messages in ASCII format|
You have the option of triggering an action as well when a message occurs.
If the option "triggers an action" is check marked in the "Parameters" tab of the parameterization dialog for a message, then when a message occurs the C function "GMSGFunction()" is executed by default. This function is located in the installation path of WinCC under "SIEMENS\WinCC\aplib\Alarm". By default this function provides relevant message information (message number, status, time stamp, information on user text blocks and process-associated values) in the "Global Script Diagnostics" window or "APDIAG" output window. You can change this function to format the messages that occur to suit your requirements and output them to a text file.
Entry ID 22578952 provides more options for accessing archived messages.