Download MELSEC-Q CC-Link System Master/Local Module User`s Manual

Transcript
CHAPTER 9 DEDICATED INSTRUCTIONS
(c) Check of the completion status
There are two types of interlock signals for the G(P).RIRD instruction: Completion device (D2) and Status
9
display device at completion (D2) + 1.
• Completion device
Turns on in the END process of the scan where the G(P).RIRD instruction is completed, and turns off in
the next END process.
• Status display device at completion
Turns on and off depending on the completion status of the G(P).RIRD instruction.
Normal completion: Remains off and does not change.
Abnormal end:
Turns on in the END process of the scan where the G(P).RIRD instruction is
completed, and turns off in the next END process.
End process End process
End process
End process
Program
Execution completion of
the G(P).RIRD instruction
ON
G(P).RIRD instruction
OFF
ON
Completion device
OFF
Abnormal end
Status display device
at completion
Normal completion
OFF
1 scan
(d) Basic number of steps
The basic number of steps of the G(P).RIRD instruction is eight.
(e) Assignment of the receive buffer
programming tool. (
Page 102, Section 7.3.2 (2))
(3) Operation error
For the following cases, an operation error occurs; Error flag (SM0) turns on and the error code is stored in SD0.
Error code
2112
Condition that an operation error occurs
When the module specified by Un is not an intelligent function module
When the module specified by Un is not a special function module
4002
When attempting to execute an unsupported instruction
4003
When the number of devices for the instruction is incorrect
4004
When the device that cannot be used for the instruction is specified
4100
When the data that cannot be used for the instruction is contained
When the number of data used for the instruction is set beyond the allowable range.
4101
Or when the storage data or constants of the device specified with the instruction exceeds the
allowable range
179
9.2 G(P).RIRD
The assignment of the receive buffer is performed in "Station Information Setting" of the network parameter of a