Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 1004

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Processing details
• These instructions read "year, month, day, hour, minute, second, and day of week" from the clock element of the CPU
module, and store the read data in binary in the device specified by (d) and later.
(Data)
(d)
(Clock
Year
element)
(Setting range)
1980 to 2079
• "Year" stored in the device specified by (d) is a 4-digit year.
• "Day of week" stored in the device specified by (d)+6 is a number from 0 to 6 corresponding to Sunday to Saturday.
Day of week
Stored data
• Data is automatically corrected in leap years.
Operation error
There is no operation error.
7 APPLICATION INSTRUCTIONS
1002
7.25 Clock Instructions
(d)+1
(d)+2
Month
Day
1 to 12
1 to 31
Day
Month
0
1
(d)+3
(d)+4
Hour
Minute
0 to 23
0 to 59
Tuesday
Wednesday Thursday
2
3
(d)+5
(d)+6
Second
Day of week
0 to 59
0 to 6
Friday
4
5
Saturday
6

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents