EasyManua.ls Logo

Omron NT31

Omron NT31
707 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...
507
Changing Numeral and Character String Display
Section 8-5
Changing the Contents of the Character String Memory Table Allocated Word
By allocating a character string table to a word in the host, changes made at the
word in the host can be easily reflected to the character string memory table.
With this method, however, the contents of a memory table allocated word can
only be read out when the character string memory table is being used for an ele-
ment that is currently displayed by the NT31/NT31C. The contents of an allocated
word which is not related to the display is not read out.
When a character code is written to a word at the host, the character code is stored
without change in the character string memory table. By specifying FF20 to FFFH,
it is possible to include marks in character strings.
Character codes stored in words at the host are stored in the following sequence in
character string memory tables.
4142
4344
FF01
4546
“ABCDYEF”
“A” = 41H, “B” = 42H First word
“C” = 43H, D” = 44H First word + 1
Y = FF01H First word + 2
“E” = 45H, F” = 46H First word + 3
When the code for mark data straddles two words:
4142
43FF
0144
4546
“ABCYDEF”
“A” = 41H, “B” = 42H First word
“C” = 43H First word + 1
Y = FF01H First word + 2
“D” = 44H, E” = 45H, First word + 3
“F” = 46H
Reference - If the control code 00H is written to a word, it is displayed as a space by the
NT31/NT31C. The character string is displayed only up to this code since it is
regarded as the end of the characters. When writing character codes to a word,
do not write 00H in a character string.
- When the NT31/NT31C reads out the words in a character string memory table,
it reads the number of words specified in the Words setting. Character strings
are not read out beyond this range.
[Setting]
When creating a screen using the Support Tool, set the allocated word for the char-
acter string memory table. The “Words” setting must be set carefully.
Reference: The range of character string memory table numbers which can actually be used
depends on the number of character string memory tables set in the PT Configu-
ration” “System” settings at the Support Tool.
[Operation]
(1) Change the contents of the word in the host to which the character string
memory table is allocated.
The contents of the word are reflected to the character string memory table
according to the setting of the character string memory table.
Note that the contents of a character string memory table allocated word can
be only be read out when the memory table is being used for an element that is

Table of Contents

Other manuals for Omron NT31

Related product manuals