Displaying The Day Of The Week Using The Clock Data In The Pt - Omron NT21 Reference Manual

Programmable terminals
Hide thumbs Also See for NT21:
Table of Contents

Advertisement

Examples of Actual Applications of Direct Access
Displaying the Day of the Week Using Clock Data in the PT
Example:
Display of numeric value in
numeral memory table entry 251
Display of numeric value in
numeral memory table entry 250
1, 2, 3...
408
If required, past status changes can be displayed as a trend graph.
Old
Suggestions
Apart from the Previous Page (Rewind) and Next Page (Forward) touch
switches indicated above, the following touch switches can be created without
restriction to control the display and data recording (2-10-4 Trend Graphs,
page 170).
Stop touch switch
Stops data sampling.
Restart (Continue) touch switch
Restarts data sampling when it has been stopped.
Display Clear (Clear display) touch switch
Clears the currently displayed trend graph, then starts drawing the graph
from the new status (past records are retained).
Log Clear (Clear log) touch switch
Clears past records.
At the PT, numeric values are stored in numeral memory table entry 253 as
shown below.
Value (decimal)
0
Day of week
Sun
By indirect reference of character string displays, the displayed characters are
changed using these values to change, the character string memory table entry
whose contents are to be displayed.
Displaying Sun to Sat, stored in character string memory table entries 0 to 6, by
indirect reference of numeral memory table entry 253.
Fixed display text
3 / 12 (Thu)
1. Set the initial values indicated below for character string memory table en-
tries 0 to 6. Do not allocate words for these character string memory table
entries in the host.
Character string memory
table entry
Initial value
2. Register the part that displays the month and day for the screen, following
the example given above.
Part being displayed
Previous Page
Next Page
(Rewind) touch
(Forward)
switch
touch switch
1
2
3
Mon
Tue
Wed
The display here is
explained in this example.
0
1
2
Sun
Mon
Tue
Section
5-1
New
4
5
6
Thu
Fri
Sat
3
4
5
6
Wed
Thu
Fri
Sat

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nt631Nt31 seriesNt21 seriesNt631 series

Table of Contents