EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 1658

Mitsubishi Electric MELSEC iQ-R Series
2110 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1656
19 CC-LINK INSTRUCTIONS
19.4 Writing Data to the Buffer Memory of the Specified Intelligent Device Station
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.
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.
Precautions
The monitoring time and the number of retries can be set with the following link special registers (SWs).
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
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.
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.
Monitoring time setting (SW0009)
Setting of the number of retries for dedicated instruction (SW000B)
Error code
((s1)+0)
Description
4000H to 4FFFH MELSEC iQ-R CPU Module User's Manual (Application)
B000H to BFFFH MELSEC iQ-R CC-Link System Master/Local Module User's Manual (Application)
G(P).RISEND
(s2)
(d)
Ô
×
Ó
Õ
Ö
Ò
RX
RY
RX
RY
Send buffer Buffer memory
CPU module
CC-Link intelligent device station
CC-Link master station
[Own station] [Target station]

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals