Kepserver与ABPLC通讯.docx
《Kepserver与ABPLC通讯.docx》由会员分享,可在线阅读,更多相关《Kepserver与ABPLC通讯.docx(15页珍藏版)》请在冰点文库上搜索。
Kepserver与ABPLC通讯
AB上位和AB下位通讯通过Kepserver
Kepserver通讯软件用于工业自动化控制的数据交换,下面介绍AB上位通过Kepserver和AB下位通讯。
实例:
AB上位软件:
FactoryTalkViewStudioV5.0,AB下位硬件:
ControlLogixL5561(1756-L61),通讯软件:
KepserverEx4.0
一、配置KepserverEx4.0通讯软件
1.1、打开通讯软件KepserverEx4.0,如下:
1.2、添加Channel,通道名称:
Channel1
1.3、添加设备驱动:
ControlLogixEthernet
1.4、选择网络适配器:
Default
1.5、通道读写优化:
默认设置,以下操作默认。
通道配置完成,配置参数如上。
1.6、在通道上添加设备:
Device1
1.7、选择控制器类型:
ControlLogix5500
1.8、DeviceID:
100.100.100.10,1,0
100.100.100.10:
以太网模块地址
1:
机架
0:
控制器槽位号
格式:
255.255.255.255,1,[],
1.9、以下参数默认
1.10、默认数据类型:
Float
COMPACTLOGIX5370ProtocolOptions选择sy
添加设备操作完成。
1.11、添加标签:
Clicktoaddastatictag
1.12、标签属性
Name:
中间变量名
Address:
控制器中变量名
标签添加完毕。
四、上位通讯
1.13、打开上位软件SE5.0,在应用项目下添加OPCServer-GG,打开属性项:
1.14、在OPCServername下,点击Browse选择KEPwareEnhancedOPC/DDEServer,如下:
可选择的OPCdataserver
1.15、上位通过OPCserver连接Kepserver中变量名,两种方式:
建立上位变量名,直接引用Kepserver中变量名。
如下:
方式1:
建立上位变量名
方式2:
直接引用Kepserver中变量名
1.16模拟测试通讯正常,如下:
第一个数字显示用上位标签,第二个数字显示直接引用Kepserver中变量名。
至此,Kepserver配置及上位通讯完成。
万里
2010.11.05