10 - 20 10 - 20
MELSEC-F
10 USING THE E-MAIL FUNCTION
(2) Execution timing of the instruction
0000H
0000H
0001H
8000H
K0
K0
K1
K0
K0
K0
K0
K0
0000H
1)
2)
3)
4)
5)
Initial
processing
Received
mail count
check
Received
mail count
check
Mail
receiving
start
Mail
receiving
completed
Received
mail count
check
Received
mail count
check
Received
mail count
check
Received
mail count
check
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)
Communication
with the POP3
server
(Normal completion)
(Abnormal completion)
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
H
” in BFM#14500 to read e-mail from the server.
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
H
” (mail receiving).
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
H
" in
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.
Содержание FX3U-ENET
Страница 1: ...USER S MANUAL FX3U ENET ...
Страница 2: ......
Страница 159: ...8 6 8 6 MELSEC F 8 COMMUNICATION USING MC PROTOCOL MEMO ...
Страница 295: ...App 25 App 25 MELSEC F APPENDIX MEMO ...
Страница 297: ......