simatic net v6download.gongkong.com/file/2005/9/27/server.doc · web...

16
SIMATIC NET v6.0 OPC SERVER 通通通通通通 需需需需需需需 PROFIBUS 需需 SIMATIC NET 6S7-300/400 PROFIBUS 需需 STEP7 需 NCM PCSIEMENS 需需 SIK/SIMATIC NET PROFIBUS-S7 需需需需需需需 Product Includes the OPC Server for ... _________________________________________________________________ ______ DP-5613 PROFIBUS-DP S5-compatible communication (FDL) _________________________________________________________________ ______ S7-5613 S7 communication _________________________________________________________________ ______ FMS-5613 FMS communication _________________________________________________________________ ______ SOFTNET-S7 PROFIBUS S7 communication _________________________________________________________________ ______ SOFTNET-DP PROFIBUS-DP S5-compatible communication (FDL) _________________________________________________________________ ______ SOFTNET-DP Slave PROFIBUS-DP (slave) _________________________________________________________________ ______ CP 5613 FO / 5614 FO / PROFIBUS-DP (master) CP 5613 / 5614 and S5-compatible communication (FDL) with DP-Base Software Access to DP slave of the CP 5614

Upload: truongthuy

Post on 29-May-2018

282 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SIMATIC NET v6download.gongkong.com/file/2005/9/27/SERVER.doc · Web view现在你可以通过"Start > SIMATIC > SIMATIC NET > Industrial Ethernet > Softnet Industrial Ethernet >

SIMATIC NET v6.0 OPC SERVER通讯配置说明 需要准备:

计算机、 PROFIBUS网卡、 SIMATIC NET 6、  S7-300/400 (带 PROFIBUS 接口 )STEP7或NCM PC、SIEMENS授权 SIK/SIMATIC NET PROFIBUS-S7

支持的通讯方式:Product Includes the OPC Server for ..._______________________________________________________________________

DP-5613 PROFIBUS-DPS5-compatible communication (FDL)

_______________________________________________________________________

S7-5613 S7 communication_______________________________________________________________________

FMS-5613 FMS communication_______________________________________________________________________

SOFTNET-S7 PROFIBUS S7 communication_______________________________________________________________________

SOFTNET-DP PROFIBUS-DPS5-compatible communication (FDL)

_______________________________________________________________________

SOFTNET-DP Slave PROFIBUS-DP (slave)_______________________________________________________________________

CP 5613 FO / 5614 FO / PROFIBUS-DP (master) CP 5613 / 5614 and S5-compatible communication (FDL)with DP-Base Software Access to DP slave of the CP 5614 _______________________________________________________________________

S7-1613 S7 communicationS5-compatible communication (SR)

_______________________________________________________________________

TF-1613 S5-compatible communication (SR)_______________________________________________________________________

SOFTNET-S7 Ind. Ethernet S7 communicationS5-compatible communication (SR)

_______________________________________________________________________

S7 RedConnect Fault-tolerant S7 communication

_______________________________________________________________________

PROFInet OPC Server OPC PROFInet Communication

Page 2: SIMATIC NET v6download.gongkong.com/file/2005/9/27/SERVER.doc · Web view现在你可以通过"Start > SIMATIC > SIMATIC NET > Industrial Ethernet > Softnet Industrial Ethernet >

1、 配置 SOFTNET-PC站        在成功安装软件 SOFTNET和硬件通讯卡并重启机器后,可见如下调试向导:

       单击“Next”继续。

         如果你要用OPC server 通过该模块通讯,就一定要用此项。        "Use module for productive operation in configured PC station"

Page 3: SIMATIC NET v6download.gongkong.com/file/2005/9/27/SERVER.doc · Web view现在你可以通过"Start > SIMATIC > SIMATIC NET > Industrial Ethernet > Softnet Industrial Ethernet >

              PROFILE请选择“STANDARD”,单击“Next”继续。

         这里你可以确定你要使用的接口:        "SIMATIC NET OPC Server in configured PC station" 指的是通过OPC客户通讯。        "Configure more applications"指的是通过其他应用程序通讯,比如:C 接口。         这里请选择"SIMATIC NET OPC Server in configured PC station" ,单击“Next”存盘配置。

Page 4: SIMATIC NET v6download.gongkong.com/file/2005/9/27/SERVER.doc · Web view现在你可以通过"Start > SIMATIC > SIMATIC NET > Industrial Ethernet > Softnet Industrial Ethernet >

        确认你刚才所作改变。使用"Station Configuration Editor"可以检查配置是否被接受。        在"Station Configuration Editor"中你可以看见你在配置向导中的设定,OPC server 在槽 1,网卡在槽 3。

        下一步进入 PC站向导。 

Page 5: SIMATIC NET v6download.gongkong.com/file/2005/9/27/SERVER.doc · Web view现在你可以通过"Start > SIMATIC > SIMATIC NET > Industrial Ethernet > Softnet Industrial Ethernet >

         这里有两个主要的选项:        如果你想扩展现存的 STEP 7项目就选择"Edit save configuration"。找到要编辑的项目并激活选项"Insert local PC configuration into selected project"。        如果你想建立一个新项目就选择"Create a new project and connection"。在命名时你必须选择"Create a copy of the local PC station"。有了这个选项,STEP 7 或 NCM PC 会自动生成可配置的 PC站。

Page 6: SIMATIC NET v6download.gongkong.com/file/2005/9/27/SERVER.doc · Web view现在你可以通过"Start > SIMATIC > SIMATIC NET > Industrial Ethernet > Softnet Industrial Ethernet >

 

        接下来我们来看如何配置一个没有通讯对象的 PC站。

        下一步是定义 S7连接。选择"Edit network and connection configuration",单击“Finish”打开NetPro。

Page 7: SIMATIC NET v6download.gongkong.com/file/2005/9/27/SERVER.doc · Web view现在你可以通过"Start > SIMATIC > SIMATIC NET > Industrial Ethernet > Softnet Industrial Ethernet >

        单击 OPC server 插入新连接。如果在这个项目中有,你可以选择通讯对象。连接自动地被建立了,不再需要其他步骤。而如果通讯对象不存在(如本例),你必须指定“Unspecified”作为通讯对象。

Page 8: SIMATIC NET v6download.gongkong.com/file/2005/9/27/SERVER.doc · Web view现在你可以通过"Start > SIMATIC > SIMATIC NET > Industrial Ethernet > Softnet Industrial Ethernet >

单击“Address Details…”,打开下面窗口。

       这里你输入 SIMATIC S7 CPU 的槽号。一旦指定了槽号,单击OK再OK,PC站的连接表中显示了你刚刚做的连接。

Page 9: SIMATIC NET v6download.gongkong.com/file/2005/9/27/SERVER.doc · Web view现在你可以通过"Start > SIMATIC > SIMATIC NET > Industrial Ethernet > Softnet Industrial Ethernet >

       请检查一下 PROFIBUS的设置参数。选择 PROFIBUS 子网并右击打开“Object Properties…”

        选择“Network Setting”页,设置你相应的网络参数。保障所有用户:CP5611、S7300/S7400都是一致的。          PROFIBUS 上的 S7协议不能使用“DP”总线样式(Profile)。这里推荐使用“Standard”总线样式。 

Page 10: SIMATIC NET v6download.gongkong.com/file/2005/9/27/SERVER.doc · Web view现在你可以通过"Start > SIMATIC > SIMATIC NET > Industrial Ethernet > Softnet Industrial Ethernet >

        一旦 PROFIBUS 网络参数设好,OK确认。        现在你已经建立了一个 S7连接。存盘并编辑项目,项目信息也随之更新。

        在这里要注意的是出错信息。如果仅仅是警告那没关系。如果是配置有错误那就不能下载了。        标亮“SIMATIC PC station”,连接表消失。这时通过"PLC > Download to current project > Selected station"下载配置到 PC。

       

Page 11: SIMATIC NET v6download.gongkong.com/file/2005/9/27/SERVER.doc · Web view现在你可以通过"Start > SIMATIC > SIMATIC NET > Industrial Ethernet > Softnet Industrial Ethernet >

             好了。在调试向导里单击“Next”。     

单击“FINISH”。配置控制台自动启动,可以修改 SOFT NET 协议、通讯监测等。

Page 12: SIMATIC NET v6download.gongkong.com/file/2005/9/27/SERVER.doc · Web view现在你可以通过"Start > SIMATIC > SIMATIC NET > Industrial Ethernet > Softnet Industrial Ethernet >

        现在你可以通过"Start > SIMATIC > SIMATIC NET > Industrial Ethernet > Softnet Industrial Ethernet > OPC Scout"启动OPC Scout。双击“OPC.SimaticNet”,连接OPC server。在弹出的对话框中键入组名并确认。

Page 13: SIMATIC NET v6download.gongkong.com/file/2005/9/27/SERVER.doc · Web view现在你可以通过"Start > SIMATIC > SIMATIC NET > Industrial Ethernet > Softnet Industrial Ethernet >

        一旦建立了组,双击它打开“OPC Navigator”。在OPC Navigator 里可以看到你用的协议。双击“S7”,你在NetPro 里配置的连接被显示出来。

        再次双击该连接,显示出可以被存取的对象树。如果CPU中装载了数据块,它们也会被显示出来。

Page 14: SIMATIC NET v6download.gongkong.com/file/2005/9/27/SERVER.doc · Web view现在你可以通过"Start > SIMATIC > SIMATIC NET > Industrial Ethernet > Softnet Industrial Ethernet >

        双击一个数据块可以创建标签(tag)。如果数据块上有一个红叉,再次双击“New Definition”就可以创建项“item”。你可以在新窗口定义不同的标签和数据类型。

        在这个例子中定义的是数据块DB1的第 200个WORD。        DB的句法为:S7:[<Connection_name>]DB<No>,{<Type>}<Address>{,<Number>}

        单击OK,新项出现在中间窗口。单击"-->"把新项移动到右边窗口。

Page 15: SIMATIC NET v6download.gongkong.com/file/2005/9/27/SERVER.doc · Web view现在你可以通过"Start > SIMATIC > SIMATIC NET > Industrial Ethernet > Softnet Industrial Ethernet >

        单击OK,新项被插入到OPC Scout。        如果“Quality”表明是好的(good),证明你的连接建立起来了。你可以读写这个标签了。

         双击“Value”栏,你可以修改标签值。

Page 16: SIMATIC NET v6download.gongkong.com/file/2005/9/27/SERVER.doc · Web view现在你可以通过"Start > SIMATIC > SIMATIC NET > Industrial Ethernet > Softnet Industrial Ethernet >