Omron NT631 Operation Manuals page 484

Programmable terminal
Hide thumbs Also See for NT631:
Table of Contents

Advertisement

Screen Display and Notification
Reference
[Example of Use]
While the NT631/NT631C is running, the screen number of the currently displayed
screen is always recorded in the "screen switch setting" word in the PT status con-
trol area (except when the screen displayed is an error screen or the System Menu
screen, in which case the screen number of the screen displayed immediately be-
fore remains recorded).
An example of a PC program which reads the screen number each time the screen
is switched by the NT631/NT631C is described below. This example program
stores the previous screen number also.
S Setting with the Support Tool
Set the following words with the Support Tool.
- Allocated word in the PT status control area:
00100 (word 100 in the CIO area)
- Allocated word in the PT status notify area:
00110 (word 110 in the CIO area)
S PC program
Create the PC ladder program as indicated below.
11112
Screen
switching
@MOV(21)
strobe
S Program operation
(1) When the screen switching strobe (bit 11112) comes ON as the screen is
switched by operation at the NT631/NT631C, the program transmits the
data at DM0100 to DM0101. The previous screen number is saved to the
word provided for that purpose.
(2) The program reads out the new screen number that was notified to the
NT631/NT631C to transmit it to DM0100. The screen number of the screen
presently displayed at the NT631/NT631C is stored to DM0100.
@MOV(21)
DM0100
DM0101
Word for storing the screen number of the previous screen
100
Word for notifying the screen number of the presently displayed screen
DM0100
Word for storing the screen number of the new screen
Section 8-3
(1)
(2)
477

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nt631c

Table of Contents