1200与OPC通信_S7-1200_OPC_SIMATIC-NET_TIA-Portal_e(2)
Click the "Compile" button.
2.2Configuring the PC Station
Before you start configuring the PC station in the TIA Portal, determine or changethe IP address of the network card that you are using in your PC station. You enterthe IP address and subnet mask of the network card when you configure the PCstation in the TIA Portal.
Determine and change the IP address and subnet mask of the network card
In Windows you open the "Network and Sharing Center" and select the "Changeadapter settings" functions. Open the Properties dialog of the network card towhich the S7-1200 is connected.
In this example the network card receives the IP address 172-16.40.11 and subnetmask 255.255.0.0.
Note
The IP address configured for the PC station in the TIA Portal must match theIP address set in Windows. If you are not using a router, the IP addresses of thePC station and the S7-1200 CPU must be in the same subnet.
Figure 2-12
d
veresersthigrllA5012AGsnemieS
Add a PC Station
In the TIA Portal you open the project that contains the configuration for theS7-1200 station.
In the project tree, double-click the "Add new device" item. The "Add new device"dialog opens.
Figure 2-13
d
veresersthigrClick the "PC systems" button in the working area. Go to "PC systems >llAPC general" and select the "PC station" item.
5012Click the "OK" button to add a PC station named "PC Station" to your project.
AGsnemieS
Figure 2-14
SiemensAG2015Allrightsreserved
Open the "Device View" of the PC station in the devices and networks editor
In the project tree, navigate to the device folder of the PC station,
"PC Station [PC station]", for example. The device folder contains structuredobjects and actions that belong to the device.
In the device folder double-click the "Device configuration" object to open the
"Device View" of the devices and networks editor.
Figure 2-15
Configure user application and communication module of the PC station
SiemensAG2015Allrightsreserved
In the hardware and network editor you select the Device view. Here you configureand parameterize the modules of the PC station.
The "Hardware catalog" task card contains the user applications and
communication modules that you can configure in the PC station. Using drag-and-drop you add the "IE General" communication module to Slot 1 and the "OPCserver" user application to Slot 2 of the PC station.
Figure 2-16
Define IP address and assign subnet
In the project tree, double-click the "Devices & networks" item. The devices and
networks editor opens.
Figure 2-17
In the Network View or Device View of the devices and networks editor you clickthe PROFINET interface of the network card in the PC station.
In the inspector window you switch to the "Properties" tab. In the area navigationselect the "Ethernet addresses" item.
SiemensAG2015Allrightsreserved
In this example you enter the IP address 172.16.40.11 and subnet mask255.255.0.0 for the network card.
Select the subnet that you have already assigned to the S7-1200 CPU and assign
it also to the network card of the PC station.
Figure 2-18
SiemensAG2015Allrightsreserved
Note
The IP address configured for the PC station in the TIA Portal must match the IPaddress set in Windows. If you are not using a router, the IP addresses of the PCstation and the S7-1200 CPU must be in the same subnet.
The connection between the subnet, PN/IE_1, for example, and the S7-1200 andthe PC station is now displayed in the "Network View" of the
devices and networks
editor.
Figure 2-19
2.3
2.3.1
Configuring the S7 Connection
Adding the S7 Connection
In the project tree, double-click the "Devices & networks" item. The devices andnetworks editor opens. Switch to the Network view.
SiemensAG2015Allrightsreserved
In the toolbar of the Network View, click the "Connections" icon to switch to themode for setting the connections.
In the drop-down list box you select "S7 connection" as connection type.
Figure 2-20
In the graphical area of the Network View, click the OPC server in the PC stationand connect it to the S7-1200 CPU.
In the Network View, the S7 connection is displayed in the graphical area and inthe "Connections" table in the table area.
Figure 2-21
2.3.2
Displaying and Changing Properties of the S7 Connection in theInspector Window
Proceed as described below to have the properties of the S7 connection displayedin the inspector window.
In the table area switch to the "Connections" table and select the configured S7
connection. In the inspector window you switch to the "Properties" tab.
General properties
In the area navigation select the "General" item to display the connection path.The S7 connection is between the OPC server and the S7-1200 CPU.
Figure 2-22
SiemensAG2015Allrightsreserved
In the area navigation select the "Special connection properties" item.
Here you see a display of the special connection properties of the local end point,"Active connection establishment", for example.
In this example, the OPC server establishes the S7 connection. The
communication partner, S7-1200 CPU, is participates passively in establishing the
connection.
…… 此处隐藏:3007字,全部文档内容请下载后查看。喜欢就下载吧 ……相关推荐:
- [小学教育]四年级综合实践活动课《衣物的洗涤》教
- [小学教育]2014半年工作总结怎么写
- [小学教育]20世纪外国文学专题综合试题及答案
- [小学教育]TS_1循环使用催化丙烯环氧化反应研究
- [小学教育]最实用的考勤签到表(上下班签到表)
- [小学教育]气候与生态建筑——以新疆民居为例
- [小学教育]二人以上股东有限责任公司章程参考样本
- [小学教育]2014届第一轮复习资料4.1,3美好生活的
- [小学教育]土方开挖、降水方案
- [小学教育]手绘儿童绘本《秋天的图画》(蜡笔)
- [小学教育]2002级硕士研究生卫生统计学考试试题
- [小学教育]环保装备重点发展目录
- [小学教育]金蝶K3合并报表培训教材
- [小学教育]岩浆岩试题及参考答案
- [小学教育]知之深爱之切学习心得
- [小学教育]第十二章 蛋白质的生物合成
- [小学教育]Chapter 2-3 Solid structure and basi
- [小学教育]市政道路雨季专项施工方案
- [小学教育]中国海洋大学2012-2013学年第二学期天
- [小学教育]教育心理学第3章-学习迁移
- 浅谈深化国企改革中加强党管企业
- 2006年中国病理生理学会学术活动安排
- 设计投标工作大纲
- 基于ARP的网络攻击与防御
- 2016届湖北省七市(州)教科研协作体高三
- Google_学术搜索及其检索技巧
- 2019-2020学年七年级地理下册6.3美洲教
- 城市道路可研报告
- 【名师指津】2012高考英语 写作基础技
- 6级知识点培训北京师范大学《幼儿智趣
- 注册会计师会计知识点:金融资产
- 新安装 500 kV 变压器介损分析与判断
- PS2模拟器PCSX2设置及使用教程.
- 医院药事管理与药剂科管理组织机构
- {PPT背景素材}丹巴的醉人美景,免费,一
- NAS网络存储应用解决方案
- 青海省西宁市六年级上学期数学期末考试
- 测量管理体系手册依据ISO10012:2003
- 洞子小学培养骨干教师工作计划
- 浅谈《牛津初中英语》的教材特点及教学




