EasyManua.ls Logo

Siemens S7-200 - Page 85

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.4 Configuring the Screens for the Text Display Device
Text Display (TD) User Manual
System Manual, 08/2008, A5E00765548-03
85
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-1.
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.
Table 4- 1 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.
Embedded String Variables
There are special considerations when you set up a string variable for the TD devices. String
variables are positioned the same as numeric variables, that is, the right-most character of
the variable is positioned at the right-most position of the embedded variable in the Text
Display wizard. This can cause problems when you want to place a text string adjacent to
other text in the message.

Table of Contents

Other manuals for Siemens S7-200

Related product manuals