Mitsubishi Electronics MELSEC-F Universal Remote User Manual


 
10 - 16
MELSEC-F
USING THE E-MAIL FUNCTION10
10 - 16
(2) Execution timing of the instruction
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.
*1
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.
*2
*1 Specify the attached file format by writing a parameter in BFM#10338
before sending e-mail.
0000
H: Sends the attached file in binary format
0001
H: Sends the attached file in ASCII format
0002H: Sends the attached file in CSV format
0004
H: Sends the attached file as a text mail
*2 For details on causes of errors, see "Troubleshooting" in Chapter 11.
(a) Designate binary format when communicating between Ethernet modules.
The name of the attached file is mmddhhss.bin (system date.bin).
mm: Month dd: Date hh: Hour ss: minute
(b) Designate either binary format, ASCII format or CSV format when a PC/UNIX
receives e-mail sent from an Ethernet module.
1) When binary format is designated
The name of the attached file is mmddhhss.bin (system date.bin).
mm: month dd: day hh: hour ss: minute
2) When ASCII format is designated
The name of the attached file is mmddhhss.asc (system date.asc).
mm: month dd: day hh: hour ss: minute
3) When CSV format is designated
The name of the attached file is mmddhhss.csv (system date.csv).
mm: month dd: day hh: hour ss: minute
* For details on how to receive e-mails, see (3).
* The system date for the file name is the data managed by the PLC in
which the Ethernet module is installed.
0000H
0000H
0001H
0000H
8000H
1)
2)
3)
4)
Initial
processing
Mail
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
0001
H (Normally completed)
0002
H (Abnormally completed)
Communication
with a SMTP
server