![Mitsubishi Electric QJ71GF11-T2 User Manual Download Page 324](http://html.mh-extra.com/html/mitsubishi-electric/qj71gf11-t2/qj71gf11-t2_user-manual_1811847324.webp)
322
(b) Request data (a user sets all)
: Sets
: Does not set
• When system protection is applied to the target station CPU, clock data cannot be written in.
• In the clock data write by the REQ instruction, the first two digits of the year cannot be changed. To change the
first two digits of the year, use GX Works2 to change the clock data.
Device
Item
Setting data
Clock data
read
Clock data
write
(S2)+0
Request type
0001
H
: Clock data read
0011
H
: Clock data write (when station number is specified by (S1)+5)
0031
H
: Clock data write (when all stations or groups are specified by
(S1)+5)
(S2)+1
Sub-request
type
0002
H
: Clock data read
0001
H
: Clock data write
(S2)+2
Change
pattern, clock
data to be
changed
1) Change pattern (bit 0 to 7)
From ((S2)+2 upper byte) to ((S2)+5), specify the item to be changed.
0 : Do not change
1 : Change
2) Change year (bit 8 to 15)
Use BCD format to specify the year (lower 2 digits of the year).
(S2)+3
Clock data to
be changed
(continued)
Use BCD format to specify the clock data to be changed.
(S2)+4
(S2)+5
Yeah (last 2 digits)
Month
Day
Hour
Minute
Second
Day of week
b7
0
b6
b5
b4
b3
b2
b1
b0
Year (00
H
to 99
H
), last 2 digits
b15
b8
(S2)+3
(S2)+4
(S2)+5
Month (01
H
to 12
H
)
Hour (00
H
to 23
H
)
Second (00
H
to 59
H
)
Day (01
H
to 31
H
)
Minute (00
H
to 59
H
)
00
H
(Sun.) to 06
H
(Sat.)
Day of week (00
H
to 06
H
)
b15
b8 b7
b0