G(P).Bidin - Mitsubishi Melsec-L Series User Manual

Communication module
Hide thumbs Also See for Melsec-L Series:
Table of Contents

Advertisement

12.7 G(P).BIDIN

Setting
Internal device
data
(System, user)
Bit
Word
(S)
(D1)
(D2)
[Instruction
code]
G.BIDIN
GP.BIDIN
Setting data
Setting 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
12 - 27
Data can be received using the bidirectional protocol.
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 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 setting data.
Item
• Set receive channel
1: Channel 1 (CH1 side)
2: Channel 2 (CH2 side)
• Reception result by a BIDIN instruction are stored.
0:
Other than 0: Error code
• The number of data received is stored.
• Set the allowable number of words for received data that
can be stored in (D1).
POINT
G (P).BIDIN should be executed while the read request of the input/output signal is
turned on.
1 For error codes relating to abnormal completion, refer to Chapter 15.
2 When setting "Word/byte units designation" by GX Works2, set the number of
bytes when bytes are designated and set the number of words when words are
designated as the unit types.
3 The settings are done by either of the following:
• User
: Data set by the user before executing the BIDIN instructions.
• System : The CPU module stores the execution result of the BIDIN instructions.
Applicable device
Intelligent function
J \
module device
U \G
Word
G.BIDIN
GP.BIDIN
Description
Setting data
Normal
1
12 DEDICATED INSTRUCTIONS
Index register
Zn
Un
(S)
(D1)
Un
(S)
(D1)
Set by
User
User, system
System
System
Setting range
1, 2
2
(1 or more)
1 or more
Constant
Others
(D2)
(D2)
Data type
BIN16-bit
Device name
Bit
3
Set by
User
System
System
User
12 - 27

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lj71c24Lj71c24-r2

Table of Contents