Mitsubishi Electronics QJ71C24N Network Card User Manual


 
9 - 8 9 - 8
MELSEC-Q
9 DEDICATED INSTRUCTIONS
9.4 INPUT Instruction
This instruction receives data in any message format specified by the user using the
non procedure protocol.
Applicable device
Internal device
(System, user)
MELSECNET/H,
MELSECNET/10
Direct J
\
Set
data
Bit Word
File register
Bit Word
Special module
U
\G
Index register Zn Constant Others
(S)
(D1)
(D2)
INPUT
(D2)
(S) (D1)
G.INPUT
Un
Command
[Executing
condition]
[Instruction
code]
Set data Description Set by Data type
Un
Start I/O signal of the module
(00 to FE: Top two-digit when I/O signals are expressed in 3-digit.)
User BIN16 bit
(S) Head number of the devices in which control data is stored.
User,
system
(D1) Head number of the devices in which receive data is stored. System
Device name
Set data
(D2) Bit device number to be turned on at completion of execution. System Bit
The file register per local device and program cannot be used as the set data.
Control data
Device Item Set data Setting range Set by
3
(S) + 0 Receive channel
• Set receive channel
1: Channel 1 (CH1 side)
2: Channel 2 (CH2 side)
1, 2 User
(S) + 1 Reception result
• Reception result by an INPUT instruction are
stored.
0: Normal
Other than 0: Error code
1
—System
(S) + 2 Receive data count
• Receive data count is stored.
2
0 or more System
(S) + 3
Allowable number of
receive data
• Set the allowable number of words for received
data that can be stored in (D1).
1 or more User
POINT
(1) The command of G.INPUT cannot be converted into pulse.
(2) G.INPUT should be executed while the read request of the input/output signal
is turned on.