Overview; Email Instruction (Send E-Mail) - IDEC FC6A-C16K1CE Communications Manual

Fc6a series microsmart all-in-one type
Hide thumbs Also See for FC6A-C16K1CE:
Table of Contents

Advertisement

10: S
E-
END
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
Device
S1
Source 1
D1
Destination 1
D2
Destination 2
*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.
F
MAIL
UNCTION
Function
E-mail number
Completion output
Operation status
FC6A S
M
S
A
ERIES
ICRO
MART
EMAIL
S1
D1
* * * * *
* * * * *
I
Q
M
-
-
-
*2
-
X
X
-
-
-
-
-O
T
C
LL
IN
NE
YPE
OMMUNICATION
D2
* * * * *
R
T
C
D
Constant
*1
-
-
-
X
1 - 255
-
-
-
-
*1
-
-
-
X
M
FC9Y-B1730
ANUAL
Repeat
-
-
-
-
-
10-1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents