10 - 13
MELSEC-F
USING THE E-MAIL FUNCTION10
10 - 13
The table below shows the buffer memory to be used for sending mail.
(1) Send using the sequence program
The following explains how an e-mail is sent by the sequence program.
See (3) sending data for detail.
BFM number
Items Contents
Decimal
(Hexadecimal)
10333
(285D
H)
Mail sending command
Start mail sending (0001
H)
Ignore (0000
H)
10334
(285E
H)
Mail sending status
Initial status (0000
H)
Mail sending normally completed (0001
H)
Mail sending abnormally completed (0002
H)
Mail being sent (8000
H)
10335
(285F
H)
Error codes when sending
e-mail
When sending mail, the error code is cleared by the mail sending command (BFM
#10333: 0001
H), and error code is stored if an error occurs.
When sending mail to multiple addresses, the first error code found is stored, even
after other errors.
The second error and later errors are not stored.
10336
(2860
H)
Result of sending e-mail
Sending destination address 1 Success (b0: ON) / Failure (b0: OFF)
to
Sending destination address 10 Success (b9: ON) / Failure (b9: OFF)
10337
(2861
H)
Designation Address
of e-mail
Turns the bit of the e-mail destination address to ON.
Sending destination address 1 Enable (b0: ON) / Disable (b0: OFF)
to
Sending destination address 10 Enable (b9: ON) / Disable (b9: OFF)
10338
(2862
H)
Attached file format
Sends the attached file in binary format (0000
H)
Sends the attached file in ASCII format (0001
H)
Sends the attached file in CSV format (0002
H)
Sends the attached file as a text mail (0004
H)
10339 to 10402
(2863 to 28A2
H)
Subject
Stores a subject (maximum 128 characters)
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
10403
(28A3
H)
Word count of attached file Designates the word count of attached file (0 to 2048)
10404 to 12451
(28A4 to 30A3
H)
Main text or attached file Stores a main text or an attached file