Mitsubishi Electric FX3U-ENET User Manual page 216

Hide thumbs Also See for FX3U-ENET:
Table of Contents

Advertisement

10
USING THE E-MAIL FUNCTION
Initial
processing
Initial processing
normally completed
Mail send/reception status
BFM#14501
Number of mails remaining
on the POP3 server
BFM#22640
Receiving processing
for received mail
BFM#14500 (TO instruction)
10 - 21
(2) Execution timing of the instruction
Received
Received
Mail
mail count
mail count
receiving
check
check
start
1)
0000
H
2)
3)
K0
K0
0000
0001
4)
H
H
1) Check whether the initial processing has been completed normally or not.
2) Read the value in BFM#22640 to see whether there is incoming mail in the
mail server.
3) Write "0001
" in BFM#14500 to read e-mail from the server.
H
*E-mail read from the server do not remain on the server.
4) The received mail data is written in the buffer memory address.
Mail receiving status (BFM#14501) becomes "8000
5) The received mail is deleted from the server and the number of receivable
mail is stored in BFM#22640 again.
6) When there is receivable mail on the server, read them by writing "0001
BFM#14500.
POINT
(1) Reading receive mails to the Ethernet module
The Ethernet module automatically checks the mail server to see whether
there is incoming mail at the inquiry interval set with Mail parameter
(BFM#9904).
If there is incoming mail, the reception information is stored in BFM#22640;
Execute mail receiving processing based on this information, and read the
incoming mail.
(2) When there are two or more received mail on the mail server
After reading a mail, the received mail information on the mail server is read
again and stored in BFM#22640.
Execute mail receiving processing continuously based on this information,
and read the second incoming mail.
In addition, note that the second mail overwrites the first mail.
Mail
Received
receiving
mail count
completed
check
8000
H
K1
K0
0000
5)
MELSEC-F
Received
Received
Received
mail count
mail count
mail count
check
check
check
(Normal completion)
(Abnormal completion)
K0
K0
K0
H
" (mail receiving).
H
K0
" in
H
10 - 21

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u-enet-l

Table of Contents