4 Special Functions
3-102
SmartAXIS Touch User's Manual
●
Adjusting the Date and Time with Ladder Program or FBD Program
The current time can be set on the Touch by using special data registers D8015 to D8021. Undefined values are
stored in special data registers D8015 to D8021. Always store an appropriate value before turning on M8016, M8017,
or M8020.
■
Calendar Data Write Flag (M8016)
After writing data to special data registers D8015 to D8018, turn M8016 on to set the internal clock with the data in
D8015 to D8018 as the calendar data (year, month, day, day of the week).
■
Clock Data Write Flag (M8017)
After writing data to special data registers D8019 to D8021, turn M8017 on to set the internal clock with the data in
D8019 to D8021 as the clock data (hour, minute, second).
■
Calendar/Clock Data Write Flag (M8020)
After writing data to special data registers D8015 to D8021, turn M8020 on to set the internal clock with the data in
D8015 to D8021 as the calendar data (year, month, day, day of the week) and the clock data (hour, minute, second).
Calendar and clock data storage locations
The calendar/clock data is stored in the following special data registers.
For the day of the week data, the values below are stored in the special data registers.
Special data
register
Description
Range
Setting timing
D8008
Calendar/Clock
Current Data
(Read only)
Year
0 to 99
Every 500 msec
If the scan time is 500 msec
or longer, D8008 to D8014 are
updated with each scan.
D8009
Month
1 to 12
D8010
Day
1 to 31
D8011
Day of the week
0 to 6
D8012
Hour
0 to 23
D8013
Minute
0 to 59
D8014
Second
0 to 59
D8015
Calendar/Clock
New Data
(Write only)
Year
0 to 99
–
D8016
Month
1 to 12
D8017
Day
1 to 31
D8018
Day of the week
0 to 6
D8019
Hour
0 to 23
D8020
Minute
0 to 59
D8021
Second
0 to 59
Day of the
week
Sunday
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Value
0
1
2
3
4
5
6
Содержание SmartAXIS Touch FT1A Series
Страница 1: ...FT1A Series FT9Y B1390 4 SmartAXIS Touch User s Manual ...
Страница 22: ...Contents Preface 21 SmartAXIS Touch User s Manual ...
Страница 240: ...6 Using Library Screens 4 36 SmartAXIS Touch User s Manual ...
Страница 416: ...2 Multi State Lamps 8 26 SmartAXIS Touch User s Manual ...
Страница 558: ...9 Calendar 9 142 SmartAXIS Touch User s Manual ...
Страница 668: ...6 Timer 11 52 SmartAXIS Touch User s Manual ...
Страница 754: ...4 Using Data and Detected Alarms 13 34 SmartAXIS Touch User s Manual ...
Страница 792: ...4 Using the Data 14 38 SmartAXIS Touch User s Manual ...
Страница 810: ...4 Using the Data 15 18 SmartAXIS Touch User s Manual ...
Страница 870: ...3 Text Manager 19 16 SmartAXIS Touch User s Manual ...
Страница 924: ...6 Important Notes 20 54 SmartAXIS Touch User s Manual ...
Страница 1036: ...5 User Communication 22 74 SmartAXIS Touch User s Manual ...
Страница 1092: ...2 Monitoring on the Touch 24 26 SmartAXIS Touch User s Manual ...
Страница 1142: ...2 Word Devices 27 18 SmartAXIS Touch User s Manual ...
Страница 1186: ...2 Analog Cartridge 29 34 SmartAXIS Touch User s Manual ...
Страница 1194: ...3 Handling Problems 30 8 SmartAXIS Touch User s Manual ...