Mitsubishi Electric Melsec Q Series User Manual page 234

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

Advertisement

6 DEDICATED INSTRUCTIONS
[Operation of the local station when the ZNRD instruction is being executed]
Sequence program
ZNRD instruction
Send/receive
direction flag
Completion device
Status display device
at completion
Errors
Program example
6 - 67
(b) Status display device at completion ((D2) + 1)
Turns on and off depending on the completion status of the ZNRD instruction.
Normal completion : Stays off and does not change.
Abnormal completion: Turns on at the END processing of the scan where
END
END
processing
processing
ON
OFF
ON
OFF
OFF
OFF
(1) When execution of a dedicated instruction ends with an error, the abnormal
completion signal (D2)+1 turns ON and the result is stored in the data link
instruction execution result (ZNRD instruction) storage area (address: 207) of the
buffer memory.
See the following manuals regarding the error code, check the errors and take
corrective actions.
<Error codes>
4FFF
or less
: User's Manual (Hardware Design, Maintenance and Inspection)
H
C000
or higher: User's Manual (Basic)
H
A program that reads the contents of D10 to 14 of station number 4 from D200 to
204 of station number 1.
the ZNRD instruction is completed, and turns off at
the next END processing.
ZNRD instruction execution
is completed
for the CPU module used
When I/O signals of the Ethernet module are X/Y00 to X/Y1F
MELSEC-Q/L
END
END
processing
processing
ON
Abnormal
ON
completion
Normal
completion
One scan
X19: Initial normal completion signal
Normal completion display
Error code
Error completion display
6 - 67

Advertisement

Table of Contents
loading

Table of Contents