3-10
Section
Display and Setting of Calendar Clock
348
1, 2, 3...
1. Set the date and time data in the words where numeral memory table A is
allocated (word A and word A+1, in the illustration below).
A + 1
A
Word
15
...
0
15
...
0
Bit
Date
(01 to 31)
Hour
(00 to 23)
Minute
(00 to 59)
Second
(00 to 59)
Contents of setting
2. Set the date and time data in the words where numeral memory table B is
allocated (word B and word B+1, in the illustration below).
B + 1
B
Word
15
...
0
15
...
0
Bit
Not used
(always 00)
Day of week
(00
to
06
Sun. – Sat.)
Year
(00
to
99
last 2 digits of
the year)
Month
(01 to 12)
Contents of setting
3. Write the memory table numbers to the PT status control area in 4-digit BCD
as shown below (designation of copy source and copy destination memory
table numbers).
•
Second word from the beginning (word n + 1): Table number of numeral
memory table A
•
Third word from the beginning (word n + 2):
0254
4. Set 1 (ON) for bit 2 of the fourth word (word n + 3) from the beginning of the
PT status control area (designation of memory table copy type as numeric
value).
5. Set 1 (ON) for bit 3 of the fourth word (word n + 3) from the beginning of the
PT status control area (designation of memory table copy execution).
The contents of numeral memory table A are copied to numeral memory
table No. 254 and the date, hour, minute, second are set for the PT.
6. Write the memory table numbers to the PT status control area in 4-digit BCD
as shown below (designation of copy source and copy destination memory
table numbers).
•
Second word from the beginning (word n + 1): Table number of numeral
memory table B
•
Third word from the beginning (word n + 2):
0255
7. Set 1 (ON) for bit 2 of the fourth word (word n + 3) from the beginning of the
PT status control area (designation of memory table copy type as numeric
value).
8. Set 1 (ON) for bit 3 of the fourth word (word n + 3) from the beginning of the
PT status control area (designation of memory table copy execution).
Contents of numeral memory table B are copied to numeral memory table
No. 255 and the day of week, year, and month are set for the PT.
Refer to the
Example of Use (page 349) in 3-10-2 Displaying the Date and T
ime.
Example of Use
electronic components distributor
Summary of Contents for NT21 Series
Page 3: ...iv Downloaded from Elcodis com electronic components distributor...
Page 5: ...vi Downloaded from Elcodis com electronic components distributor...
Page 463: ...Downloaded from Elcodis com electronic components distributor...
Page 465: ...Downloaded from Elcodis com electronic components distributor...