10 - 14 10 - 14
MELSEC-F
10 USING THE E-MAIL FUNCTION
M8000
[MOV
R1234
R1000
]
]
[MOV
H5678
R1001
R1002
]
[MOV
R9ABC
]
[FEND
99
[SRET
123
107
100
]
[END
124
]
P0
Head of
attached
data
[ZRST
R1000
R1255
]
Head of
attached
data
Creates
text data
NOTE
When an error occurs while sending e-mail from the sending mail server to an
external device, an error code is stored in the receiving error log area.
(2) Execution timing of the instruction
0000H
0000H
0001H
0000H
8000H
1)
2)
3)
4)
Initial
processing
sending start
Mail sending
completed
Initial processing
normal completion
Writing the necessary data
for sending a mail to BFM
Mail sending request
BFM#10333
Mail sending status
BFM#10334
Writing the mail
data to BFM
0001H (Normally completed)
0002H (Abnormally completed)
Communication
with a SMTP
server
1) Check whether the initial processing has been completed normally.
2) Write mail data to the buffer memory.
(Mail sending destination: BFM#10337…b0 to b9)
(Subject: BFM#10339 to 10402)
(Attached file format: BFM#10338)
(Word count of attached file: BFM#10403)
(Contents of main texts or attached files: BFM#10404 to 12451)
3) Write “0001
H
” in BFM#10333.
The e-mail is sent to the mail server.
4) When sending to the mail server is complete, the result is stored in
BFM#10334.
For details on causes of errors, see “Troubleshooting” in Section 11.
Summary of Contents for FX3U-ENET
Page 1: ...USER S MANUAL FX3U ENET ...
Page 2: ......
Page 159: ...8 6 8 6 MELSEC F 8 COMMUNICATION USING MC PROTOCOL MEMO ...
Page 295: ...App 25 App 25 MELSEC F APPENDIX MEMO ...
Page 297: ......