Omron NT20S Operation Manual page 175

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

Advertisement

Overview of Direct Connection Operations
Notifying the NT20S Status by Using Allocated Bits and Words ..... PT Status Notify Area (PT to PC)
156
The PT status notify area (PT to PC) is provided to notify the NT20S status
changes to the PC. When any NT20S status has changed, such change is written
to this area in the PC, and the PC will read the data from this area to check the
NT20S status.
The PT status notify area is configured as three consecutive words as shown be-
low.
Word 15 14 13 12 11 10
m
0
m+1
m+2
The first word (word m) of the PT status notify area must be set with the support
tool.
S Currently displayed screen (refer to page 160)
The screen number displayed on the NT20S is written to this word.
Simultaneously, the PT status screen switch strobe flag is set to ON (1). After
this is notified to the PC, this flag reverts to OFF (0). Checking the status of this
flag will provide a simple method of checking if the NT20S display has switched.
S Content upgrade memory table (refer to page 188)
The number of the numeral memory table is written to the word when the numer-
al memory table contents change due to the touch switch operation on the
NT20S.
As the number of the numeral table is written, the PT status numeral setting
strobe flag is simultaneously set ON (1). After this is notified to the PC, this flag
reverts to OFF (0). Checking the status of this flag will provide a simple method
of checking if a number has been input from the NT20S.
Note that this function is not available with the character-string memory table.
S PT status (refer to page 196)
The NT20S operation status and other information are written with the ON or
OFF of the bits as shown below.
PT status notify bits
15 14 13 12 11 10
Word m+2
0
0
9
8
7
6
Screen # (4-digit BCD)
Numeral memory table # (3-digit BCD)
PT status
9
8 Bit
0
0
0
PT operation status (1 (ON): RUN / 0 (OFF): STOP)
Screen switching strobe
Numeral setting strobe flag
5
4
3
2
1
0 Bit
0
0
Section 5-1
Screen being displayed
Content upgrade
memory table
PT status

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents