Omron NT31C Reference Manual page 306

Hide thumbs Also See for NT31C:
Table of Contents

Advertisement

Screen Display and Notification
3-3-2 Finding the Screen Number of the Presently Displayed Screen
Reading the PT Status Notify Area and the PT Status Control Area
Reference: When NT30/620 compatible mode is being used, the current screen number oc-
Setting
Operation
15
14
13
12
0
The PT has a function to notify the host of the occurrence of a screen switching
event, and the screen number of the new screen when the display screen is
switched by operation at the PT.
The host uses the following method to ascertain the screen switching timing and
the new screen number.
Reading the PT status notify area and the PT status control area
When the screen is switched, it is notified to the following areas.
• Screen switching timing:
Screen switching strobe in the PT status notify area
• Screen number of the presently displayed screen:
Screen switch setting word in the PT status notify area
PT
Displayed screen
cupies the first word of the PT status notify area and the word containing the PT
status notify bits is shifted down one word. (Refer to page 441.)
The PT status notify area and the PT status control area must be allocated to a
word in the host, accordingly, no special settings are required for reading the sta-
tus.
Follow the procedure indicated below to check the screen switching executed by
operation at the PT.
Reading Screen Switching Timing
The bit for notifying the PT status (PT status notify bit) is provided at the second
word (word m + 1) from the beginning of the PT status notify area.
11
10
9
8
7
6
5
4
0
0
Make a program which runs in the host so that leading edge of bit 12 (screen
switching strobe) in the second word (word m + 1) from the beginning of the PT
status notify area is checked.
PC
PT status control area
Screen switch setting
Copy memory
table setting
PT status control setting
Reserved for system use
PT status notify area
Content update memory table
PT status
3
2
1
0
Bit
0
0
0
Notified Information
15
PT operation status
13
Battery status
12
Screen switch strobe
11
Numeral setting strobe flag
10
Character string setting strobe flag
7
Printer operating status
6
Backlight status
5
Global window open status
4
Local window1 open status
3
Local window2 open status
Section
3-3
← Screen No.
← Screen switch strobe flag
1 (ON)
0 (OFF)
Run
Stop
Low
Normal
Printing
Stopped
Off
Lit/Flashing
Open
Closed
Open
Closed
Open
Closed
295

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nt31Nt631Nt631c

Table of Contents