EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Chapter 19 CC-Link Instructions; Reading Data from the Target Station

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...
19 CC-LINK INSTRUCTIONS
19.1 Reading Data from the Target Station
1643
19
19 CC-LINK INSTRUCTIONS
This chapter describes the instructions used commonly by MELSEC iQ-R series modules. For the instructions
when MELSEC-Q series modules are used, refer to the manuals for each module used and create programs.
For precautions when using modules, refer to the following.
MELSEC iQ-R Module Configuration Manual
19.1 Reading Data from the Target Station
G(P).RIRD
These instructions read data of the specified number of points from the buffer memory area of the target station or the device
of its CPU module.
Execution condition
Setting data
Description, range, data type
*1 When specifying setting data by using a label, define an array to secure enough operation area and specify an element of the array
label.
Ladder ST
ENO:=G_RIRD(EN,U,s,d1,d2);
ENO:=GP_RIRD(EN,U,s,d1,d2);
FBD/LD
Instruction Execution condition
G.RIRD
GP.RIRD
Operand Description Range Data type Data type (label)
(U) Start I/O number (first three digits in four-digit
hexadecimal representation) of a module
00H to FEH 16-bit unsigned binary ANY16
(s) Start device where control data is stored Refer to the control data. Device name ANY16
*1
(d1) Start device for storing the read data Device name ANY16
*1
(d2) Device that turns on for one scan upon completion of the
instruction
When the instruction completes with an error, (d2)+1
also turns on.
Bit ANYBIT_ARRAY
(Number of elements: 2)
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)
(U) (s) (d1) (d2)
EN ENO
d1
d2
U
s

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals