Chapter 19 Cc-Link Instructions; Reading Data From The Target Station - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

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

Advertisement

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
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
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.
Ladder
(U)
(s)
(d1) (d2)
FBD/LD
EN
ENO
U
d1
s
d2
■Execution condition
Instruction
G.RIRD
GP.RIRD
Setting data
■Description, range, data type
Operand
Description
(U)
Start I/O number (first three digits in four-digit
hexadecimal representation) of a module
(s)
Start device where control data is stored
(d1)
Start device for storing the read data
(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.
EN
Execution condition
ENO
Execution result
*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.
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
ST
ENO:=G_RIRD(EN,U,s,d1,d2);
ENO:=GP_RIRD(EN,U,s,d1,d2);
Range
Data type
00H to FEH
16-bit unsigned binary
Refer to the control data.
Device name
Device name
Bit
Bit
Bit
19.1 Reading Data from the Target Station
Data type (label)
ANY16
*1
ANY16
*1
ANY16
ANYBIT_ARRAY
(Number of elements: 2)
BOOL
BOOL
19 CC-LINK INSTRUCTIONS
19
1643

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents