Omron NT31 Operation Manuals page 512

Programmable terminal
Hide thumbs Also See for NT31:
Table of Contents

Advertisement

Changing Numeral and Character String Display
Reference: In a numeral memory table, a numeric value is stored as signed binary data.
When allocating a numeral memory table to the host, the following properties can
be specified. Even with the same data, the method of storage in a numeral
memory table differs depending on these specifications.
S Storage type
- BCD:
The contents in the allocated word are regarded as BCD (binary coded deci-
mal) and they are converted into the signed binary data to be stored to the
table. If the data at the most significant bit is "F", the numeral is regarded as a
negative value. If contents of the word are illegal ("A" to "E" at the most signifi-
cant bit, or "A" to "F" at any bit other than the most significant bit), such a nu-
meral is not stored to the table. (The previous contents are retained in the nu-
meral memory table.)
- Binary:
The contents at the allocated word are stored to the numeral memory table as
they are.
S Words
- 1 word:
The data of one word in the host is read out.
If the Storage Type is "Binary", the contents are converted into 2-word (32 bits)
binary data to be stored to the numeral memory table. If the contents of the
word are "FFF0" (−16 in decimal), they are first converted to "FFFFFFF0" to be
stored to the numeral memory table.
- 2 words:
The data of 2 words in the host is read out. The words are ordered as follows:
the word with the smaller word number is the lower word (least significant dig-
its), and the word with the larger number is the higher word (most significant
digits).
Section 8-5
501

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nt31c

Table of Contents