Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 1658

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Processing details
• This instruction automatically performs handshake with the specified intelligent device station and writes data to its buffer
memory.
• The instruction can be executed, from the master station, for an intelligent device station with a handshake signal (e.g.
AJ65BT-R2N).
• The following figure shows how the G(P).RISEND instruction operates during execution.
[Own station]
CPU module
(s2)
(d)
 A request is issued to write data to the buffer memory address specified by (s1)+3 that is included in the station specified by (s1)+1.
 The data from the device specified by (s2) and later is stored in the send buffer of the master station.
 The master station writes the data of the send buffer in the buffer memory of the target station.
 The master station turns on the remote output (RY) specified by (s3)+0.
 Upon completion of processing against the remote output (RY), the target station turns on the remote input (RX) specified by (s3)+1. It turns off the remote
input (RX) specified by (s3)+1 by turning on and off the remote output (RY) specified by (s3)+1.
 The device specified by (d) is turned on.
• The completion status of the G(P).RISEND instruction can be checked with the completion device (d) and the completion
status indication device (d)+1.
• Completion device (d)
This device turns on during END processing of the scan where the G(P).RISEND instruction completes, and turns off during the next END processing.
• Completion status indication device (d)+1
This device turns on or off depending on the completion status of the G(P).RISEND 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 G(P).RISEND instruction completes, and turns off during the
next END processing.
Precautions
• The monitoring time and the number of retries can be set with the following link special registers (SWs).
• Monitoring time setting (SW0009)
• Setting of the number of retries for dedicated instruction (SW000B)
• The G(P).RISEND instruction can be concurrently executed for two or more intelligent device stations. Two or more
dedicated instructions, including those other than G(P).RIRD, cannot be concurrently executed for a single station. If the
next dedicated instruction is issued before completion of the preceding one that has started, the next one will be ignored.
Create the program so that the next dedicated instruction will start after the completion device turns on, because
processing of a dedicated instruction takes several scans until its completion.
Operation error
Error code
Description
((s1)+0)
 MELSEC iQ-R CPU Module User's Manual (Application)
4000H to 4FFFH
 MELSEC iQ-R CC-Link System Master/Local Module User's Manual (Application)
B000H to BFFFH
19 CC-LINK INSTRUCTIONS
1656
19.4 Writing Data to the Buffer Memory of the Specified Intelligent Device Station
CC-Link master station
G(P).RISEND
RX
Ò
RY
Ó
Send buffer
×
[Target station]
CC-Link intelligent device station
RX
Ö
RY
Õ
Buffer memory
Ô

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents