1694
20 SERIAL COMMUNICATION INSTRUCTIONS
20.7 Reading the Data Send/Receive Status
20.7 Reading the Data Send/Receive Status
G(P).SPBUSY
These instructions read the send/receive status of data using the instruction.
■Execution condition
■Description, range, data type
■Applicable devices
*1 Index modification is not available.
*2 FD cannot be used.
Ladder ST
ENO:=G_SPBUSY(EN,U,d);
ENO:=GP_SPBUSY(EN,U,d);
FBD/LD
Instruction Execution condition
G.SPBUSY
GP.SPBUSY
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 16-bit unsigned binary ANY16
(d) Start device for storing the read communication status Device name ANY16
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
(d)
*2
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)