1496
15 NETWORK COMMON INSTRUCTIONS
15.1 Link Dedicated Instructions
• When executing multiple link dedicated instructions concurrently, be careful not to overlap the channels of the link
dedicated instructions. Multiple link dedicated instructions specifying the same channel cannot be used concurrently.
• When the RECV instruction is used to read receive data from the same channel, the RECVS instruction (for use in interrupt
programs) cannot be used in combination.
• The execution status and the completion status of the RECV instruction can be checked with the completion device (d2)
and the completion status indication device (d2)+1.
• The following figure shows the execution timing of the RECV instruction.
• Read processing is performed only once on the rising edge when the read command turns on.
Operation error
• Completion device (d2)
This device turns on during END processing of the scan where the RECV instruction completes, and turns off during the next END processing.
• Completion status indication device (d2)+1
This device turns on or off depending on the completion status of the RECV instruction.
When completed successfully: The device remains off.
When completed with an error: The device turns on during END processing of the scan where the RECV instruction completes, and turns off during the next
END processing.
• When completed successfully
For the execution timing, refer to the following functions.
• When completed with an error
Error code
((s)+1)
Description
C000H to CFFFH
MELSEC iQ-R Ethernet User's Manual (Application)
D000H to DFFFH
MELSEC iQ-R CC-Link IE Field Network User's Manual (Application)
E000H to EFFFH
MELSEC iQ-R CC-Link IE Controller Network User's Manual (Application)
OFF
OFF
OFF
OFF
OFF
ON
ON
ON
RECV
END
0
END
0
END
0
END
0
END
0
1 scan
Error code
Arrival timeout
Channel n
Network
module
CPU module on
the own station
Sequence scan
RECV execution
request area
Completion device
(d2)
Completion status
indication device
(d2)+1
Completion status
(s)+1
Summary of Contents for MELSEC iQ-R Series
Page 1: ...MELSEC iQ R Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 24: ...22 INDEX 2092 INSTRUCTION INDEX 2093 REVISIONS 2104 WARRANTY 2105 TRADEMARKS 2106 ...
Page 34: ...32 MEMO ...
Page 35: ...33 PART 1 PART 1 OVERVIEW This part consists of the following chapter 1 OVERVIEW ...
Page 68: ...66 1 OVERVIEW 1 5 Precautions on Programming MEMO ...
Page 1448: ...1446 14 REDUNDANT SYSTEM INSTRUCTIONS 14 2 Disabling Enabling System Switching MEMO ...
Page 1972: ...1970 33 TIME DATA TYPE FUNCTIONS 33 4 Division MEMO ...
Page 2067: ...APPX Appendix 5 PID Control Program Examples 2065 A 252 Set PID control data for loop 2 ...
Page 2109: ......