Technical data
Configuring Messages
16.4 Tips for Editing Messages
Programming with STEP 7
364 Manual, 05/2010, A5E02789666-01
Examples of Associated Values
@1I%6d@: The value from associated value 1 is displayed as a decimal number having a
maximum of 6 places.
@2R%6f@: The value "5.4," for example, from associated value 2 is displayed as an integer "5.4"
(three leading blanks).
@2R%2f@: The value "5.4," for example, from associated value 2 is displayed as an integer "5.4"
(for a number of places that is too small, truncation does not occur).
@1W%t#Textbib1@: Associated value 1 of the data type WORD is the index with which the text to
be used is referenced in the text library TextLib1.
Note
When using S7-PDIAG, you must always indicate "C" for the element type CHAR and "R" for the
element type REAL. For all other element types valid for S7-PDIAG (BOOL, BYTE, WORD, INT,
DWORD and DINT), you must always specify "X".
If you wish to pass one of the ALARM_S blocks more than one associated value, you can send an
array with a maximum length of 12 bytes. This can be, for example, a maximum of 12 bytes or
characters, a maximum of 6 words or Int or a maximum of 3 double words, real or DInt.