6 - 5 6 - 5
MELSEC-Q
6 DEDICATED INSTRUCTIONS
(2) If a received e-mail contains data exceeding the reception data length ((S) + 9)
designated in the control data of the MRECV instruction, only the data equivalent
to the designated reception data length will be stored and the remaining data will
be ignored.
(3) Whether or not there are mails on the mail server can be determined by the on
(receive mail)/off (no receive mail) of bit 15 of the mail information area (address:
2682
H
(9858)) in the buffer memory.
The information in the mail information area is updated when the MRECV
instruction execution completes.
(4) Whether the MRECV instruction is being executed or has been completed
normally or abnormally can be checked with the completion device (D2) or
completion status display flag ((D2) + 1) designated in the set data.
(a) Completion device (D2)
Turns on at the END processing of the scan where the MRECV instruction is
completed, and turns off at the next END processing.
(b) Status display device at completion ((D2) + 1)
Turns on and off depending on the completion status of the MRECV instruction.
Normal completion
: Stays off and does not change.
Abnormal completion: Turns on at the END processing of the scan where
the MRECV instruction is completed, and turns off
at the next END processing.
[Operation when the MRECV instruction is being executed]
Mail information area (b15)
MRECV instruction
completion device (D2)
(D2) + 1
One scan
Inquiry time interval
Inquiry
Ethernet
module
Mail server
Inquiry time interval
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: ......