Omron NT31 Operation Manuals page 625

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

Advertisement

Examples of Actual Applications of Direct Access
614
(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 table
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.
Hints
S The clock data can be set on the "CALENDAR & CLOCK SET" screen in the
System Menu (page 215).
S 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 511 and 516).
S If character string memory tables No. 0 to No. 6 are used for other applications at
the same time as they are used to display the day of the week.
(1) Copy the contents of numeral memory table 253 to a number that can be
allocated to a PC word by using the memory table copy function.
(2) To achieve correspondence between the numbers of the character string
memory tables that store "Sun" to "Sat" and the contents of numeral
memory table No. 253 (0 to 6), add a constant.
(3) Display the day of the week indirectly by following the example above.
Example:
Storing "Sun" to "Sat" in character string memory tables No. 200 to
206.
Character string
memory table
Initial value
Adding 200 to the contents of numeral memory table No. 253 en-
ables indirect specification of the character string memory tables
that store Sun to Sat.
0
1
2
3
Sun
Mon
Tue
Wed
200
201
202
203
Sun
Mon
Tue
Wed
Section 10-1
4
5
6
Thu
Fri
Sat
204
205
206
Thu
Fri
Sat

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nt31c

Table of Contents