教学文库网 - 权威文档分享云平台
您的当前位置:首页 > 文库大全 > 小学教育 >

1200与OPC通信_S7-1200_OPC_SIMATIC-NET_TIA-Portal_e(2)

来源:网络收集 时间:2026-04-11
导读: 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

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字,全部文档内容请下载后查看。喜欢就下载吧 ……
1200与OPC通信_S7-1200_OPC_SIMATIC-NET_TIA-Portal_e(2).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.jiaowen.net/wenku/40555.html(转载请注明文章来源)
Copyright © 2020-2025 教文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:78024566 邮箱:78024566@qq.com
苏ICP备19068818号-2
Top
× 游客快捷下载通道(下载后可以自由复制和排版)
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
× 常见问题(客服时间:周一到周五 9:30-18:00)