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:
REQ Input BOOL I, Q, M, D,
L, T, C or
Control parameter REQUEST: Acti-
vates the sending of an e-mail upon a
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
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
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
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-