Open User Communication
6.11 Secure Open User Communication
Communication
Function Manual, 12/2017, A5E03735815-AF
111
Setting up a secure connection to a mail server over the interface of a communication module
For secure communication to a mail server over a communication module, you need to
create a data block with one of the system data types TMAIL_V4_SEC, TMAIL_QDN_SEC or
TMAIL_V6_SEC yourself, assign parameters and call it directly at the TMAIL_C instruction.
Requirements:
● TMAIL_C instruction with version
● S7-1500 CPU as of firmware version V2.0 with communication module CP 1543-1 as of
firmware version V2.0
● ET 200SP CPU as of firmware version V2.0 with communication module CP 1542SP-1
(IRC) as of firmware version V1.0
● You have assigned all the CA certificates of the mail server (TLS server) to the CP (TLS
client) and have downloaded the configuration to the CPU.
● Current date and time are set in the CPU.
The STEP 7 online help describes how to set up a secure connection to a mail server over
the interface of a communication module.
This application example (https://support.industry.siemens.com/cs/ww/en/view/46817803)
show how you can use the CP of an S7-1500 or S7-1200 station to set up a secure
connection to an email server and send an email with the default application "TMAIL_C" from
the S7 CPU.
You can find more information about the system data types TMail_V4_SEC and
TMAIL_QDN_SEC in the STEP 7 online help.
For additional information on secure communication, refer to the section Secure
Communication (Page 36).