G(P).Spbusy - Mitsubishi Electric QJ71C24N User Manual

Q corresponding serial communication module
Table of Contents

Advertisement

10 DEDICATED INSTRUCTIONS

10.8 G(P).SPBUSY

Set
Internal device
data
(System, user)
Bit
Word
(D)
[Instruction
code]
G.SPBUSY
GP.SPBUSY
Set data
Set data
Un
(D)
Function
b15 to
b6
b5
(D) + 0
(D) + 1
10 - 29
This instruction reads the status of data transmission and reception executed with
dedicated instructions.
Link direct device
File register
Bit
[Executing
condition]
Command
Command
Start I/O signal of the module
(00 to FE: Top two-digit when I/O signals are expressed in 3-digit.)
Head number of devices in which the read communication status is
stored.
(1) The function reads the execution status of a dedicated instruction directed to a
module designated by the start I/O signal, and stores it in the device designated
by (D) or later.
(2) The execution status is stored in (D) in the form of "1" at the corresponding bit
when the processing of each instruction is started, and "0" when the processing is
completed.
The processing of each instruction is completed when the completion flag of each
instruction is turned from on to off.
b4 b3b2b1 b0
Stores the execution status of ONDEMAND, OUTPUT, PRR, and BIDOUT instructions directed to channel 1.
Stores the execution status of INPUT and BIDIN instructions directed to channel 1.
Stores the execution status of ONDEMAND, OUTPUT, PRR, and BIDOUT instructions directed to channel 2.
Stores the execution status of INPUT and BIDIN instructions directed to channel 2.
Stores the execution status of GETE and PUTE instructions.
Stores the CPRTCL instruction execution status of channel 1.
Stores the CPRTCL instruction execution status of channel 2.
(Always stores "0".)
0
(3) The SPBUSY instruction is executed for every scan while the read command is
ON, if the system is executing during ON. And, the instruction will be executed for
a single scan when the read command rises from OFF to ON, if the system is
starting up.
(4) Simultaneous execution of dedicated instructions
It is possible to execute another instruction during execution of the SPBUSY
instruction and to execute the SPBUSY instruction during execution of another
instruction.
Applicable device
Intelligent function
J \
module device
Word
U \G
Description
Index register
Constant
Zn
Un
G.SPBUSY
Un
GP.SPBUSY
Set by
User
System
MELSEC-Q
Others
(D)
(D)
Data type
BIN16 bit
Device name
10 - 29

Advertisement

Table of Contents
loading

Table of Contents