Technical data

Configuring Messages
16.2 Project-Oriented Message Configuration
Programming with STEP 7
Manual, 05/2010, A5E02789666-01 347
16.2 Project-Oriented Message Configuration
16.2.1 How to Assign Project-Oriented Message Numbers
Messages are identified by a number which is unique throughout a project. To achieve this, the
individual STEP 7 programs are each allocated a number range within the total available range (1
to 2097151). If you copy a program and a conflict results - that is, if the same message numbers
have already been assigned in the target range - the new program must be allocated a new
number range. If such a situation arises, STEP 7 automatically opens the dialog box in which you
can specify the new number range.
If no messages have been configured, you can also set or change the number range for an S7
program using the menu command Edit > Special Object Properties > Message Numbers.
By default, the message number range is assigned in steps of 20,000.
16.2.2 Assigning and Editing Block-Related Messages
Block-related messages are assigned to a block (instance DB). To create a block-related message,
you can use system function blocks (SFBs) and system functions (SFCs) as message blocks.