EasyManua.ls Logo

Omron NT31

Omron NT31
707 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
614
Examples of Actual Applications of Direct Access
Section 10-1
(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 0 1 2 3 4 5 6
Initial value Sun Mon Tue Wed Thu Fri Sat
(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
200 201 202 203 204 205 206
Initial value Sun Mon Tue Wed Thu Fri Sat
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.

Table of Contents

Other manuals for Omron NT31

Related product manuals