
FC6A S
ERIES
M
ICRO
S
MART
A
LL
-
IN
-O
NE
T
YPE
C
OMMUNICATION
M
ANUAL
FC9Y-B1730
10-1
10: S
END
E-
F
UNCTION
Introduction
This chapter describes the EMAIL instruction that sends preregistered e-mails.
Overview
The HMI-Ethernet port of the HMI module supports the send E-mail function.
Up to 255 types of e-mails can be sent by executing the EMAIL instruction.
EMAIL Instruction (Send E-mail)
The EMAIL instruction sends an e-mail.
Operation Details
When the input to the EMAIL instruction is on, the EMAIL instruction sends an e-mail specified by S1. Once the FC6A Series
MicroSmart receives a response from the sending e-mail server, the completion output specified by D1 is turned on, and the
operation status (operation transition state and error code) is stored in the device specified by D2. D2+1 is reserved for the
system.
The EMAIL instruction is executed when the input to the instruction is on. When this input continues to be on, the same EMAIL
instruction is executed after the e-mail is sent. To avoid this, use the EMAIL instruction in combination with the SOTU (single
output up) instruction or the SOTD (single output down) instruction so that the EMAIL instruction start input is on for only one
scan. For the SOTU instruction and the SOTD instruction, see Chapter 4 "SOTU and SOTD (Single Output Up and Down)" in the
"FC6A Series MicroSmart LAD Programming Manual".
In order to use the EMAIL instruction, you must configure the settings such as e-mail server name on
E-mail Settings
in
HMI
Module Configuration
and create the FC6A Series MicroSmart e-mails in advance.
Valid Devices
*1 Special data registers cannot be used.
*2 Special internal relays cannot be used.
Devices in EMAIL Instruction
S1 (Source 1)
Specify the e-mail number. A constant or data register can be specified.
D1 (Destination 1)
Specify an internal relay or output as the completion output bit. When the FC6A Series MicroSmart receives a reply from the
sending e-mail server, the completion output bit is turned on. The completion output bit is also turned on when there is no reply
from the sending e-mail server within the timeout.
D2 (Destination 2)
Specify a data register as the operation status. Destination 2 occupies two consecutive data registers starting with the data
register specified by D2. The operation status is stored in D2. D2+1 is reserved for the system. Data registers D0000 to D7998,
and D10000 to 55998 can be specified.
Note:
When a data register is specified as S1, do not change the data register value while EMAIL instruction is executed.
D1
*****
S1
*****
D2
*****
Device
Function
I
Q
M
R
T
C
D
Constant
Repeat
S1
Source 1
E-mail number
-
-
-
-
-
-
1 - 255
-
D1
Destination 1
Completion output
-
X
-
-
-
-
-
-
D2
Destination 2
Operation status
-
-
-
-
-
-
-
-