Omron V022-E3-1 operation manual Section, Example of Display Screen Switching

Models: V022-E3-1

1 318
Download 318 pages 5.12 Kb
Page 175
Image 175
￿￿￿￿￿￿￿￿￿&￿￿￿'￿￿(0￿￿'￿￿(￿0￿"￿￿&￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿

￿￿￿￿￿￿￿￿￿&￿￿￿'￿￿(0￿￿'￿￿(￿0￿"￿￿&￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿

Section 5-1

Use of the screen switching strobe

Create a program to read the number of the currently displayed screen and to write the number to the “screen switch setting word” at the leading edge of the “screen switching strobe” of the PT status notify area. This program enables screen switching by using the touch switches on the NT600S and eliminates re- peated setting of the same screen number. If the screen switching is not executed on the NT600S, the screen switching strobe does not need to be checked.

Reference For the screen switching strobe, refer to the “notifying the displayed screen to the ￿PC” mentioned below.

Continuous screens and overlapping screens

Continuous or overlapping screens can be displayed by designating the parent screen. If a child screen is designated, only the child screen is displayed.

Reference For the continuous and overlapping screens, refer to the “Classification of screens” (page 124).

Example of Display Screen Switching

￿This example operates the PC switch (bit) to switch the NT600S display screen.

Support tool settings

Make the following settings with the support tool:

PT status control area:

Word 0100

PT status notify area:

Word 0110

￿Screen number to be created: Screen #2 and #3 PC ladder program

Create a PC ladder program as follows:

00002

00003

11212

￿Screen switch strobe flag

@MOV(21)

#0002

100

@MOV(21)

#0003

100

@MOV(21)

110

100

(1)

Screen number

Screen switch setting word

(2)

Screen number

Screen switch setting word

(3)

Screen number

Screen switch setting word

Program operation

(1)Screen #2 is displayed on the NT600S when bit 00002 turns ON.

(2)Screen #3 is displayed on the NT600S when bit 00003 turns ON.

(3)When the screen switch strobe flag turns ON, the number of the currently dis- played screen is read and written to the currently displayed screen word in the PT status notify area. In this case, the NT600S will not write the same screen twice.

￿￿￿

Page 175
Image 175
Omron V022-E3-1 operation manual Section, Example of Display Screen Switching