Mitsubishi Electric Melsec Q Series User Manual page 193

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

Advertisement

6 DEDICATED INSTRUCTIONS
Functions
[Local station]
Programmable
controller CPU
(D1)
[Operation when the RECVS instruction is being executed]
Errors
6 - 26
(1) This instruction reads the data received from other stations (a station connected to
other networks or Ethernet) at the local station storage channel ((S) + 2)
designated in the control data.
Data is sent using the SEND instruction.
When data is received from the transmission station, the receive data is stored
in the channel of the local station designated with the transmission station, and
the interrupt program with the interrupt number (Ixx) set with a programming
tool is started.
The receive data is read using the RECVS instruction in this interrupt program.
Ethernet module
Interrupt
occurrence
RECVS
Sequence program
RECVS instruction
(2) The Z.RECVS instruction is used in the interrupt program and its processing is
completed within one scan.
(3) RECVS instruction (interrupt program-use) can not be used with the instruction for
data link in cases where the same channel is used to read received data using the
instruction for data link.
(1) When a dedicated instruction completes abnormally, the abnormal completion
signal (D2)+1 turns on and the error code is stored in the completion status (S)+1.
See the following manuals regarding the error code, check the errors and take
corrective actions.
<Error codes>
4FFF
or less
H
C000
or higher: User's Manual (Basic)
H
[Response station]
Programmable
controller CPU
Channel 1
(D1)
Channel n
Channel 8
Interrupt program
Data receiving
data storage
: User's Manual (Hardware Design, Maintenance and
Inspection) for the CPU module used
MELSEC-Q/L
SEND
(S)+2
Ethernet
Scan
Instruction execution
Receive
Ethernet module
Channel 1
Channel n
Channel 8
END
processing
6 - 26

Advertisement

Table of Contents
loading

Table of Contents