EasyManua.ls Logo

Siemens SIMATIC S7-1200 - Page 890

Siemens SIMATIC S7-1200
1614 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Communication
11.2 PROFINET
S7-1200 Programmable controller
890 System Manual, V4.2, 09/2016, A5E02486680-AK
MAIL_ADDR_PARAM parameter
At the MAIL_ADDR_PARAM parameter, you define the connection for sending the e-mail in
the structure Tmail_v4 or Tmail_FQDN, and save the e-mail server address and login details.
The structure you use at the MAIL_ADDR_PARAM parameter depends on the format in
which the e-mail server is to be addressed:
Tmail_v4: Addressing by IP address (IPv4).
Tmail_FQDN: Addressing by fully qualified domain name (FQDN).
Which structure you can use depends on the interface addressed at the InterfaceId
parameter. If you want to use the "TMAIL_C" instruction with the internal interface, the
structure Tmail_v4 must be used at the MAIL_ADDR_PARAM parameter.
Table 11- 37
Tmail_v4: Addressing the mail server by IP address (IPv4)
Parameter
Data type
Description
Tmail_v4
Struct
InterfaceId LADDR Hardware identifier of the interface
ID
CONN_OUC
Connection ID
ConnectionType BYTE Connection type. Select 16#20 as the connection type for
IPv4.
ActiveEstablished
BOOL
Status bit. Set to "1" once the connection is established.
CertIndex BYTE =0: SMTP used (
S
imple
M
ail
T
ransfer
P
rotocol). SMTP
must be used if the e-mail is being sent via the interface of
an S7-1200 CPU.
WatchDogTime TIME Execution watchdog. Use this parameter to define the
maximum execution time for the send operation.
Note: Connection establishment can take longer (approx.
one minute) if the connection is slow. When you specify the
WATCH_DOG_TIME parameter, remember to allow for the
time required to establish the connection.
The connection is terminated once the specified time has
elapsed.
MailServerAddress IP_v4 IP address of the mail server. IPv4 in the following format:
XXX.XXX.XXX.XXX (decimal).
Example: 192.142.131.237.
UserName STRING[254] Mail server login name
PassWord
STRING[254]
Mail server password
From EMAIL_ADDR E-
mail sender address, which is defined using the following
two STRING parameters. For example: "my-
name@mymailserver.com".
Local-
PartPlusAtSign
STRING[64] Local part of sender address, including @ sign. Example:
"myname@".
FullQualified-
DomainName
STRING[254] Fully Qualified Domain Name ( FQDN for short) of the mail
server. Example: "mymailserver.com".

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals