Mitsubishi Electronics fx3u Garage Door Opener User Manual


 
10 - 10
MELSEC-F
USING THE E-MAIL FUNCTION10
10 - 10
10.7 Sending E-mail (Attached Files) by the PLC
This section explains how to send attached files when sending e-mails.
10.7.1When sending data as an attached file
The following explains the buffer memory addresses and program for sending e-mail.
The following instruction shows how to store data in an attached file and send it to an
external device.
1) Check whether mail can be sent or not.
(BFM#10334 b15: OFF)
2) Designate the 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, write to "3FF
H".
3) Write the mail data to the following buffer memory addresses.
(Subject: BFM#10339 to 10402)
(Attached file format: BFM#10338)
(Word count of attached file: BFM#10403)
(Contents of main text or attached file: BFM#10404 to 12451)
4) Write "0001H" in BFM#10333 to send the mail.
5) Read BFM#10334 to check if mail was correctly sent.