Communications services
3.6 Secure Communication
Communication
Function Manual, 05/2021, A5E03735815-AJ
91
5.
Create a TMAIL_C instruction in the program editor.
6.
Interconnect the MAIL_ADDR_PARAM parameter of the TMAIL_C instruction with the tag of
the data type TMAIL_V4_SEC.
In the following example the MAIL_ADDR_PARAM parameter of the TMAIL_C instruction is
interconnected with the tag "MailConnectionSEC" (data type TMAIL_V4_SEC).
Figure 3-33 TMAIL_C instruction
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
V4.0
•
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.
Application example
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.
Summary of Contents for SIMATIC ET 200AL
Page 2: ......
Page 143: ......
Page 218: ......
Page 250: ......
Page 296: ......
Page 337: ......
Page 365: ......
Page 392: ......
Page 419: ......
Page 451: ......
Page 483: ......
Page 597: ......
Page 648: ......
Page 702: ......
Page 739: ......
Page 781: ......
Page 804: ......
Page 828: ......
Page 853: ......
Page 880: ......
Page 906: ......
Page 996: ...Diagnostics ...
Page 1121: ......
Page 1565: ......