EasyManua.ls Logo

Siemens S7-200 - Page 94

Siemens S7-200
168 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Using the Text Display Wizard to Configure the S7-200 CPU for Your Text Display (TD) Device
4.5 Configuring the Alarms
Text Display (TD) User Manual
94 System Manual, 08/2008, A5E00765548-03
Data values are always right-justified to the right-most character of an embedded variable.
As a data value grows in magnitude, it utilizes more spaces to the left of the anchor point
and can overwrite the text characters. Always provide sufficient space between the end of
your text and the anchor point to allow for the expected range of the data value.
Tip
The actual number of characters used to display a value varies with the size of the value. To
help calculate the number of characters required for displaying the value of the variable, see
the examples listed in Table 4-2.
The TD device displays all values as decimal numbers. Positive signed values are displayed
without a sign, and 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.
For more information about embedding string variables in an alarm, see page 53.
Table 4- 2 Calculating the Number of Characters Required to Display a Value
Size Type Resolution
(Digits to right
of decimal)
Maximum Number
of Characters
Example
String Not applicable Line length
1
Hello, world Byte
(VB)
Numeric
String
Not applicable Line length
1
800.333.7421
Unsigned 0
1 to 4
5
6
7
5
6
7
8
9
12345
1234.5, 1.2345
0.12345
0.012345
0.0012345
Word
(VW)
Signed 0
1 to 4
5
6
7
6
7
8
9
10
-12345
-1234.5, -1.2345
-0.12345
-0.012345
-0.0012345
Unsigned 0
1 to 7
10
11
1234567890
123456789.1, 123.4567891
Signed 0
1 to 7
11
12
-1234567890
-123456789.1, -123.4567891
Double-Word
(VD)
Real 0
1 to 7
Line length
1
Line length
1
-1234567
12345.6, 0.0123456
1
The length of a line (number of characters in a line) varies by TD model and character size. The line
length is always 20 for a TD 200 or TD 200C. The line length is either 12 or 16 characters for a
TD 100C. The line length for the TD400C depends on the font you selected. If you selected a small
font, you have 24 ASCII characters or 12 Chinese characters per line. If you selected a large font,
you have 16 ASCII characters or 8 Chinese characters per line.

Table of Contents

Other manuals for Siemens S7-200

Related product manuals