12 - 3 12 - 3
12 DEDICATED INSTRUCTIONS
12.2 G(P).ONDEMAND
Data can be sent using the on-demand function of the MC 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
(S1) —
—
(S2) —
—
(D)
—
Command
Command
[Executing
condition]
[Instruction
code]
G.ONDEMAND
GP.ONDEMAND
(D)
(S1)
(S2)
G.ONDEMAND
Un
GP.ONDEMAND
Un
(S1)
(S2)
(D)
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
(S1)
Head number of the devices in which control data is stored.
User, system
(S2)
Head number of the devices in which transmission data is stored.
User
Device name
Setting data
(D)
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
Setting data
Setting range
Set by
3
(S1) + 0
Transmission channel
• Set transmission channel
1: Channel 1 (CH1 side)
2: Channel 2 (CH2 side)
1, 2
User
(S1) + 1
Transmission result
• Result read by an ONDEMAND instruction is stored.
0: Normal
Other than 0: Error code
1
— System
(S1) + 2
Transmission data count
• Set the transmission data count.
2
1 or more
User
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.
3 The settings are done by either of the following:
• User : Data set by the user before executing the ONDEMAND instructions.
• System : The CPU module stores the execution result of the ONDEMAND
instructions.
Summary of Contents for MELSEC LJ71C24
Page 1: ......
Page 2: ......
Page 18: ...A 16 A 16 INDEX REVISIONS WARRANTY...
Page 22: ...A 20 A 20 2 LJ71C24 R2 LJ71C24 R2 Before Using the Product...
Page 23: ...A 21 A 21 MEMO...
Page 38: ...4 2 4 2 4 PROCEDURES PRIOR TO OPERATION MEMO 4...
Page 105: ...7 30 7 30 7 SETTINGS FOR THE C24 MEMO...
Page 425: ......
Page 426: ......
Page 427: ......