6 - 24 6 - 24
MELSEC-Q
6 DEDICATED INSTRUCTIONS
Functions
(1) This instruction reads the data received from other station (a station connected to
MELSECNET/H, MELSECNET/10 or Ethernet network system) 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 GX Developer is
started.
The receive data is read using the RECVS instruction in this interrupt program.
SEND
Channel 1
Channel n
Channel 8
(D1)
[Local station]
[Response station]
QCPU
Ethernet module
Channel 1
Channel n
Channel 8
Ethernet
Q/QnACPU
Ethernet module
(D1)
(S)+2
RECVS
Interrupt
occurrence
[Operation when the RECVS instruction is being executed]
Sequence program
END
processing
Interrupt program
BUFRCVS instruction
Instruction execution
Receive
data storage
Data receiving
Scan
(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.
Errors
(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
H
or less
: QCPU (Q Mode) User's Manual (Hardware Design,
Maintenance and Inspection)
C000
H
or higher: Section 11.3.3 of the Q Corresponding Ethernet Interface
Module User's Manual (Basic)
Содержание QJ71E71-100 Series
Страница 2: ......
Страница 214: ...6 65 6 65 MELSEC Q 6 DEDICATED INSTRUCTIONS MEMO ...
Страница 219: ......