![background image](http://html1.mh-extra.com/html/omron/nt21-series/nt21-series_reference-manual_744543358.webp)
3-10
Section
Display and Setting of Calendar Clock
349
3-10-2 Displaying the Date and Time
The procedure for displaying the date and time data set using the clock function
of the PT by the numeric value display of numeral memory tables No. 247 to No.
253 is described below.
Numeral memory tables No. 247 to No. 253 store the date and time data as
shown below and the stored data is constantly updated.
Numeral memory table
Contents
Range
Comment
247
Sec.
0 to 59
248
Min.
0 to 59
249
Hour
0 to 23
24-hour notation
250
Date
1 to 31
251
Month
1 to 12
252
Year
0 to 99
Last 2 digits of the year
253
Day of week
0 to 6
Sunday through Saturday
The date and time data are stored in signed binary data in a numeral memory
table. Therefore, to display a numeric value, it is necessary to set Decimal for
Display Type.
Register the numeric value display for the display of contents of numeral
memory tables No. 247 to No. 253 for the screen according to the date and time
data to be displayed.
The Display Type of Numeral Display must be Decimal. Set other properties ac-
cording to the display requirements.
The current date and time are continually displayed by the Numeral Display for
displaying numeral memory tables No. 247 to No. 253.
The following describes an example of how to display the date and time, set at
the PC, on the PT.
In this example a C200HX, which has a clock function, is used. The clock func-
tion is allocated to words AR18 to AR21 in the C200HX.
Setting at The Support Tool
Set using the Support Tool as indicated below:
•
PT status control area allocated words: 00100 (CIO area, word 100)
•
Numeral memory table No. 264:
DM0000 (number of words: 2)
•
Numeral memory table No. 265:
DM0002 (number of words: 2)
•
Contents to be registered to the screen: Numeric value display (numeral
memory table No. 247 to No. 252)
Numeral memory table No. 251 (2-digit display)
Numeral memory table
No. 252 (2-digit display)
Numeral memory table
No. 250 (2-digit display)
Numeral memory table
No. 249 (2-digit display)
Numeral memory table
No. 247 (2-digit display)
4
20
9
50
18
Numeral memory table No. 248 (2-digit display)
/
/
/
/
19 98
Setting
Operation
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...