Mitsubishi Electric Melsec Q Series User Manual page 188

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

Advertisement

6 DEDICATED INSTRUCTIONS
Functions
6 - 21
POINT
(1) The receive data storage device (D1) requires a contiguous free area equal to
or greater than the receive data length ((S) + 9) (maximum of 960 words).
(2) Execute the RECV instruction every time the corresponding channel's bit in the
RECV instruction execution request area (address: 205) of the buffer memory
turns on (there is receive data).
(3) When the Ethernet modules on the same network are installed at the receive
station, execute RECV instruction by specifying Un of the Ethernet module
which stores the data sent by SEND instruction.
When the RECV instruction is executed with Jn specified, a programmable
controller CPU executes the RECV instruction to a module having the smallest
start I/O No.
(Example) Specify "U2" when executing the RECV instruction at station No. 3 in
response to the SEND instruction from station No. 1.
(Send station)
CPU
SEND
1 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.
2 For a list of error codes, see the User's Manual (Basic).
3 Nothing is stored if the execution source detects an error when receiving an
instruction.
REMARKS
The allowable receive data length ((S)+9) of the RECV instruction varies depending
on the version. (See the User's Manual (Basic))
Specifying a length value outside the setting range will cause a 4101 error
(OPERATION ERROR) on the local station.
(1) This instruction reads the data sent by a station connected to other networks or
Ethernet that were specified with the network number and station number of the
control data from the local station's Ethernet module.
The data is sent using the SEND instruction.
When data is received from the send station, the receive data is stored in the
channel of the local station designated with the send station, and the
corresponding bit in the RECV instruction execution request area (address:
205) of the Ethernet module buffer memory turns on. The received data is read
from the receive data storage channel using the ON status of the corresponding
bit of the RECV instruction execution request area to time the reading
operations.
When reading the receive data from the Ethernet module is completed, the
completion device designated by (D2) turns on.
Network No.1
Ethernet
Ethernet
CPU
module
module
Station
Station
No.1
No.2
MELSEC-Q/L
Ethernet
(Receive station)
module
Station
RECV U2
No.3
6 - 21

Advertisement

Table of Contents
loading

Table of Contents