Mitsubishi Electric Melsec Q Series User Manual page 238

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 ZNWR instruction is being executed]
Sequence program
ZNWR instruction
Send/receive
direction flag
Completion device
Status display device
at completion
Errors
Program example
6 - 71
(b) Status display device at completion ((D2) + 1)
Turns on and off depending on the completion status of the ZNWR 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 (ZNWR instruction) storage area (address: 209) 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 writes the contents of D300 to 303 of station number 2 to D50 to 53
of station number 3.
the ZNWR instruction is completed, and turns off at
the next END processing.
ZNWR 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 - 71

Advertisement

Table of Contents
loading

Table of Contents