[Character-string memory table display example]

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

Code 1 Code 2 Code 3 Code 4

Start + 19

Code39 Code40

[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

4 1 4 2

4 3 4 4

4 5 4 6

4 7 4 8

“ABCDEFGH”

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

4 1 4 2

4 3 E B

9 F E B

A 0 4 4

“ABC [Example of character code bestriding words] D”

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

Reference 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

PC

 

 

Allocated word

￿￿￿￿￿￿￿￿

Numeral￿￿￿￿￿￿￿￿memory

(numeral table)

 

table 1

Start

 

Start+1

 

 

 

 

Allocated word (character-string memory table)

 

Character-string

Start

 

memory table 4

Start+1

 

Start+2

 

 

￿￿￿

Page 184
Image 184
Omron V022-E3-1 operation manual Character-stringmemory table display example, Example of character code bestriding words