![Omron NT21 Series Reference Manual Download Page 355](http://html1.mh-extra.com/html/omron/nt21-series/nt21-series_reference-manual_744543355.webp)
3-10
Section
Display and Setting of Calendar Clock
346
3-10-1 Setting the Date and Time
The clock data can be set by the following methods.
•
Setting from the System Menu
•
Changing the value in numeral memory tables No. 254 and No. 255
The following explains the procedure for writing the required clock data to the
numeral memory tables. For the procedure for setting the clock data using the
System Menu, refer to
Displaying/Setting the Calendar and Clock in section 6 in
the
Setup Manual.
Reference:
The clock has an accuracy of maximum monthly error of –39 to +65 seconds at a
room temperature (25
_
C). Adjust the error periodically to operate the clock accu-
rately.
Changing the Value in Numeral Memory Tables No. 254 and No. 255
Numeral memory tables No. 254 and No. 255 are specially used for setting the
clock data.
These memory tables cannot be allocated to the area in the host. Therefore, to
change the contents in these memory tables, write the data to be set in them into
another numeral memory table first then copy the written value to numeral
memory tables No. 254 and No. 255 using the memory table copy function.
Copy
PT
PC
0
1
254
255
98 / 03 / 08
9 / 50 / 18
Date, hour,
minute, second
Day of week,
year, month
Date, hour,
minute, second
Day of week,
year, month
–
–
Minute, second
Date, hour
Year, month
Days of week
DM0000
DM0001
DM0002
DM0003
DM0000
DM0002
To copy a memory table, either use the PT status control area or the touch switch
copy setting function. Here, the procedure for copying a memory table using the
PT status control area is described. For the procedure for using the touch switch
copy setting function, refer to
Changing Numeric Values/Character Strings by
Pressing a Touch Switch Which Has the Copy Setting Function (page 315).
Reference:
S
The PT does not check the set date and time data strictly. Therefore the data
must be set correctly so that there is no discrepancy between the date and the
day of a week.
S
The procedure used to copy between memory tables is different when
NT30/620 compatible mode is being used. Refer to
Appendix C for details on
the NT30/620 compatible mode.
Prepare two numeral memory tables to write the required values for copying it to
numeral memory table No. 254 and No. 255.
•
PC Address:
Any word in the host
•
Words:
2 words
•
Storage Type:
Binary
Use the PT status control area to copy memory tables. Since the PT control area
must be allocated to a word in the host, no setting is necessary for copying
memory tables.
Setting
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...