Ondemand Instruction - Mitsubishi QJ71C24/-R2 User Manual

Melsec system q programmable logic controllers, serial communication modules gx configurator-sc
Hide thumbs Also See for QJ71C24/-R2:
Table of Contents

Advertisement

9 DEDICATED INSTRUCTIONS

9.2 ONDEMAND Instruction

Internal device
Set
data
(System, user)
Bit
Word
(S1)
(S2)
(D)
[Instruction
code]
ONDEMAND
ONDEMAND
Set data
Set data
Control data
Device
(S1) + 0
Transmission channel
(S1) + 1
Transmission result
9
(S1) + 2
Transmission data count
9 - 2
The ONDEAMAND instruction transmission data using the on-demand function of the
MC protocol.
MELSECNET/H,
MELSECNET/10
File register
Direct J \
Bit
[Executing
condition]
Command
Command
Start I/O signal of the module
Un
(00 to FE: Top two-digit when I/O signals are expressed in 3-digit.)
(S1)
Head number of the devices in which control data is stored.
(S2)
Head number of the devices in which transmission data is stored.
(D)
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 transmission channel
1: Channel 1 (CH1 side)
2: Channel 2 (CH2 side)
• Result read by an ONDEMAND instruction is stored.
0:
Other than 0: Error code
• Set the transmission data count.
1 For error codes relating to abnormal completion, see Chapter 10 of the User's
Manual (Basic).
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 PLC CPU stores the execution result of the ONDEMAND instructions.
Applicable device
Special module
Index register Zn
U \G
Word
G.ONDEMAND
Un
(S1)
(S1)
GP.ONDEMAND
Un
Description
Set data
Normal
1
2
MELSEC-Q
Constant Others
(S2)
(D)
(S2)
(D)
Set by
Data type
User
BIN16 bit
User,
system
Device name
User
System
Bit
3
Setting range
Set by
1, 2
User
System
1 or more
User
9 - 2

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qj71c24nSh-080007Qj71c24n-r2Qj71c24n-r4Qj71c24Qj71c24-r2 ... Show all

Table of Contents