- 自动化系统
- 驱动技术
- 低压电气
- 工业服务
- 其他
采用开放式通信函数块发送电子邮件





- 使用操作
- 0
- 142
- 1333
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.
Solution
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
Fig. 1
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
Documentation (2,6 MB)
Sample project for TIA Portal V17 (835,8 KB)
Note
The sample project is protected. Log on with following credentials:
- User name: admin
- Password: Siemens.1
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".
Archive (798,7 KB)
Last Changes
Complete revision
- 评论
默认标签
个性标签
感谢您给我们的反馈!请您留言:
隐私政策更新提示
欢迎您来到西门子数字化工业支持中心网站!我们使用cookies来确保您能最好地使用我们的网站,进行网站分析并根据您的兴趣定制内容。我们有时会与第三方共享cookie数据。继续浏览本网站,即表示您同意我们使用cookies。您亦可以参考西门子数据隐私政策以了解更多相关信息。
- 项目工程师
- 项目主管
- 运维工程师
- 运维主管
- 研发工程师
- 研发主管
- 企业管理者
- 小企业主
- 主管/经理
- 销售
- 采购
- 人事
- 政府/机关干部/公务员
- 在校学生
- 教师
- 其他
- 工业边缘
- SIMATIC控制器
- SIMATICI/O系统
- TIA
- 低压控制产品
- 低压配电产品
- 数字化低压
- SINAMICS低压变频器
- SINAMICS中压变频器
- 工业软件
- SIMATICHMI人机界面
- 工业通信
- 过程仪表
- 过程控制系统
- SIMOTICS电机
- 直流变换器
- SIMATIC安全电压伺服驱动系统
- 虚拟调试
- Mindsphere
- 工业通讯
- 其它
- 化工
- 船舶
- 玻璃
- 食品与饮料
- 电子
- 航空
- 汽车
- 水处理
- 矿业
- 制药
- 电池
- 风电
- 机械制造
- 钢铁
- 厂内物流
- 石油与天然气
- 电力与公用设施
- 纤维
- 轮胎
- 增材制造
- 起重
- 机器人
- 其他
20秒帮我们优化支持中心!
欢迎您访问支持中心!
丰富的视频,全方位的文档,大量的网友交流精华...
为了更好的完善这些内容,我们诚邀您在浏览结束后,花20秒左右的时间,完成一个用户在线调查!感谢您的支持!
扫码分享