Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 1004

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

Related Auxiliary Area Words and Bits
Name
Clock data
Function
DATE(735) changes the internal clock
setting according to the clock data in
the four source words. The new
internal clock setting is immediately
reflected in the Calendar/Clock Area
(A351 to A354).
Hint
The internal clock setting can also be changed from a Peripheral Device or the CLOCK WRITE FINS
command (0702).
Precaution
An error will not be generated even if the internal clock is set to a non-existent date (such as November
31).
Sample program
When CIO 0.00 turns ON in the following example, the internal clock is set to 20:15:30 on Thursday,
October 9, 1998.
0.00
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Address
A351 to A354
A351.00 to A351.07: Seconds (00 to 59) (BCD)
A351.08 to A351.15: Minutes (00 to 59) (BCD)
A352.00 to A352.07: Hours (00 to 23) (BCD)
A352.08 to A352.15: Day of the month (01 to 31) (BCD)
A353.00 to A353.07: Month (01 to 12) (BCD)
A353.08 to A353.15: Year (00 to 99) (BCD)
A354.00 to A354.07: Day of the week (00 to 06) (BCD)
00: Sunday, 01: Monday, 02: Tuesday,
03: Wednesday, 04: Thursday,
05: Friday, 06: Saturday
D100
S:
Operation
CPU Unit
Internal clock
New setting
D100
Second
Minute
D101
Day of
Hour
the month
D102
Year
Month
D103
Always
Day of the week
set to
00.
3. Instructions
3
Minutes
Seconds
Day
Hour
Year
Month
00
Day of week
967

Advertisement

Table of Contents
loading

Table of Contents