![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/d/e9/de9af885-9b9b-45f2-93c2-15fb87cee879/de9af885-9b9b-45f2-93c2-15fb87cee879-bg115.png)
5.4 Network Dedicated Instruction
5.4.27 BUFRCV instruction
5-227
ZP_BUFRCV
5
MODULE DEDICATED
INSTRUCTION
ZP_BUFRCV
5.4.27 BUFRCV instruction
ZP_BUFRCV
*1: Local devices and file registers per program cannot be used as setting data.
This instruction reads receive data from external device in fixed buffer communication.
This instruction is used in a main program.
ZP_BUFRCV
Executing condition
:
indicates the following instruction.
ZP_BUFRCV
Input argument EN:
Executing condition :Bit
Un*:
Start I/O number of the module
(00 to FE: Higher two digits when expressing the I/O number in
three digits)
:String
s1:
Connection number (1 to 16) :ANY16
s2:
Variable that stores control data :Array of ANY16 [0..1]
Output argument ENO:
Execution result :Bit
d1:
Start number of the device that stores read data :ANY16
d2:
Variable that turns ON upon completion of the instruction
d2[1] also turns ON at the time of error completion.
:Array of bit [0..1]
Setting
data
*1
Internal device
R, ZR
J\
U\G
Zn
Constant
K, H
Others
Bit Word Bit Word
Ether
EN ENO
Un* d1
d2s1
s2
ZP_BUFRCV
Structured ladder/FBD ST
ZP_BUFRCV
(EN, Un*, s1, s2, d1, d2);
ENO:=
s1
s2
d2