Mitsubishi MELSEC-F User Manual page 219

Hide thumbs Also See for MELSEC-F:
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 - 20
(2) Execution timing of the instruction
Received
Received
Mail
mail count
mail count
receiving
check
check
start
1)
0000H
2)
3)
K0
K0
0000H
0001H
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; the
FROM/TO instruction should be executed based on this information to read
receive 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.
Following this information, execute the FROM/TO instruction for reading the
received mail.
In addition, note that the second mail overwrites the first mail.
Mail
receiving
completed
8000H
K1
4)
5)
Received
Received
Received
mail count
mail count
mail count
check
check
check
(Normal completion)
(Abnormal completion)
K0
K0
K0
0000H
" (mail receiving).
H
MELSEC-F
Received
mail count
check
K0
K0
" in
H
10 - 20

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u-enetFx3uc-enet

Table of Contents