G(P).Ondemand - Mitsubishi Melsec-L Series User Manual

Communication module
Hide thumbs Also See for Melsec-L Series:
Table of Contents

Advertisement

12.2 G(P).ONDEMAND

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lj71c24Lj71c24-r2

Table of Contents