Mitsubishi Electric Melsec Q Series User Manual page 190

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

Advertisement

6 DEDICATED INSTRUCTIONS
Errors
Program example
When the data is stored in the receive station channel, the bit corresponding to each
channel of buffer memory RECV instruction execution request area turns on.
Data can be read automatically bu using this signal for the receive command.
The signal turns off shen the RECV instruction is completed.
6 - 23
(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
The following example shows a program that reads receive data from channel 5.
Processing program when receive completion
Processing program when normal completion
Processing program when abnormal
completion
: User's Manual (Hardware Design, Maintenance and
Inspection) for the CPU module used
When I/O signals of the Ethernet module are X/Y00 to X/Y1F
MOV
D21
D100
MELSEC-Q/L
Clock data setting required
Local station storage channel
Arrival monitoring time (20 s)
X19: Initial normal completion signal
Performs error code reading, etc.
6 - 23

Advertisement

Table of Contents
loading

Table of Contents