Omron NT631 Series Reference Manual page 411

Programmable terminals
Hide thumbs Also See for NT631 Series:
Table of Contents

Advertisement

Examples of Actual Applications of Direct Access
Displaying the Day of the Week Using Clock Data in the PT
Example:
402
Downloaded from
Elcodis.com
electronic components distributor
• 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 No. 253 as shown
below.
Value (decimal)
Day of week
By indirect reference of character string displays, the displayed characters are
changed using these values to change, the character string memory table
whose contents are to be displayed.
Displaying Sun to Sat, stored in character string memory tables No. 0 to 6, by
indirect reference of numeral memory table No. 253.
Display of numeric value in
numeral memory table No. 251
Display of numeric value in
numeral memory table No. 250
1, 2, 3...
1. Set the initial values indicated below for character string memory tables No.
0 to No. 6. Do not allocate these character string memory tables to words at
the host.
Character string memory
Initial value
2. Register the part that displays the month and day for the screen, following
the example given above.
3. Register the part that displays the day of the week by indirect specification of
a character string display, as indicated below.
• Indirect Reference:
Check mark set
• Table Entry:
253 (numeral memory table that stores the day of the week data)
The settings above will display the month and day set with the calendar and
clock in the System Menu.
Suggestions
• The clock data can be set on the CALENDAR & CLOCK SET screen in the Sys-
tem Menu. Refer to section 6 of the Setup Manual for details.
• To set the year, month, date, and day of the week in numeral memory tables
254 and 255, the memory table copy function must be used (pages 312, 315,
and 345).
0
1
2
Sun
Mon
Tue
Fixed display text
3 / 12 (Thu)
0
1
table
Sun
Mon
Section
3
4
5
Wed
Thu
Fri
The display here is
explained in this example.
2
3
4
5
Tue
Wed
Thu
Fri
5-1
6
Sat
6
Sat

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nt31 seriesNt21 seriesNt31c seriesNt631c series

Table of Contents