198
(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, connect a programming tool to the CPU module to which clock data is written. Then
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 (00H to 99H), last 2 digits
b15 b8
(S2)+3
(S2)+4
(S2)+5
Month (01H to 12H)
Hour (00
H to 23H)
Second (00
H to 59H)
Day (01
H to 31H)
Minute (00
H to 59H)
00
H (Sun.) to 06H (Sat.)
Day of week (00
H to 06H)
b15 b8 b7 b0