EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 1523

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...
15 NETWORK COMMON INSTRUCTIONS
15.1 Link Dedicated Instructions
1521
15
Request data
*1 Writing clock data using the REQ instruction cannot change the upper two digits of the year. If the year needs to be changed including
the upper two digits as well, use the engineering tool to set the clock data.
Response data
For details on the clock function, refer to the user's manual for the CPU module used.
Clock data cannot be read or written when System Protect is applied to the CPU module of the target
station.
When clock data is read, a continuous area for six words is required for the response data storage device
(d1).
Operand: (s2)
Device Item Description Reading
clock
data
Writing
clock
data
Set by
+0 Request type 0001H: Reading clock data
0011H: Writing clock data (with a station number specified in (s1)+5)
0031H: Writing clock data (with All Station or a group specified in (s1)+5)
User
+1 Subrequest type 0002H: Reading clock data
0001H: Writing clock data
User
+2 Change pattern Change pattern (bits 0 to 6)
Specify which item from the upper byte in (s2)+2 to (s2)+5 should be written.
0: Not changed
1: Changed
Changed year (bits 8 to 15)
Specify the year (two lower digits) in BCD code.
*1
b6: Day of week, b5: Second, b4: Minute, b3: Hour, b2: Day, b1: Month, b0:
Year
User
+3 Changed clock data Upper 8 bits: Day (01H to 31H)
Lower 8 bits: Month (01H to 12H)
User
+4 Upper 8 bits: Minute (00H to 59H)
Lower 8 bits: Hour (00H to 23H)
User
+5 Upper 8 bits: Day of week (00H (Sunday) to 06H (Saturday))
Lower 8 bits: Second (00H to 59H)
User
Operand: (d1)
Device Item Description Reading
clock
data
Writing
clock
data
Set by
+0 Request type 0081H: Reading clock data
0091H: Writing clock data
System
+1 Subrequest type 0002H: Reading clock data
0001H: Writing clock data
System
+2 Clock data that has
been read
Upper 8 bits: Month (01H to 12H)
Lower 8 bits: Lower 2 digits of year (00H to 99H)
System
+3 Upper 8 bits: Hour (00H to 23H)
Lower 8 bits: Day (01H to 31H)
System
+4 Upper 8 bits: Second (00H to 59H)
Lower 8 bits: Minute (00H to 59H)
System
+5 Upper 8 bits: (00H)
Lower 8 bits: Day of the week (00H (Sun.) to 06H (Sat.))
System
b15 b7 b0b1b2b3b4b5b6b8
0Year (00H to 99H)

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals