6 - 14 6 - 14
MELSEC-Q
6 DEDICATED INSTRUCTIONS
Device
Item
Set data
Setting range
Set by (
1
)
(S1) + 5
Target station number
Designate the target station.
1 to 64: The station with the corresponding station number
1 to 64
User
(S1) + 6
—
(Fixed value)
0
User
(S1) + 7
Number of resend
1) At instruction execution
Set the number of resends when the instruction is not completed within
the monitoring time designated by (S1) + 8.
0 to 15 (times)
2) At instruction completion
Store the number of resends executed (result).
0 to 15 (times)
0 to 15
User
System
(S1) + 8
Arrival monitoring time
Set the monitoring time until the instruction completion so that it is greater
than or equal to the TCP resend timer value.
When the instruction fails to complete within the monitoring time, it is resent
for the number of resends designated in (S1) + 7.
0 to TCP resend timer value: The monitoring time is reset to the TCP
resend timer value.
(TCP resend timer value + 1) to 16383:
Monitoring time (unit: s)
1 to 16383
0 to TCP
resend timer
value
User
(S1) + 9
Read data length
Designate the number of data to be read.
1 to 480 (Words)
1 to 480
User
(S1) + 10
(Not used)
—
—
—
(S1) + 11
Clock set flag
Store the valid/invalid status of the data in ((S1) + 12 to (S1) + 17).
0: Invalid
1: Valid
—
System
(S1) + 12
Higher 8 bits: month (01
H
to 12
H
),
lower 8 bits: last 2 digits of year (00
H
to 99
H
)
(S1) + 13
Higher 8 bits: hour (00
H
to 23
H
), lower 8 bits: date (01
H
to 31
H
)
(S1) + 14
Higher 8 bits: second (00
H
to 59
H
), lower 8 bits: minute (00
H
to 59
H
)
(S1) + 15
Clock data (set only when errors
occur)
Higher 8 bits: first 2 digits of year (00
H
to 99
H
),
lower 8 bits: day of the week (00
H
(Sunday) to 06
H
(Saturday))
—
System
(S1) + 16
Abnormal detection network No.
Stores the network number of the station that detected an abnormality. (
4
)
1 to 239 (Network No.)
1 to 239
(S1) + 17
Abnormal detection station number
Stores the station number of the station that detected an abnormality. (
4
)
1 to 64 (Station number)
1 to 64
System
POINT
The data read storage device (D1) requires a contiguous free area equal to or
greater than the length of the data read ((S) + 9) (maximum of 480 words).
1 The "Set by" column indicates the following:
• User: Data is set by the user before executing a dedicated instruction.
• System: The PLC CPU stores the execution result of a dedicated instruction.
2 For a list of error codes, see Section 11.3.3 of the Q Corresponding Ethernet
Interface Module User's Manual (Basic)
3 It can be specified when the local station has an Ethernet module of function
version D or later. (Not available in any other case. Access to the target CPU is
required.)
4 Nothing is stored if the execution source detects an error when receiving an
instruction.
5 When the READ instruction is executed to the redundant system with a control
system or standby system CPU specified, the instruction may be unsuccessfully
completed due to system switching occurred on the target station (error code:
4244
H
, 4248
H
).
If this has occurred, execute the READ instruction again.
Содержание QJ71E71-100 Series
Страница 2: ......
Страница 214: ...6 65 6 65 MELSEC Q 6 DEDICATED INSTRUCTIONS MEMO ...
Страница 219: ......