12 - 27 12 - 27
12 DEDICATED INSTRUCTIONS
12.7 G(P).BIDIN
Data can be received using the bidirectional protocol.
Applicable device
Internal device
(System, user)
Link direct device
J \
Setting
data
Bit Word
File register
Bit Word
Intelligent function
module device
U \G
Index register
Zn
Constant Others
(S) —
—
(D1) —
—
(D2)
—
GP.BIDIN
G.BIDIN
GP.BIDIN
(D2)
(S)
(D1)
(D2)
(D1)
(S)
G.BIDIN
Un
Un
Command
Command
[Executing
condition]
[Instruction
code]
Setting 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
Setting 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 setting data.
Control data
Device
Item
Setting 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 a BIDIN instruction are stored.
0: Normal
Other than 0: Error code
1
— System
(S) + 2
Receive data count
• The number of data received is stored.
2
(1 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
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.
Содержание MELSEC LJ71C24
Страница 1: ......
Страница 2: ......
Страница 18: ...A 16 A 16 INDEX REVISIONS WARRANTY...
Страница 22: ...A 20 A 20 2 LJ71C24 R2 LJ71C24 R2 Before Using the Product...
Страница 23: ...A 21 A 21 MEMO...
Страница 38: ...4 2 4 2 4 PROCEDURES PRIOR TO OPERATION MEMO 4...
Страница 105: ...7 30 7 30 7 SETTINGS FOR THE C24 MEMO...
Страница 391: ...App 62 App 62 APPENDIXES 3 Refresh parameter setting In Refresh Parameter set the following network parameters...
Страница 425: ......
Страница 426: ......
Страница 427: ......