7-2
Section
Numeral Memory Table
280
Similarly, when 2 words are set, the value –1234567 is treated as
F1234567 in hexadecimal in a numeral memory table entry.
PT models NT21, NT31, NT31C, NT631, and NT631C
Regardless of the number of allocated words, 2 words are always secured for a
numeral memory table entry and a numeric value is stored as signed binary
data. If the setting for [Storage Type] is decimal, F appearing at the most signifi-
cant digit position is treated as a negative sign. In this case, therefore, the num-
ber of significant digits of a negative value is one digit less than the number of
significant digits of a positive value, as with conventional PT models.
Example: If the settings are BCD and 1 word, the value –123 is treated as F123
in a PC (PLC) word and FFFFFF85 in a numeral memory table entry.
However, the value F123 in a PC (PLC) word is 0000F123 (61731 in
decimal) in a numeral memory table entry if the [Storage Type] is
hexadecimal.
Similarly, if the settings are BCD and 2 words, the value –1234567 is
treated as F1234567 in a PC (PLC) word and FFED2979 in a numer-
al memory table entry. However, the value F1234567 in a PC (PLC)
word is F1234567 (–249346713 in decimal) in a numeral memory
table entry if the [Storage Type] is hexadecimal.
Example
In PC (PLC)
Word
Write To
No. of Words
Storage Type
In Numeral Memory Table
F123
↔
1 word
BCD
FFFFFF85
(in decimal: –123)
↔
1 word
Binary
FFFFF123
(in decimal: –3805)
F1234567
↔
2 words
BCD
FFED2979
(in decimal: –1234567)
↔
2 words
Binary
F1234567
(in decimal: –249346713)
4567
→
1 word
BCD
000011D7
(in decimal: –4567)
→
1 word
Binary
00004567
(in decimal: –17767)
F567
←
1 word
BCD
FFED2979
(in decimal: –1234567)
2979
←
1 word
Binary
FFED2979
(in decimal: –1234567)
Note
If only one word is allocated although two words are necessary to express a nu-
meric value, only the lower 4 digits of a numeric value are read or written. A suffi-
cient number of words must be allocated for reading/writing a numeric value.
PLC Address
Specify the PC (PLC) address (start address) of the area where numeral memory
table entries are allocated.
I/O Comment
Specify a comment for a PC (PLC) word.
A comment can comprise up to 16 characters.
Содержание NT - SUPPORT TOOL FOR WINDOWS V4
Страница 1: ...Support Tool for Windows Ver 4 Cat No V061 E1 05 NT series OPERATION MANUAL...
Страница 2: ...NT series Support Tool for Windows Ver 4 j Operation Manual Revised May 2007...
Страница 3: ...iv...
Страница 5: ...vi...
Страница 353: ...8 2 Section Library Editor 341 Double clicking the control menu box of the library editor Control menu box...