Mitsubishi Electric Melsec Q Series User Manual page 219

Ethernet interface module
Hide thumbs Also See for Melsec Q Series:
Table of Contents

Advertisement

6 DEDICATED INSTRUCTIONS
Setting data
Set data
Network number of the local station (1 to 239, 254)
Jn
254: The network designated by the valid module during other station access.
Start I/O signal of the local station's Ethernet net module.
Un
(00 to FE: The higher 2 digits of the 3-digit I/O signal.)
(S1)
Head device of the local station that stores the control data.
(S2)
Head device of the local station that stores data to be written.
(D1)
Head device of the target station to which data is written.
Local station device that is turned on for one scan by the completion of the
(D2)
instruction.
(D2) + 1 is turned on if the instruction execution completes abnormally.
Device of the target station that is turned on for one scan by the completion of
(D3)
the instruction. (Write notification device)
6 - 52
Description
4 The "Set by" column indicates the following:
• User: Data is set by the user before executing a dedicated instruction.
• System: The programmable controller CPU stores the execution result of a
dedicated instruction.
The local devices and the file register for each program cannot be used as devices
used in setting data.
POINT
(1) The SWRITE instruction can be executed only when the target station is a
Q/L/QnACPU.
(The SWRITE instruction cannot be executed for an ACPU connected to the
MELSECNET/10 or Ethernet network system.) Therefore, the target station
number should be the station numbers of Q/L/QnACPU.
(2) When writing data from the other station CPU module device with the SWRITE
instruction, specify the device within the range applicable to the host station
CPU module.
(Head device number to be write in other station CPU module (D1)) + (number
of write points -1)
: Last device number in host station CPU module having the same device
name as (D1).
(3) Use the file register (ZR) when specifying the expansion data register (D) or
the expansion link register (W) that are out of area of the data register (D) or
the link register (W) on the host CPU module respectively (excluding the
Universal model QCPU and the LCPU).
For how to calculate areas for the file register (ZR), refer to the User's Manual
(Function Explanation, Program Fundamentals) for the CPU module used.
(Example) When not assigning the data register (D) of the other station CPU
module, or assigning all of the 32K points of the file register (ZR) to the
expansion data register (D).
1
Host CPU module
D0
Data register
D12287
1 File register with 32K points or more is required for the host CPU.
< (last device number of host station CPU module
Other station
CPU module
D0
ZR0
Expansion data
register
D12287
ZR12287
D12288
ZR12288
D32767
ZR32767
MELSEC-Q/L
4
Set by (
)
Data type
User
Binary 16 bits
User, system
Device name
User
System
Specify within D0 to 12287
Specify within ZR12288 to 32767
Bit
)
6 - 52

Advertisement

Table of Contents
loading

Table of Contents