西门子6ES71346HD000BA1简介
西门子6ES71346HD000BA1简介
_______________________
SIEMENS(西门子销售中心)
上海西邑电气技术有限公司
zx-plc.com )
:万紫云(销售经理)
西门子6ES71346HD000BA1简介

S7-300/400 CPU和CP343-1/CP443-1
普通以太网卡/CP1613
CP5611/CP5613
line;color:#333333;white-space:normal;background-color:#FFFFFF;"; font-size: 11px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-break: break-all; orphans: 2; widows: 2; font-stretch: inherit; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-variant-numeric: inherit;">1.2 软件
1.2.1 Step7 V5.3/V5.4
1.2.2 WinAC RTX V4.1/2005
1.2.3 SIMATIC Net 2003/2005/2006
1.2.4 WinCC V6.0/6.2
line;color:#333333;white-space:normal;background-color:#FFFFFF;"; font-size: 11px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-break: break-all; orphans: 2; widows: 2; font-stretch: inherit; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-variant-numeric: inherit;">本实例中采用了Step7 V5.4 SP3.1,WinAC RTX 2005(4.2) SP1 HF3,Simatic Net 2006(V6.4)和WinCC V6.2 SP2。
line;color:#333333;white-space:normal;background-color:#FFFFFF;"; font-size: 11px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-break: break-all; orphans: 2; widows: 2; font-stretch: inherit; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-variant-numeric: inherit;">2 硬件组态
line;color:#333333;white-space:normal;background-color:#FFFFFF;"; font-size: 11px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-break: break-all; orphans: 2; widows: 2; font-stretch: inherit; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-variant-numeric: inherit;">2.1 在SIMATIC Manager中新建一个项目,分别插入SIMATIC PC Station和SIMATIC 300 Station。如图1
line;color:#333333;white-space:normal;background-color:#FFFFFF;"; font-size: 11px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-break: break-all; orphans: 2; widows: 2; font-stretch: inherit; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-variant-numeric: inherit;">
图1
line;color:#333333;white-space:normal;background-color:#FFFFFF;"; font-size: 11px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-break: break-all; orphans: 2; widows: 2; font-stretch: inherit; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-variant-numeric: inherit;">2.2 在SIMATIC PC Station中,分别插入WinCC Application,WinLC RTX,CP5613和IE General。如图2
line;color:#333333;white-space:normal;background-color:#FFFFFF;"; font-size: 11px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-break: break-all; orphans: 2; widows: 2; font-stretch: inherit; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-variant-numeric: inherit;">
图2
CP5613 作为WinLC RTX的DP接口。
IE General作为WinCC Application和WinLC RTX的以太网接口。
line;color:#333333;white-space:normal;background-color:#FFFFFF;"; font-size: 11px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-break: break-all; orphans: 2; widows: 2; font-stretch: inherit; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-variant-numeric: inherit;">2.3 在SIMATIC 300 Station中,分别插入PS,CPU和CP343-1。如图3
line;color:#333333;white-space:normal;background-color:#FFFFFF;"; font-size: 11px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-break: break-all; orphans: 2; widows: 2; font-stretch: inherit; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-variant-numeric: inherit;">
西门子CPU1211C模块
图3
line;color:#333333;white-space:normal;background-color:#FFFFFF;"; font-size: 11px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-break: break-all; orphans: 2; widows: 2; font-stretch: inherit; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-variant-numeric: inherit;">
3 网络组态和编程
line;color:#333333;white-space:normal;background-color:#FFFFFF;"; font-size: 11px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-break: break-all; orphans: 2; widows: 2; font-stretch: inherit; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-variant-numeric: inherit;">3.1 在NetPro中为WinLC RTX建立与SIMATIC 300 Station的连接。如图4
line;color:#333333;white-space:normal;background-color:#FFFFFF;"; font-size: 11px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-break: break-all; orphans: 2; widows: 2; font-stretch: inherit; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-variant-numeric: inherit;">
图4
Connection Partner选择SIMATIC 300 Station的CPU。
Connection Type选择S7 connection。
line;color:#333333;white-space:normal;background-color:#FFFFFF;"; font-size: 11px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-break: break-all; orphans: 2; widows: 2; font-stretch: inherit; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-variant-numeric: inherit;">3.2 在Properties-S7 connection中,为Local Connection End Point选择One-way,即单边通讯。如图5
line;color:#333333;white-space:normal;background-color:#FFFFFF;"; font-size: 11px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-break: break-all; orphans: 2; widows: 2; font-stretch: inherit; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-variant-numeric: inherit;">
图5
line;color:#333333;white-space:normal;background-color:#FFFFFF;"; font-size: 11px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-break: break-all; orphans: 2; widows: 2; font-stretch: inherit; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-variant-numeric: inherit;">3.3在NetPro中为WinLC RTX建立与WinCC Application的连接。如图6
line;color:#333333;white-space:normal;background-color:#FFFFFF;"; font-size: 11px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-break: break-all; orphans: 2; widows: 2; font-stretch: inherit; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-variant-numeric: inherit;">
图6
Connection Partner选择SIMATIC PC Station的WinCC Application。
Connection Type选择S7 connection。
line;color:#333333;white-space:normal;background-color:#FFFFFF;"; font-size: 11px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-break: break-all; orphans: 2; widows: 2; font-stretch: inherit; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-variant-numeric: inherit;">一、S7 Open IE通讯概述
可以通过S7-300/400 PLC集成的 PROFINET 接口使用基于工业以太网的开放式通信与Simotion设备进行数据交换,下列通信协议支持开放式通讯:
line;quotes:none;color:#333333;white-space:normal;background-color:#FFFFFF;"; font-size: 11px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: normal; orphans: 2; widows: 2; font-stretch: inherit; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-variant-numeric: inherit;">? TCP
? UDP
line;color:#333333;white-space:normal;background-color:#FFFFFF;"; font-size: 11px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-break: break-all; orphans: 2; widows: 2; font-stretch: inherit; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-variant-numeric: inherit;">PLC 通过工业以太网 OPEN IE 通信方式下的 TCP IP 协议进行数据交换,需要使用以下程序块:
line;quotes:none;color:#333333;white-space:normal;background-color:#FFFFFF;"; font-size: 11px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: normal; orphans: 2; widows: 2; font-stretch: inherit; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-variant-numeric: inherit;">? FB65 "TCON" 建立连接
? FB66 "TDISCON" 中止连接
? FB63 "TSEND" 发送数据
? FB64 "TRCV" 接收数据
line;color:#333333;white-space:normal;background-color:#FFFFFF;"; font-size: 11px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-break: break-all; orphans: 2; widows: 2; font-stretch: inherit; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-variant-numeric: inherit;">这些通信功能块可以在函数库 Standard Library -> Communication Blocks 中找到。 用于连接 TCP IP 端点的参数存储于一个数据结构体中。在本程序示例中,使用数据结构体 UDT65 "TCON_PAR",用户将对这个数据结构体进行参数化。不需要在 NetPro 中配置通信连接。UDT65的创建需要使用 Open IE向导来完成。
创建开放式 TCP/IP 通信所需的连接数据的向导 (Open Communication Wizard)请从下
line;color:#333333;white-space:normal;background-color:#FFFFFF;"; font-size: 11px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-break: break-all; orphans: 2; widows: 2; font-stretch: inherit; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-variant-numeric: inherit;">
二、S7 Open IE通讯程序描述西门子CPU1211C模块
line;color:#333333;white-space:normal;background-color:#FFFFFF;"; font-size: 11px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-break: break-all; orphans: 2; widows: 2; font-stretch: inherit; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-variant-numeric: inherit;">1.使用Open IE 向导生成数据块
line;color:#333333;white-space:normal;background-color:#FFFFFF;"; font-size: 11px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-break: break-all; orphans: 2; widows: 2; font-stretch: inherit; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-variant-numeric: inherit;">(1) 打开Open Communication Wizard程序,如图1所示:
line;color:#333333;white-space:normal;background-color:#FFFFFF;"; font-size: 11px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-break: break-all; orphans: 2; widows: 2; font-stretch: inherit; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-variant-numeric: inherit;">
图1.
line;color:#333333;white-space:normal;background-color:#FFFFFF;"; font-size: 11px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-break: break-all; orphans: 2; widows: 2; font-stretch: inherit; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-variant-numeric: inherit;">(2)点击“Next”,如图2所示:
line;color:#333333;white-space:normal;background-color:#FFFFFF;"; font-size: 11px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-break: break-all; orphans: 2; widows: 2; font-stretch: inherit; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-variant-numeric: inherit;">
图2.
line;color:#333333;white-space:normal;background-color:#FFFFFF;"; font-size: 11px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-break: break-all; orphans: 2; widows: 2; font-stretch: inherit; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-variant-numeric: inherit;">(3)在图3画面中选择S7-300项目及数据块的存贮路径:
line;color:#333333;white-space:normal;background-color:#FFFFFF;"; font-size: 11px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-break: break-all; orphans: 2; widows: 2; font-stretch: inherit; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-variant-numeric: inherit;">
图3.
line;color:#333333;white-space:normal;background-color:#FFFFFF;"; font-size: 11px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-break: break-all; orphans: 2; widows: 2; font-stretch: inherit; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-variant-numeric: inherit;">(4)在图4画面中点击“Next”:
line;color:#333333;white-space:normal;background-color:#FFFFFF;"; font-size: 11px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-break: break-all; orphans: 2; widows: 2; font-stretch: inherit; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-variant-numeric: inherit;">
图4.
line;color:#333333;white-space:normal;background-color:#FFFFFF;"; font-size: 11px; font-style: normal; font-weight: normal; word-spacing: 0px; white-space: normal; -ms-word-break: break-all; orphans: 2; widows: 2; font-stretch: inherit; background-color: rgb(255, 255, 255); font-variant-ligatures: normal; font-variant-caps: normal; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial; font-variant-numeric: inherit;">(5)在图5画面中选择“TCP native”后点击“Next”:
西门子动力电缆
西门子功率模块6SN1123-1AA00-0JA1
西门子光幕3RG7841-3DD01
西门子功率模块6SN1123-1AA00-0CA1
西门子功率模块6SN1123-1AA00-0EA0
西门子功率模块6SN1123-1AA00-0LA0
西门子功率模块6SN1123-1AA00-0LA1
西门子机床控制面板
西门子监控模块6SN1112-1AC01-0AA1
西门子光幕处理单元3RG7847-4BD

