10 - 17
MELSEC-F
USING THE E-MAIL FUNCTION10
10 - 17
10.8 Sending E-mail (Main Text) by the PLC
This section explains how to send the main text of e-mail.
10.8.1When sending data as main text of e-mail
The following explains the buffer memory address and sequence program for sending
e-mail.
This section explains how to store the data in main text and send it to the external
device.
1) Check whether mail can be sent or not.
(BFM#10334 b15: OFF)
2) Destination of the mail.
Turn the bit corresponding to the e-mail destination address to ON in
BFM#10337.
To send to all of the mail addresses registered (maximum 10 addresses),
write 3FF
H.
3) Write the mail data to the following buffer memory addresses.
(Subject: BFM#10339 to 10403)
(Attached file format: Set "0004
H" : BFM#10338)
(Mail text/word count of attached file : BFM#10403)
(Contents of main text: BFM#10404 to BFM#12451)
4) Write "0001
H" to BFM#10333 to send the mail.
5) Read the value in BFM#10334 to check if mail was correctly sent.