Mitsubishi Electric Melsec QJ71LP21 Reference Manual page 300

Q corresponding melsecnet/h network system
Hide thumbs Also See for Melsec QJ71LP21:
Table of Contents

Advertisement

7
APPLICATION FUNCTIONS
Request data (All set by the user)
Device
Item
(S2)+0
Request type
(S2)+1
Sub-request type
Change pattern, clock data to be
(S2)+2
changed
(S2) + 3
Clock data to be changed
(S2) + 4
(continued)
(S2) + 5
7 - 76
1) Request data (S2)/response data(D1) (for reading/writing the clock data)
0001
: Clock data read
H
0011
: Clock data write (when station No. is specified in (S1)+5)
H
0031
: Clock data write (when all stations or a group is specified in (S1)+5)
H
0002
: Clock data read
H
0001
: Clock data write
H
1) Change pattern (bit 0 to 7)
Specify which items are to be written to the fields of (high byte of (S2)+2) to
((S2)+5).
0: Do not change
1: Change
2) Year data (bit 8 to 15)
Specify the year (last two digits) as a BCD code.
b15
b8
Year (00
to 99
)
H
H
Specify new clock data as BCD codes.
b15
(S2)
3
Day (01
Minute (00
(S2)
4
(S2)
5
Day of week (00
POINT
In clock data writing by the REQ instruction, the first two digits of the year cannot be
changed.
To change the first two digits of the year data, modify the clock setting from GX
Developer or with the RTMWR instruction.
• Setting the clock on the stations on a network with GX Developer (Refer to
Section 7.4.6)
• Reading and writing clock data of other station CPU modules (Z(P).RTMRD,
Z(P).RTMWR) (Refer to (6) of this section)
Setting data
b7
b6
b5
b4
b3
b2
b1
0
to
b8
b7
to 31
)
Month (01
H
H
to 59
)
H
H
to 06
)
Second (00
H
H
Clock data
b0
Year (lower two digits)
Month
Date
Hour
Minute
Second
Day of the week
to
b0
to 12
)
H
H
Hour (00
to 23
)
H
H
to 59
)
H
H
00
(Sun.) to 06
(Sat.)
H
H
MELSEC-Q
Clock data
read
write
: Set
: Not set
7 - 76

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents