Sending/Receiving E-Mail (Attached Files) By The Plc; When Sending Data As An Attached File - Mitsubishi MELSEC-F User Manual

Hide thumbs Also See for MELSEC-F:
Table of Contents

Advertisement

10 USING THE E-MAIL FUNCTION

10.7 Sending/Receiving E-mail (Attached Files) by the PLC

10.7.1 When sending data as an attached file

BFM number
Decimal
(Hexadecimal)
10333
Mail sending command
(285DH)
10334
Mail sending status
(285EH)
10336
Result of sending e-mail
(2860H)
10337
Designation Address
(2861H)
of e-mail
10338
Attached file format
(2862H)
10339 to 10402
Subject
(2863 to 28A2H)
10403
Word count of attached file
(28A3H)
10404 to 12451
Main text or attached file
(28A4 to 30A3H)
10 - 12
This section explains how to send and receive attached files by e-mail.
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
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 "0001
" in BFM#10333 to send the mail.
H
5) Read BFM#10336 to check if mail was correctly sent.
The table below shows the buffer memory to be used for sending mail.
Items
Start mail sending (0001H)
Ignore (0000H)
Initial status (0000H)
Mail sending normally completed (0001H)
Mail sending abnormally completed (0002H)
Mail being sent (8000H)
Sending destination address 1
Sending destination address 10
Turns the bit of the e-mail destination address to ON.
Sending destination address 1
Sending destination address 10
Sends the attached file in binary format (0000H)
Sends the attached file in ASCII format (0001H)
Sends the attached file in CSV format (0002H)
Sends the attached file as a text mail (0004H)
Subject consists of the send destination number and the character data designated by
the sequence program.
(It is not converted to ASCII format.)
* The Subject should be designated in ASCII characters in the sequence program.
* When the subject consists of less than 128 characters, write "\0" at the end of the
subject
Designates the number of words of main text/attached file (0 to 2048)
Stores a main text or an attached file
Contents
Success (b0: ON) / Failure (b0: OFF)
to
Success (b9: ON) / Failure (b9: OFF)
Enable (b0: ON) / Disable (b0: OFF)
to
Enable (b9: ON) / Disable (b9: OFF)
MELSEC-F
".
H
10 - 12

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u-enetFx3uc-enet

Table of Contents