Changing Displayed Numerals Or Character Strings (Changing The Contents Of Allocated Words - Omron NT-series Operation Manual

Programmable terminal
Hide thumbs Also See for NT-series:
Table of Contents

Advertisement

.      3  
Reference
6-2-2
Changing Displayed Numerals or Character Strings
(Changing the Contents of Allocated Words....Direct Specification)
Reference

Contents of the character-string memory table
A character-string is stored in the allocated words beginning with the first word in
half-size or normal-size characters.
Two half-size characters or two normal-size character is stored in one word. One
memory table can store up to 16 words (32 characters).
Start
Start + 1
Code 1
Code 2
Code 3
Code 4
[Character-string memory table display example]
To display the characters in order, allocate the characters as follows.
"A" = 41H, "B" = 42H Start
"C" = 43H, "D"= 44H Start + 1
"E" = 45H, "F" = 46H Start + 2
"G" = 47H, "H"= 48H Start + 3

Character allocation bestriding two words.
Provided the order is correct, it is possible to assign two digits each of a four-digit
character code to successive words.
[Example of character code bestriding words]
"A" = 41H, "B" = 42H Start
"C" = 43H
Start + 1
" " = EB9FH
Start + 2
" " = EBA0H
Start + 3
"D" = 44H
Characters with 8-bit codes (00 to 1FH) are displayed on the screen as a one-byte
space (20H). 00H is converted to 20H.
The following describes the procedure to change displayed numerals or character
-strings by changing the contents of the allocated words.
Numerals and character-strings can be changed also by making a copy of the
memory tables. Refer to "Copying the memory table" explained later.
To change the numerals or character-strings displayed on the NT600S, make
changes with the numeral or character-string memory table. To make changes
with the numeral or character-string memory table of the NT600S, change the con-
tents of words by the PC.
NT600S
 

4
1
4
2
4
3
4
4
"ABCDEFGH"
4
5
4
6
4
7
4
8
4
1
4
2
4
3
E
B
"ABC
9
F
E
B
A
0
4
4
PC
Numeral memory
Start
table 1
Start+1

Allocated word (character-string memory table)
Start
Character-string
Start+1
memory table 4
Start+2

Section 5-2
Start + 19
Code39
Code40
D"
Allocated word
(numeral table)

Advertisement

Table of Contents
loading

Table of Contents