Download Print this page

Reading Data From Another Station Programmable Controller (With Notification) - Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual

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

Advertisement

Reading data from another station programmable controller (with
notification)
GP.SREAD
This instruction reads data from a device in another station programmable controller. (In units of words)
After the data reading is completed by the GP.SREAD instruction, the device of the other station is turned on. The other
station can recognize that data has been read by the GP.SREAD instruction.
Ladder diagram
(U)
FBD/LD
EN
ENO
Un
d1
s1
d2
s2
d3
("GP_SREAD" 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.
(d3)
Target station device to be turned on for one scan when
the instruction completes (The target station can
recognize that data has been read from another station.)
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.
12 NETWORK COMMON INSTRUCTION
772
12.1 Link Dedicated Instructions
(s1)
(s2)
(d1) (d2)
(d3)
Structured text
ENO:=GP_SREAD(EN,Un,s1,s2,d1,d2,d3);
Range
1H to 10H
Refer to Page 773
Control data.
*3
Data type
Data type (label)
16-bit unsigned binary
ANY16
Device name
ANY16
*2
Character string
ANYSTRING_SINGLE
Device name
ANY16
Bit
ANYBIT_ARRAY
(Number of elements: 2)
*2
Character string
ANYSTRING_SINGLE
Bit
BOOL
Bit
BOOL
*2
*2

Hide quick links:

Advertisement

loading