Embedding Data Values In A Text Message - Siemens SIMATIC TD 200 User Manual

Operator interface
Hide thumbs Also See for SIMATIC TD 200:
Table of Contents

Advertisement

Embedding Data Values in a Text Message

You can place a data value within the message that displays on the TD 200. In order to
display a data value, you must reserve space in the message for the data value and for
format information. The format information tells the TD 200 how to display and edit the data
value. The format information requires the space of two characters in your message. Word
data values require the space of two characters in addition to the format information (four
characters total). Double word or real (floating point) values require the space of four
characters in addition to the format information (six characters total).
When you insert a data value into a message, you must be sure there are enough characters
to contain the format information and the embedded data value on the current line of the
display. For example, if you insert a word value, (two characters for the word value and two
characters for the format information), you must allow at least four spaces between the
starting position of the embedded data value and the end of the current message line.
The right-most character of an embedded data value serves as the anchor point for that
value in the TD 200 display. Data values are always right justified to that anchor point within
messages on the TD 200 display. As a data value grows in magnitude, it utilizes more
spaces to the left of the anchor point and can begin to use the spaces occupied by the
message text. Be sure to leave sufficient space between the end of your text and the anchor
point to allow for the expected range of the data value.
The number of display characters used to display a value varies with the size of the value.
This number of characters required to display a number is not the same as the number of
characters used to store the embedded data value in the message. The number of display
characters required depends on the range of values for that number in a specific application.
See Table D-1 for examples of the number of display characters required for different display
formats.
The TD 200 displays all values as decimal numbers. Positive signed values are displayed
without a sign. Negative signed values are displayed with a leading minus sign. Unsigned
values are displayed without a sign. A leading zero is used for all fractional numbers (for
example, 0.5). Real numbers are displayed with the number of decimal places you specify.
The value is rounded to the specified decimal place.
SIMATIC TD 200 Operator Interface
C79000-G7076-C205-04
Configuring the TD 200
2-9

Advertisement

Table of Contents
loading

Table of Contents