FAQ 01/2015 Connecting a PC Station toan S7-1200 using OPC TIA Portal This entry is from the Siemens Industry Online Suppo"/>
教学文库网 - 权威文档分享云平台
您的当前位置:首页 > 文库大全 > 小学教育 >

1200与OPC通信_S7-1200_OPC_SIMATIC-NET_TIA-Portal_e

来源:网络收集 时间:2026-04-11
导读: gg336x280(); 2_36_892.979_1262.878-1518-0-1320-1518.jpg" alt="1200与OPC通信_S7-1200_OPC_SIMATIC-NET_TIA-Portal_e" /> FAQ 01/2015 Connecting a PC Station toan S7-1200 using OPC TIA Portal This entry is from the Siemens Industry Online Suppo

gg336x280();2_36_892.979_1262.878-1518-0-1320-1518.jpg" alt="1200与OPC通信_S7-1200_OPC_SIMATIC-NET_TIA-Portal_e" />

FAQ 01/2015

Connecting a PC Station toan S7-1200 using OPC

TIA Portal

This entry is from the Siemens Industry Online Support. The general terms of use() apply.

Securityinforma-tion

Siemens provides products and solutions with industrial security functions thatsupport the secure operation of plants, solutions, machines, equipment and/ornetworks. They are important components in a holistic industrial security

concept. With this in mind, Siemens’ products and solutions undergo continuousdevelopment. Siemens recommends strongly that you regularly check forproduct updates.

For the secure operation of Siemens products and solutions, it is necessary totake suitable preventive action (e.g. cell protection concept) and integrate eachcomponent into a holistic, state-of-the-art industrial security concept. Third-partyproducts that may be in use should also be considered. For more informationabout industrial security, visit.To stay informed about product updates as they occur, sign up for a product-specific newsletter. For more information, visit.

SiemensAG2015Allrightsreserved

Table of contents

12

Introduction ........................................................................................................ 3Configuration of the S7-1200 ............................................................................ 52.12.234

Configuring the Hardware .................................................................... 5Creating a User Program ..................................................................... 8

Configuring the PC Station ............................................................................. 11Configuring the S7 Connection ...................................................................... 184.14.2

Adding the S7 Connection.................................................................. 18Displaying and Changing Properties of the S7 Connection in the

Inspector Window ............................................................................... 19

567

Compiling and Downloading the Configuration and User Program of

the S7-1200 ....................................................................................................... 20Compiling and Downloading the PC Station Configuration ........................ 23OPC Scout V10 ................................................................................................. 28

1Introduction

This entry shows you how to configure an S7-1200, a PC station and an S7

connection in the TIA Portal so that you can exchange data between the stationsover Industrial Ethernet.

Note

In the TIA Portal you need STEP 7 Professional, because with STEP 7 Basic youcannot configure a PC station, but only the SIMATIC S7-1200.

Creating a Project

In Windows, select the command "Start > All Programs > Siemens Automation >TIA Portal V12" to start the TIA Portal.

In the Portal view, select the "Create new project" action.Enter the project name in the appropriate field.

Figure 1-1

SiemensAG2015Allrightsreserved

Click the "Create" button to create a new project.

Figure 1-2

Switch to Project View

Use the "Project View" link to switch to the Project View.

Figure 1-3

SiemensAG2015Allrightsreserved

2Procedure for S7-1200 up to firmware V3

This chapter shows:

How you configure an SIMATIC S7-1200 and a PC station in TIA Portal How you project an S7 connection for data exchange between SIMATIC

S7-1200 and PC station

2.1Configuration of the S7-1200

You configure your S7-1200 station in the TIA Portal. Then you create the userprogram and define which data is to be monitored over the S7 connection of theOPC server.

2.1.1Configuring the Hardware

Add an S7-1200 Station

In the project tree, double-click the "Add new device" item. The "Add new device"dialog opens.

Figure 2-1

SiemensAG2015Allrightsreserved

Click the "Controllers" button in the working area. Go to "Controllers >

SIMATIC S7-1200 > CPU" and select the required controller. Click the "OK" button

to add the selected S7-1200 CPU to your project.

Figure 2-2

SiemensAG2015Allrightsreserved

Define IP address and assign subnet

In the project tree, double-click the "Devices & networks" item. The devices and

networks editor opens.

Figure 2-3

In the Network View or Device View of the devices and networks editor you clickthe PROFINET interface of the S7-1200 CPU.

In the inspector window you switch to the "Properties" tab. Select the "Ethernetaddresses" item in the area navigation.

In this example you enter the IP address 172.16.43.1 and the subnet mask255.255.0.0 for the PROFINET interface of the S7-1200 CPU.

Then assign a subnet to the PROFINET interface. Click the "Add new subnet"button to insert a new subnet.

Figure 2-4

SiemensAG2015Allrightsreserved

The connection between the subnet, PN/IE_1, for example, and the S7-1200 is

now displayed in the "Network View" of the devices and networks editor.

Figure 2-5

2.1.2Creating a User Program

Add a data block

In the project tree, navigate to the device folder of the S7-1200 CPU,

"PLC_1 [CPU 1212C …]", for example. The device folder contains structuredobjects and actions that belong to the device.

SiemensAG2015Allrightsreserved

In the device folder you navigate to the "Program blocks" subfolder and double-click the &qu …… 此处隐藏:5129字,全部文档内容请下载后查看。喜欢就下载吧 ……

1200与OPC通信_S7-1200_OPC_SIMATIC-NET_TIA-Portal_e.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)