Technical data

Configuring Messages
16.2 Project-Oriented Message Configuration
Programming with STEP 7
Manual, 05/2010, A5E02789666-01 353
16.2.4 Creating and Editing User-Defined Diagnostic Messages
Using this function you can write a user entry in the diagnostic buffer and send a corresponding
message that you create in the message configuration application. User-defined diagnostic
messages are created by means of the system function SFC52 (WR_USMSG; Error Class A or B)
that is used as a message block. You must insert the call for the SFC52 in your user program and
allocate it the event ID.
Requirements
Before you can create a user-defined diagnostic message, you must have done the following:
Created a project in the SIMATIC Manager
Created a S7/M7 program in the project to which you want to assign one or more messages.
Basic Procedure
To create and display a user-defined diagnostic message, proceed as follows: