Download Print this page

Link Dedicated Instructions - Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

12.1

Link Dedicated Instructions

Reading data from another station programmable controller
GP.READ
This instruction reads data from a device in another station programmable controller. (In units of words)
Ladder diagram
(U)
FBD/LD
EN
ENO
Un
d1
s1
d2
s2
("GP_READ" enters .)
Setting data
■Descriptions, ranges, and data types
Operand
Description
*1
(U)
Position number of the module connected
(s1)
Own station head device where control data is stored
(s2)
Target station head device where the data to be read is
stored
(d1)
Own station head device for storing the read data
(d2)
Own station device to be turned on for one scan when the
instruction completes.
(d2)+1 also turns on when the instruction completes with
an error.
EN
Execution condition
ENO
Execution result
*1 In the case of the ST language and the FBD/LD language, U displays as Un.
*2 For the specifications of the string data to be specified, refer to the following.
(Page 767 Specifications of character string data specified by link dedicated instructions)
*3 The continuous area specified by the read data length (s1)+9 is required.
■Applicable devices
Operand
Bit
X, Y, M, L, SM,
F, B, SB, S
(U)
(s1)
(s2)
(d1)
*1
(d2)
*1 S cannot be used.
*2 T, ST, and C cannot be used.
12 NETWORK COMMON INSTRUCTION
768
12.1 Link Dedicated Instructions
(s1) (s2)
(d1) (d2)
Word
T, ST, C, D, W,
SD, SW, R
*2
Structured text
ENO:=GP_READ(EN,Un,s1,s2,d1,d2);
Range
1H to 10H
Refer to Page 769 Control
data.
*3
Double word Indirect
U\G
Z
LC
Data type
16-bit unsigned binary
Device name
*2
Character string
Device name
Bit
Bit
Bit
Constant
specification
LZ
K, H
Data type (label)
ANY16
ANY16
ANYSTRING_SINGL
*2
E
ANY16
ANYBIT_ARRAY
(Number of elements:
2)
BOOL
BOOL
Others
(U)
E
$

Hide quick links:

Advertisement

loading