5.4 CC-Link IE Controller Network, MELSECNET/H, and Ethernet Instruction
5.4.8 REQ instruction
5-123
5
QCP
U
IN
S
T
RUCTI
O
N
DE
TA
IL
S
J_
RE
Q,
G
_
R
E
Q
J_REQ, G_REQ
(2) Reading/writing the clock data
Request data (all set by the user (indicated by
))
*4 :
This function cannot change the first two digits of year data.
To change the year data including the first two digits, set the clock data using another function (such as
GX Works2).
Device
Item
Setting data
Read
clock data
Write
clock data
[0]
Request type
0001
H
: Clock data read
0011
H
: Clock data write (When station number is specified in
[5])
0031
H
: Clock data write (When all stations or a
group is
specified in
[5])
[1]
Sub-request type
0002
H
: Clock data read
0001
H
: Clock data write
[2]
Change pattern
Year data to be changed
Change pattern (bit 0 to 7)
Specify the items to be written in high-order byte of
[2] to
[5].
0: Not changed
1: Changed
Year to be changed (bit 8 to 15)
*4
Store the year (last two digits) in BCD format.
–
[3]
Clock data to be changed
(continued)
High-order 8 bits: Day (01
H
to 31
H
), low-order 8 bits: Month (01
H
to
12
H
)
–
[4]
High-order 8 bits: Minute (00
H
to 59
H
), low-order 8 bits: Hour (00
H
to
23
H
)
–
[5]
High-order 8 bits: Day of week (00
H
(Sunday) to 06
H
(Saturday)), low-
order 8 bits: Second (00
H
to 59
H
)
–
○
S2
○
S1
○
S1
S2
S2
○
S2
○
S2
b
1
5
b0
b
1
b
2
b3
b4
b5
b6
b7
Ye
ar
(
l
as
t two
d
igit
s)
Da
y
Hou
r
Minute
Secon
d
Da
y of week
Month
b8
Ye
ar
(
00
H
to99
H
)
0
S2
b
1
5
b7
b0
b8
Month
(
0
1
H
to
12
H
)
Da
y
(
0
1
H
to 3
1
H
)
to
to
S2
b
1
5
b7
b0
b8
Hou
r
(
00
H
to
2
3
H
)
Minute
(
00
H
to 59
H
)
to
to
S2
b
1
5
b7
b0
b8
Secon
d (
00
H
to
59
H
)
Da
y
of
week
(
00
H
to
06
H
)
00
H
(
Sun
.)
to
06
H
(
S
a
t
.)
to
to
Summary of Contents for QCPU
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Special Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 28: ...2 10 MEMO ...
Page 32: ...3 4 MEMO ...
Page 38: ...4 6 MEMO ...
Page 234: ...5 196 MEMO ...
Page 238: ...Index 4 MEMO ...
Page 241: ......