Omron NT-series Programmable Terminal V022-E3-1 User Manual

Page 184

Advertising
background image

Reference

Reference



.      3  

Section 5-2



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

Start + 19

Code 1

Code 2

Code 3

Code 4

Code39

Code40

[Character-string memory table display example]

To display the characters in order, allocate the characters as follows.

“A” = 41H, “B” = 42H Start

4

7

4

8

4

1

4

2

4

3

4

4

4

5

4

6

“ABCDEFGH”

“G” = 47H, “H”= 48H Start + 3

“E” = 45H, “F” = 46H Start + 2

“C” = 43H, “D”= 44H Start + 1



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

A

0

4

4

4

1

4

2

4

3

E

B

9

F

E

B

“ABC

D”

“ ” = EBA0H

Start + 3

“ ” = EB9FH

Start + 2

“C” = 43H

Start + 1

“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.

6-2-2

Changing Displayed Numerals or Character Strings
(Changing the Contents of Allocated Words....Direct Specification)

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.

Allocated word (character-string memory table)

NT600S

PC

Numeral memory
table 1

Character-string
memory table 4

Start
Start+1

Start
Start+1
Start+2

Allocated word
(numeral table)

 







Advertising