Fixed Buffer Communications Instructions; Reading Receive Data - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

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

Advertisement

16.3

Fixed Buffer Communications Instructions

Reading receive data

GP.BUFRCV, ZP.BUFRCV
RnPCPU
RnCPU RnENCPU
(Process)
These instructions read receive data from the external device through fixed buffer communications
Ladder
(U)
FBD/LD
EN
ENO
U
d1
s1
d2
s2
■Execution condition
Instruction
GP.BUFRCV
ZP.BUFRCV
Setting data
■Description, range, data type
Operand
Description
(U)
GP.BUFRCV
Start I/O number (first three digits in four-digit
hexadecimal representation) of own station or own
node
ZP.BUFRCV
Start I/O number (first three digits in four-digit
hexadecimal representation) of own station or own
node
(s1)
Connection No.
(s2)
Start device of the own station where control data is
stored
(d1)
Own station start device for storing the receive data
(d2)
Device of the own station, which 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.
16 ETHERNET INSTRUCTIONS
1554
16.3 Fixed Buffer Communications Instructions
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
(s1) (s2)
(d1) (d2)
Execution condition
ST
ENO:=GP_BUFRCV(EN,U,s1,s2,d1,d2);
ENO:=ZP_BUFRCV(EN,U,s1,s2,d1,d2);
Range
Data type
00H to FEH
16-bit unsigned binary
00H to FEH
String
1 to 16
16-bit unsigned binary
Refer to the control data.
Device name
Device name
Bit
Bit
Bit
Data type (label)
ANY16
ANY16_OR_STRING_
SINGLE
ANY16
*1
ANY16
*1
ANY16
ANYBIT_ARRAY
(Number of elements: 2)
BOOL
BOOL

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents