G.input - Mitsubishi Electric QJ71C24N User Manual

Q corresponding serial communication module
Table of Contents

Advertisement

10 DEDICATED INSTRUCTIONS

10.4 G.INPUT

Set
Internal device
data
(System, user)
Bit
Word
(S)
(D1)
(D2)
[Instruction
code]
G.INPUT
Set data
Set data
Un
(S)
(D1)
(D2)
Control data
Device
(S) + 0
Receive channel
(S) + 1
Reception result
(S) + 2
Receive data count
Allowable number of
(S) + 3
receive data
10 - 11
Data can be received in any user-defined message format using the non procedure
protocol.
Link direct device
J \
File register
Bit
[Executing
condition]
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 the devices in which control data is stored.
Head number of the devices in which receive data is stored.
Bit device number to be turned on at completion of execution.
The file register per local device and program cannot be used as the set data.
Item
• Set receive channel
1: Channel 1 (CH1 side)
2: Channel 2 (CH2 side)
• Reception result by an INPUT instruction are stored.
0:
Other than 0: Error code
• Receive data count is stored.
• Set the allowable number of words for received data
that can be stored in (D1).
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.
Applicable device
Intelligent function
module device
U \G
Word
Un
G.INPUT
Description
Set data
Normal
1
2
(0 or more)
MELSEC-Q
Index register
Constant
Zn
(S)
(D1)
(D2)
Set by
User
User, system
System
System
Setting range
1, 2
1 or more
Others
Data type
BIN16 bit
Device name
Bit
3
Set by
User
System
System
User
10 - 11

Advertisement

Table of Contents
loading

Table of Contents