 |
plc.myforum.ro PLCs users www.plc.myforum.ro!
|
| View previous topic :: View next topic |
| Author |
Message |
valz Member 3


Joined: 26 Jul 2015 Posts: 771
|
Posted: 07/08/2022 17:30 Post subject: Sending Emails to SMTP Servers with an S7 CPU |
|
|
Sending Emails to SMTP Servers with an S7 CPU
https://support.industry.siemens.com/cs/document/46817803/
SIMATIC S7 stations also allow the use of email as the default mechanism for transmitting error conditions or warnings from industrial plants to a control center or operating staff.
Nowadays, for security reasons, most email service providers only support an encrypted connection to their SMTP servers.
The following Ethernet ports can be used to set up a secure connection (SMTP over TLS) to an email server and send an email from the user program using the "TMAIL_C" instruction.
Ethernet port of S7-1500 CPU (V2.5 and higher version) or S7-1200 CPU (V4.4 or higher version)
Ethernet port of the CP of S7-1500 or S7-1200
Setting up a secure email connection requires the following steps that are described in the application example:
Determine and download the provider certificates
Allow the email account access by the CPU or CP
Activate the security features in the CPU or CP
Import the provider certificates into STEP 7 (TIA Portal)
Add the provider certificates to the CPU or CP
Connect the Ethernet port to the Internet
Configure the DNS server
Parameterize the TMail system data types in STEP 7 (TIA Portal)
Parameterize the "TMAIL_C" instruction
Set the S7 CPU's and CP's time
Download
https://support.industry.siemens.com/cs/attachments/46817803/46817803_EMail_with_SimaticS7_V30_en.pdf
https://support.industry.siemens.com/cs/attachments/46817803/46817803_Email_with_SimaticS7.zip
Archive
The FB "PN_Mail" function block (FB490) allows you to establish a non-secure connection from the following modules to an email server:
S7-300/400 CPUs
ET200S/IM151 distributed I/O systems
ET200PRO/IM154-8 CPUs
WinAC computers such as SIMATIC Microbox PCs
In the archive, you will find the documentation and sample projects for sending unsecure emails with the FB "PN_Mail".
https://support.industry.siemens.com/cs/attachments/46817803/46817803_Archiv_en.zip
[URL=https://www.file-upload.net/download-14981231/46817803_Archiv_en.zip.html]46817803_Archiv_en.zip[/URL]
[URL=https://www.file-upload.net/download-14981232/46817803_Email_with_SimaticS7.zip.html]46817803_Email_with_SimaticS7.zip[/URL]
[URL=https://www.file-upload.net/download-14981233/46817803_EMail_with_SimaticS7_V30_en.pdf.html]46817803_EMail_with_SimaticS7_V30_en.pdf[/URL]
https://ulozto.net/tamhle/pfO4gYI6xUDC/ |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro
|