Mitsubishi Electric QJ71E71-100 User Manual page 230

Q corresponding ethernet interface module
Table of Contents

Advertisement

(6) Using the e-mail function
(a) Receiving e-mails
• After the E71 receives an e-mail, send a response mail to the mail sending source so that the mail sending
source may recognize the arrival of the e-mail. If the receiving cannot be recognized, send the e-mail
again.
• After the MRECV instruction is executed, the read e-mail is deleted from the mail server. Therefore, when
system switching occurs during execution of the MRECV instruction, the mail may not be received by the
new control system CPU module after system switching even if the MRECV instruction is re-executed.
(The e-mail has been deleted from the mail server.)
(b) E-mail receiving program
In the following program, turning on X21 allows the E71 mounted on the slot where the I/O signals of X/Y00 to
X/Y1F are assigned to receive an e-mail by execution of the MRECV instruction and send a response mail to
the sending source by execution of the MSEND instruction.
228
Specify inquires to the server.
Specify the first mail reading.
Specify the matching to the data
length of a received mail.
Specify the matching to the header
data length of the received mail.
Read the received mail.
Normal receiving of the e-mail
Failure in the receiving of the e-mail
Text data (normal)
Text data (error)
Specify the text.
Specify the sending destination No.
Specify the send data length.
Specify the Subject length.
Specify the Subject.
Send an e-mail.
Completion
Abnormal end

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qj71e71-b5Qj71e71-b2

Table of Contents