502
Changing Numeral and Character String Display
Section 8-5
S Examples of allocated word data stored in a numeral memory table
How the contents at a word in the host are stored to a numeral memory table is
shown below.
Contents of
a word in the host
Words Storage Type
Contents of
numeral memory table
BCD 000004D2
1234 1 word
Binary 00001234
BCD FFFFFF85
F123 1 word
Binary FFFFF123
BCD (previous value is retained)
123B 1 word
Binary 0000123B
BCD FFFFFB2E
F0001234 2 words
Binary F0001234
BCD (previous value is retained)
FFFF 1 word
Binary FFFFFFFF
BCD (previous value is retained)
0000FFFF 2 words
Binary 0000FFFF
BCD (previous value is retained)
FFFFFFFF 2 words
Binary FFFFFFFF
S Examples of display of numeral memory table allocated to a host
How the contents of a numeral memory table allocated to the host are displayed
is shown below.
In this case, the numeric value to be displayed differs depending on the selection
for “Words” and “Storage Type” for the numeral memory table and the settings
for “Display Type” and “Display Sign” for a numeral display.
Contents of
word at host
Storage
Type
Words
Numeric value
stored in
numeral
memory table
Display Type Sign
Displayed
numeric value
1234H 000004D2H 1234
F123H
1
FFFFFF85H
Without
123
F0001234H 2 FFFFFB2EH
Without
1234
1234H 000004D2H
Decimal
1234
F123H BCD
1
FFFFFF85H
With
−123
F0001234H 2 FFFFFB2EH
With
−1234
1234H 000004D2H 4D2
F123H
1
FFFFFF85H
Hexadecimal
– FFFFFF85
F0001234H 2 FFFFFB2EH
Hexadecimal
FFFFFB2E
1234H 00001234H 4660
F123H
1
FFFFF123H
Without
3805
F0001234H 2 F0001234H
Without
268430796
1234H 00001234H
Decimal
4660
F123H
Binary
1
FFFFF123H
With
−3805
F0001234H
Binary
2 F0001234H
With
−268430796
1234H 00001234H 1234
F123H
1
FFFFF123H
Hexadecimal
– F123
F0001234H 2 F0001234H
Hexadecimal
F0001234