10 - 3 10 - 3
MELSEC-Q
10 DEDICATED INSTRUCTIONS
10.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 \
Set
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)
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
(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
Set 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
Set 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, see Chapter 11.
2 When setting "Word/byte units designation" by GX Configurator-SC, 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 programmable controller CPU stores the execution result of the
ONDEMAND instructions.
Содержание MELSEC QJ71C24
Страница 1: ......
Страница 2: ......
Страница 103: ...3 42 3 42 MELSEC Q 3 SPECIFICATIONS MEMO ...
Страница 177: ...6 33 6 33 MELSEC Q 6 DATA COMMUNICATION USING THE NON PROCEDURE PROTOCOL MEMO ...
Страница 397: ...App 24 App 24 MELSEC Q APPENDIXES Connection example 3 Connection example 4 ...
Страница 441: ......
Страница 442: ......