■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B,
SB, FX, FY
(J/U)
J(P).RTMWR
G(P).RTMWR
Z(P).RTMWR
*1
(s1)
*1
(s2)
*1
(s3)
(s4)
*1
(d)
*1 FX and FY cannot be used.
*2 FD cannot be used.
*3 T, ST, C, and FD cannot be used.
■Clock data
Operand: (s4)
Device
Item
Description
+0
Change pattern
Specifies the bit pattern that indicates the item of the clock data to be changed.
• 0: Not changed
• 1: Changed
b15
b7: Year (first two digits), b6: Day of week, b5: Second, b4: Minute, b3: Hour, b2:
Day, b1: Month, b0: Year (last two digits)
+1
Clock data
Upper 8 bits: Year (00H to 99H: Upper two digits of the year)
Lower 8 bits: Month (01H to 12H)
The range of the 4 digits of the year is 1980 to 2079.
+2
Upper 8 bits: Day (01H to 31H)
Lower 8 bits: Hour (00H to 23H)
+3
Upper 8 bits: Minute (00H to 59H)
Lower 8 bits: Second (00H to 59H)
+4
Upper 8 bits: Year (19H and 20H: Upper two digits of the year)
Lower 8 bits: Day of the week (00H (Sun.) to 06H (Sat.))
The range of the 4 digits of the year is 1980 to 2079.
If the target station CPU module is system protected, writing the clock data will fail.
Word
J\
T, ST, C, D, W,
U\G, J\,
SD, SW, FD,
U3E\(H)G
R, ZR, RD
*2
*2
*2
*2
*3
...
b8
b7
b6
b5
b4
b3
0
17.4 Writing Clock Data to the Programmable Controller on Another Station
Double word
Indirect
specification
Z
LT, LST,
LZ
LC
b2
b1
b0
17 CC-LINK IE CONTROLLER NETWORK INSTRUCTIONS
Constant
Others
K, H
E
$
J
U
Setting range
Set by
0, 1
User
Year: 00H to 99H
User
Month: 01H to 12H
Day: 01H to 31H
User
Hour: 00H to 23H
Minute: 00H to 59H
User
Second: 00H to 59H
Year: 19H to 20H
User
Day of week: 00H to 06H
1593
17