Technical data
Configuring Messages
16.4 Tips for Editing Messages
Programming with STEP 7
362 Manual, 05/2010, A5E02789666-01
16.4 Tips for Editing Messages
16.4.1 Adding Associated Values to Messages
To add current information (such as from a process) to block-related and symbol-related
messages, you can insert associated values at any point in a message text.
To add values, proceed as follows:
1. Create a block with the following structure:
@<No. of associated value><Element type><Format code>@.
2. Insert this block at the locations in the message text where the associated value is to be
displayed.
Element Type
This parameter assigns a unique identification to the data type of the associated value:
Element Type Data Type
Y BYTE
W WORD
X DWORD
I Integer
D Integer
B BOOL
C CHAR
R REAL
The element type only uniquely specifies the data type transferred by the PLC. It is not used as a
casting operator.