1696
20 SERIAL COMMUNICATION INSTRUCTIONS
20.8 Receiving Data Using an Interrupt Program
20.8 Receiving Data Using an Interrupt Program
Z.BUFRCVS
This instruction uses the interrupt program to receive communication data by using the nonprocedural or bidirectional
protocol.
■Execution condition
■Description, range, data type
*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.
■Applicable devices
*1 Index modification is not available.
*2 FX and FY cannot be used.
*3 FD cannot be used.
Ladder ST
ENO:=Z_BUFRCVS(EN,U,s,d);
FBD/LD
Instruction Execution condition
Z.BUFRCVS
Operand Description Range Data type Data type (label)
(U) Start I/O number (first three digits in four-digit hexadecimal
representation) of a module
00H to FEH String ANY16_OR_STRING
_SINGLE
(s) Specifies the receive channel.
• 1: Channel 1 (CH1 side)
• 2: Channel 2 (CH2 side)
1, 2 16-bit unsigned binary ANY16
(d) Start device for storing the receive data
(The receive data is read from the receive area in the buffer
memory.)
Device name ANY16
*1
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
Operand Bit Word Double word Indirect
specification
Constant Others
(U)
X, Y, M, L,
SM, F, B, SB,
FX, FY
J\ T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
U\G, J\,
U3E\(H)G
Z LT, LST,
LC
LZ K, H E $
(U)
*1
(s)
*2
*3
(d)
*3
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)