EasyManua.ls Logo

Siemens SIMATIC S7-1200 - 11.2.8.13 TMAIL_C (Send an email using the Ethernet interface of the CPU) instruction

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
System Manual, V4.2, 09/2016, A5E02486680-AK
885
11.2.8.13
TMAIL_C (Send an email using the Ethernet interface of the CPU) instruction
Overview
You use the "TMAIL_C" instruction to send an e-mail using the Ethernet interface of the S7-
1200 CPU.
The TMAIL_C instruction has two functionalities:
Email over the CPU Interface (only SMTP without SSL)
Email over a CP Interface (either SMTP without SSL or SMTP with SSL) If you want to
use the SSL functionality, you must set the TMAIL_C input parameter CERTINDEX = 1
and use the CP Interface. Also, the correct certificate must be stored in CP cert storage.
The instruction can only be used once the hardware has been configured and if the network
infrastructure allows for a communication connection to the mail server.
Table 11- 36 TMAIL_C instruction
LAD / FBD
SCL
Description
"TMAIL_C_DB"(
req:=_bool_in_,
to_s:=_string_in_,
cc:=_string_in_,
subject:=_string_in_,
text:=_string_in_,
attachment:=_variant_in_,
attachment_name:=_string_in_,
mail_addr_param:=_string_in_,
done=>_bool_out_,
busy=>_bool_out_,
error=>_bool_out_,
status=>_word_out_);
The TMAIL_C instruction sends
an e-mail using the Ethernet
interface of the S7-1200 CPU.
1
STEP 7 automatically creates the DB when you insert the instruction.

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals