G(P).Ondemand - Mitsubishi Electric QJ71C24N User Manual

Q corresponding serial communication module
Table of Contents

Advertisement

10 DEDICATED INSTRUCTIONS

10.2 G(P).ONDEMAND

Set
Internal device
data
(System, user)
Bit
Word
(S1)
(S2)
(D)
[Instruction
code]
G.ONDEMAND
GP.ONDEMAND
Set data
Set data
Un
(S1)
(S2)
(D)
Control data
Device
(S1) + 0
Transmission channel
(S1) + 1
Transmission result
(S1) + 2
Transmission data count
10 - 3
Data can be sent using the on-demand function of the MC protocol.
Link direct device
J \
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 transmission 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 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 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.
Applicable device
Intelligent function
module device
U \G
Word
G.ONDEMAND
Un
GP.ONDEMAND
Un
Description
Set data
Normal
1
2
MELSEC-Q
Index register
Constant
Zn
(S1)
(S2)
(D)
(S1)
(S2)
(D)
Set by
User
User, system
User
System
Setting range
1, 2
1 or more
Others
Data type
BIN16 bit
Device name
Bit
3
Set by
User
System
User
10 - 3

Advertisement

Table of Contents
loading

Table of Contents