551
Display and Setting of Calendar Clock
Section 8-10
8-10-2
Displaying the Date and Time
The procedure for displaying the date and time data set using the clock function of
the NT31/NT31C 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”.
[Setting]
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
according to the display requirements.
[Operation]
The current date and time are continually displayed by the “Numeral Display” for
displaying numeral memory tables No. 247 to No. 253.
[Example of Use]
The following describes an example of how to display the date and time, set at the
PC, on the NT31/NT31C.
In this example a C200HX, which has a clock function, is used. The clock function
is allocated to words AR18 to AR21 in the C200HX.
S
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)
Summary of Contents for NT31 Series
Page 1: ...Cat No V043 E1 2 Programmable Terminal NT31 31C OPERATION MANUAL...
Page 2: ...iii NT31 31C Programmable Terminal Operation Manual Produced March 1999...
Page 41: ...30 Before Operating Section 1 5...
Page 75: ...64 Using a Memory Unit NT31 NT31C without V1 Section 3 6...
Page 160: ...149...
Page 174: ...163...
Page 193: ...182...
Page 211: ...200...
Page 235: ...224 c Return to the screen on which screens are specified...
Page 262: ...251...
Page 360: ...349 It is not possible to control a gloval window by touch switch operation...
Page 468: ...457 254 255 0 2 7 1 4 5 3 3 0 0 0 5 9 8 0 3...
Page 476: ...465 Special Functions Section 7 16...
Page 495: ...484 OFF...
Page 610: ...599 Commands Responses Section 9 3...
Page 630: ...619 Examples of Actual Applications of Memory Link Section 10 2...