2 - 23 2 - 23
MELSEC-Q
2 USING THE E-MAIL FUNCTION
1) Start up the local station PLC.
The parameters for the e-mail function are stored in the Ethernet module.
2) Check whether or not any received e-mails are stored on the mail server.
If any receive mail has been stored, the receive mail information is stored in
the buffer memory.
3) Execute the MRECV instruction.
Read e-mails from the server.
E-mails that have been read will not remain on the mail server.
4) The flag indicating whether or not there is a receive mail stays on by
designating "Inquire" with MRECV instruction's control data item.
5) When reading e-mails is completed, the MRECV instruction completion
device turns on.
When the completion 1 (abnormal completion signal) turns on, the
error code is stored in the control data completion status ((S)+1).
For details on the causes of errors, see "Troubleshooting" in the Q
Corresponding Ethernet Interface Module User's Manual (Basic).
6) Execute the MRECV instruction.
Continue to read e-mails remaining on the mail server.
POINT
(1) Reading receive mails to the Ethernet module
The Ethernet module automatically checks the mail server to see whether or
not there are any receive mails at the inquiry interval set with GX Developer.
If there are any receive mails addressed to the local station, the reception
information is stored in the buffer memory; the MRECV instruction should be
executed based on this information.
(2) When there are two or more receive mails on the mail server
By designating "Inquire" in the MRECV instruction's control data, the Ethernet
module also reads the information of the remaining receive mails on the mail
server and stores it in the buffer memory when the MRECV instruction is
executed.
Continue to execute the MRECV instruction based on this information.
Содержание QJ71E71-100 Series
Страница 2: ......
Страница 214: ...6 65 6 65 MELSEC Q 6 DEDICATED INSTRUCTIONS MEMO ...
Страница 219: ......