摘要:本文以中原大化50万吨甲醇项目使用FOXBORO公司的I/A Series控制系统DCS和TRICON公司紧急停车控制系统ESD 之间的通讯为对象,介绍DCS与ESD 之间TCP/IP通讯策略,并结合应用实例,着重分析了一些技术要点、难点及解决方案。
52e2914【中国自动化网社区】ddea90【http://sns.ca800.com】710a
关键词:DCS、ESD、TCP/IP
19bab【中国自动化网社区】71d14d【http://sns.ca800.com】d490
Method of actualizing DCS and ESD communication Technology
Lizhifeng、Wangshengjun
19bab【中国自动化网社区】71d14d【http://sns.ca800.com】d490
Abstract:
This essay takes the communication between FOXBORO I/A Series and Tricon of Zhong Yuan Da Hua 500000 tons of methanol project as example to introduce the strategy to TCP/IP communication between DCS and ESD . Moreover, this article links some practical examples together analyzing selectively some points, difficulties and solutions of technology.
Key word : DCS,ESD,TCP/IP
d6【中国自动化网社区】ef5290【http://sns.ca800.com】7fd24a
前言
d6【中国自动化网社区】ef5290【http://sns.ca800.com】7fd24a
随着DCS系统在化工自动化领域的广泛应用,其功能已不仅仅是完成控制和操作,在很大程度上还要整合其它各辅助系统的运行信息和生产数据,并将这些数据提供给操作人员和管理者。因此,DCS系统如何实现与第三方系统间通讯进行数据交换,越来越被更多的用户重视并广泛应用。
d6【中国自动化网社区】ef5290【http://sns.ca800.com】7fd24a
河南省中原大化集团公司的50万吨/年甲醇装置DCS控制系统是I/A Series系统,主要汽化装置同时使用Tricon的ESD系统,并与DCS进行TCP/IP通讯。在DCS与ESD实时双工冗余通讯。
e182f5【中国自动化网社区】96b105【http://sns.ca800.com】d76c92c
一、通讯的硬件配置
e182f5【中国自动化网社区】96b105【http://sns.ca800.com】d76c92c
1、 I/A Series系统的FBM233通讯卡
e182f5【中国自动化网社区】96b105【http://sns.ca800.com】d76c92c
FBM233通讯卡符合IEEE802.3标准,支持10/100M bps 冗余通讯。
e182f5【中国自动化网社区】96b105【http://sns.ca800.com】d76c92c
2、ESD的NCM通讯卡
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
用NCM上的旋转开关设置Tricon控制器的节点号。
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
Tricon NCM支持这些连接:
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
Net1,与SOE Recorder PC连接的网络连接。
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
Net1,与Tricon主机节点时间同步的连外部仪器接。
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
Net2,与TriStation 1131 PC或者其他外部仪器连接的网络连接。
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
在Tricon NCMG模块和Global Positioning System(GPS)接口之间的串行连接。
可以在一个逻辑插槽上安装主要和冗余的模块。
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
3、 HUB(带BNC接头)
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
ESD的NCM通讯卡通过BNC接头连至HUB上,FBM233通讯卡通过五类双绞线连至HUB上(网络结构示意图,如图1)。
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
图1 FBM233与NCM通讯网络示意图
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
二、软件组态
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
下面以中原大化50万吨甲醇项目中Tricon ESD与I/A Series DCS系统间通讯为例,介绍FBM233和NCM如何进行通讯组态和编程的。
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
1、NCM软件编程
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
(1)NCM安装
a.打开控制器树,双击Configuration,展开Hardware Allocation。双击NCM slot,然后点击Setup。如图2
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
图2 NCM安装
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
b.在NCM安装屏幕上指定这些属性。
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
属性操作
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
Installed/Not Installed——点击则说明了插槽已经有模块安装了。
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
Privilege——选择读或者读/写。
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
IP Address——输入NCM的IP地址。
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
IP Subnet Mask——按需要使用。
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
Global Positioning System——打勾使时间与GPS同步。
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
Installed
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
Time Synchronization——打勾使时间与Tricon主机节点同步。
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
c.点击ok保存
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
(2)通讯设置
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
a.展开Controller目录树,双击Configuration。在Controller目录树上,
点击TriStation Communication。如图3所示。
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b

图3 TriStation通信
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
b.在TriStation Communication屏幕上指定这些属性。
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
Network Connection——在网络连接框里打勾。
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
Node Number——键入在NCM旋转开关上设置的数字。
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
Node Name——键入节点名,用来识别Tricon控制器,少于或者等于8个字符。
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
IP Address¬——输入在以太网上的控制器物理地址。
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
(3) 设置别名
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
在建ESD各点的过程中,注意对别名进行设置,在此设置的别名用于外设备的通讯标示。
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
2、I/A Series系统组态
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
1、FBM安装。
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
如图3,将两块FBM233卡件按照DCS系统组态插入相应位置,并按系统网络示意图搭建系统网络。
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
图 :FBM233安装
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
2、FDSI组态。
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
将FBM233组态成冗余模式,定义FBM233的IP地址与NCM地址组态同一网段。如图4
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
图4:FDSI组态图
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
3、ECB202组态。
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
在ECB202组态过程中,FILEID参数中写入TRICON.XML与FDSI组态文件名相对应,在SFILID参数中写入TSAA.ZIPH(文件为FBM233驱动)。如图5
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
图5:ECB202
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
ECB201组态。
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
在ECB201组态参数中,参数DVMANE输入设备地址即ESD NCM设备地址,与NCM组态相对应。如图6
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
图6:ECB201组态
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
5、相关应用点组态。
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
建立部分RIN(AI)、CIN(DI)、COUT(DO)、ROUT(AO)等点,用来与ESD进行通讯,其中两个关键的参数为IOM- ID与PNT-NO, 其中IOM-ID输入ECB201的点名TRICON, PNT-NO为ESD点的别名ALIAS。如图7、图8
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
图7
图8
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
6、进行通讯测试
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
通过观察硬件设备状态灯正常后,在ESD或DCS加信号,看对方是否能正常接受,如有必要再进行信号变换。
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
结论
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b
中原大化50万吨甲醇项目开车一年多来,ESD与DCS通讯性能稳定,技术可靠,已经在数据统计分析等方面体现出明显的优势,已经成为当今自动化应用领域的发展方向。当然ESD与DCS通讯的手段和策略有很多种,需要广大的用户不断总结和探索,本文所阐述的不当之处还请同行专业人士批评指正。
ee3b0【中国自动化网社区】a937da【http://sns.ca800.com】9b