EasyManua.ls Logo

Siemens SIMATIC S7-1200 - Page 888

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
888 System Manual, V4.2, 09/2016, A5E02486680-AK
Data types for the parameters
The following table shows the parameters of the "TMAIL_C" instruction:
Parameter
Declaration
Data type
Memory
area
Description
REQ Input BOOL I, Q, M, D,
L, T, C or
constant
Control parameter REQUEST: Acti-
vates the sending of an e-mail upon a
rising edge.
TO_S
(Page 891)
Input STRING D Recipient addresses
STRING with a maximum length of 180
characters (bytes).
For the e-mail address format, please
see the example in the parameter
description.
CC
(Page 891)
Input STRING D CC recipient addresses (optional)
STRING with a maximum length of 180
characters (bytes).
Same e-mail address format as for the
TO_S parameter. If an empty string is
assigned here, the e-mail is not sent to
a CC recipient.
SUBJECT Input STRING D Subject of the e-mail
STRING with a maximum length of 180
characters (bytes).
TEXT Input STRING D Text of the e-mail (optional)
STRING with a maximum length of 180
characters (bytes). If an empty string is
assigned at this parameter, the e-mail
is sent without text.
ATTACHMEN
T
Input VARIANT D E-mail attachment (optional)
Reference to a byte/word/double word
field (ArrayOfByte, ArrayOfWord or
ArrayOfDWord) with a maximum length
of 64 bytes. If no value is assigned, the
e-mail is sent without an attachment.
ATTACHMEN
T_NAME
Input VARIANT D E-mail attachment name (optional)
Reference to a character string with a
maximum length of 50 characters
(bytes) to define the file name of the
attachment. If an empty string is as-
signed at this parameter, the e-mail
attachment will be sent with the file
name "attachment.bin".
MAIL_ADDR_
PARAM
(Page 890)
Input VARIANT D Connection parameter and address of
the e-mail server
To define the connection parameters,
use the structure Tmail_v4 or
Tmail_FQDN (see parameter descrip-
tion).

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals