Req Instruction (Clock Data Read/Write) - Mitsubishi QJ71E71-100 User Manual

Programmable logic controller. q series corresponding ethernet interface module
Hide thumbs Also See for QJ71E71-100:
Table of Contents

Advertisement

6 DEDICATED INSTRUCTIONS

6.8 REQ Instruction (Clock Data Read/Write)

Request data (All items marked with
Device
(S2)
Request type
(S2) + 1
Sub-request type
Change pattern
(S2) + 2
Year to be changed
(S2) + 3
(S2) + 4
Clock data to be changed
(continued)
(S2) + 5
6 - 32
This instruction reads/writes clock data from/to other stations.
POINT
See Section 6.7 for the following information on the REQ instruction for
reading/writing clock data from/to other stations.
Since the same explanation as when executing remote RUN/STOP operations
using the REQ instruction applies in this case, the explanation of these items is
omitted in this section.
1) Instruction format
2) Devices that can be used with the instruction
3) Control data in the setting data
4) Functions
5) Error
are set by the user)
Item
0001
: Clock data read
H
0011
: Clock data write (When station No. is specified in
H
(S1)+5)
0031
: Clock data write (When all stations or a group is
H
specified in (S1)+5)
0002
: Clock data read
H
0001
: Clock data write
H
1) Change pattern (bits 0 to 7)
Designate which item (s) to write, from the higher
byte of (S2) + 2 to (S2) + 5.
0: Do not change
1: Change
2) Year to be changed (bits 8 to 15)
Store year (last two digits of the year in the Gregorian
calendar) as BCD code.
b15
to
Year (00
Higher 8 bits: date (01
lower 8 bits : month (01
Higher 8 bits: minute (00
lower 8 bits : hour (00
Higher 8 bits: day of the week (00
lower 8 bits : second (00
In this function, the higher two digits of the year data cannot be changed.
When it is necessary to change the higher two digits of the year data, use other
function (such as GX Developer) to set the clock data.
Set data
b8
b7
b6 b5 b4 b3 b2 b1 b0
to 99
)
0
H
H
to 31
),
H
H
to 12
)
H
H
to 59
),
H
H
to 23
)
H
H
(Sunday) to 06
H
(Saturday)),
to 59
)
H
H
MELSEC-Q
Clock data
read
Year
Month
Date
Hour
Minute
Second
Day of the week
H
Clock data
write
6 - 32

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qj71e71-b5Qj71e71-b2

Table of Contents