167
Memory Tables and Bar Graphs
Section 5-2
5-2-1
Displaying the Contents of Allocated Words of Memory Tables
The relationship between the contents of the allocated words of numeral and char-
acter string memory tables and the display is described below.
S
Contents of the numeral memory tables
Numerals are stored in the allocated words as shown below.
[Stored as a single word]
15
to 12
11
to
8
7
to
4
3
to
0
Bit
Digit 4
Digit 3
Digit 2
Digit 1
Example: 1234
15
to 12
11
to
8
7
to
4
3
to
0
Bit
1
2
3
4
[Stored as a double words]
Word
15
to 12
11
to
8
7
to
4 3
to
0
Bit
Start
Digit 4
Digit 3
Digit 2
Digit 1
Start+ 1
Digit 8
Digit 7
Digit 6
Digit 5
Example: 12345678
Word
15
to 12
11
to
8
7
to
4 3
to
0
Bit
Start
5
6
7
8
Start+ 1
1
2
3
4
S
Displaying the numeral memory table
Numerals can be displayed in three different ways according to the contents of
the numeral memory table, as mentioned below.
The most significant digit (digit 4 of a single word or digit 8 of a double word) is
processed in different ways.
Hexadecimal display:
All digits are handled as stored in the allocated
words.
Decimal display without signs: If the most significant digit is “F”, it is handled
as “0”, and the most significant digit other than
“F” and other digits are handled as stored in
the allocated words.
Decimal display with signs:
If the most significant digit is “F”, it is handled
as “–” (minus sign), and the most significant
digit other than “F” and other digits are handled
as stored in the allocated words.
Содержание NT20S
Страница 1: ...Cat No V020 E1 04 NT20S Programmable Terminal OPERATION MANUAL ...
Страница 2: ...i ...
Страница 3: ...ii ...
Страница 4: ...iii NT series Programmable Terminal Operation Manual Revised August 1997 ...
Страница 5: ...iv ...
Страница 7: ...vi ...
Страница 11: ...x ...
Страница 19: ...xviii ...
Страница 129: ...110 ...
Страница 169: ...150 ...
Страница 253: ...234 ...