EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 1028

Mitsubishi Electric MELSEC iQ-R Series
2110 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1026
7 APPLICATION INSTRUCTIONS
7.25 Clock Instructions
Processing details
These instructions read "year, month, day, hour, minute, second, day of week, and millisecond" from the clock element of
the CPU module, and store the read data in binary in the device specified by (d) and later.
"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.
Data is automatically corrected in leap years.
Precautions
These instructions read clock data and store it in the device even when incorrect click data is set in the CPU module.
(Example: February 30) When setting clock data with the DATEWR(P) instruction or engineering tool, be careful not to set
incorrect clock data.
When millisecond clock data is read, the maximum error is 2ms. (This error means the difference between the data stored
in clock elements in the CPU module and the data read by the S(P).DATERD instruction.)
Operation error
There is no operation error.
(Data) (d) (d)+1 (d)+2 (d)+3 (d)+4 (d)+5 (d)+6 (d)+7
(Clock
element)
Year Month Day Hour Minute Second Day of week Millisecond
(Setting range) 1980 to 2079 1 to 12 1 to 31 0 to 23 0 to 59 0 to 59 0 to 6 0 to 999
Day of week Day Month Tuesday Wednesday Thursday Friday Saturday
Stored data 0123456

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals