6-2-4 Copying the Memory Table

.￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿3￿￿￿￿￿

Section 5-2

Program operation

When the program is executed by displaying the screen on the PT, the following operation is performed.

(1)Each time contact 00100 comes ON, the display on the NT600S changes to the next item in the following sequence.

NT20S NT600S NT610G NT610C

(2)Each time contact 00101 comes ON, the display on the PT changes to the next item in the following sequence.

NT610C NT610G NT600S NT20S

6-2-4 Copying the Memory Table

The following describes the procedure to change displayed numerals or character -strings by copying the contents of the memory table.

Reference Numerals and character-strings can be changed also by changing the contents of the allocated words. Refer to “Changing displayed numerals or character -strings” explained before.

To change the numerals or character-strings displayed on the NT600S, copy the data between the numeral or character-string memory tables by using the “copy memory table setting” of the PT status control area.

NT600S

AManual background

Memory table copy source

A

ACopy destination (for display)

PC

PT status control area

Screen switch setting

Copy memory table setting

PT status control setting

Copy source number

Copy destination number

Reference

Word n+1

n+2

Write a memory table number etc. to the copy memory table setting area in the PT status control area in the PC memory. Data will be copied between the memory tables in the NT600S and the displayed value will change accordingly.

This procedure is convenient to switch predetermined values or character-strings according to the situation. By preparing several units of contents, various con- tents can be displayed by switching them to suit the situation.

[“Copy memory table setting” of the PT status control area]

15 14

13 12

11

10

9

8

7

6

5

4

3

2

1

0

Bit

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

Copy source memory table # (3-digit BCD)

 

 

Copy memory

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

table setting

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Copy type

 

Copy destination memory table # (3-digit BCD)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Copy type:

0:Copy between the character-string memory tables

1:Copy between the numeral memory tables

Copy source and destination memory table numbers: 000 to 127 Character-string memory table: 000 to 255

Numeral memory table: 000 to 511

￿￿￿

Page 189
Image 189
Omron V022-E3-1 operation manual 6-2-4Copying the Memory Table, Section, Reference