完整版Kepserver与ABPLC通讯.docx
- 文档编号:5463072
- 上传时间:2022-12-16
- 格式:DOCX
- 页数:15
- 大小:829.43KB
完整版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.3、添加设备驱动:
ControlLogixEthernet
1.4、选择网络适配器:
Default
1.5、通道读写优化:
默认设置,以下操作默认。
NewChannel-OptimizationSuggestions
ro目匚hievemaximuniperhrmarce,Iheieareanurriberofoptimizationsthatmustbecirphoyedwhendesigningyourserverandcentral曰application:
•EsldblishmultipletomK^icnswith勺singledevice加refftrencirgthisdeviceFrornmultiplechanntls
•SelecttheproperProtocolMode
-Aliassub-sbuctures
-SelectIh4p»p«fSOTS
-UseLogiw^na^wherevefpossible.
口ick.H创eFdMoieIrikmiHeri
Cancel Help 通道配置完成,配置参数如上。 1.6、在通道上添加设备: Devicel 1.7、选择控制器类型: ControlLogix5500 lx 1.8、DeviceID: 100.100.100.10,1,0 100.100.100.10: 以太网模块地址 1: 机架 0: 控制器槽位号 格式: 255.255.255.255,1,[ Path〉 NowDeviceID Thedeviceyou郢日definingmaybemiJtidropp^d葢anelworkofdevices.Inordertocorr*rnunicatcwihHiedevice,itmustbeassignedauniqueID. YourdoGumentationforthedevicemayrefertothi$左a"NetworkID"or"NshrakAddress." DeviceID: |1OQ100.100.5,15 1.9、以下参数默认 Youcandemoteadeviceforaspecificperioduponcommunicationsfailures・Duringthistimenoreadrequest(writerifapplicable)willbe$ent: othedevice.Demotingafaileddevicewillpreventgallingcommunicationswithotherdevicesonthechann&l. Demoteafterr—3successivefailures Demotefor|lOOOO3milliseconds 厂Discardwriterequestsduiingthedemotionperiod Cancel HelpI 1.10、默认数据类型: Float Setthe口o时numtierCIFconnectionHmecxit.Thecorineciionuillcloseaftermanysecondsofinaclin/ily. Settheblockreque^韵zeforarr^sinelcrrtents.ThisisthemaxwnLimnunnbercFelementsthatcarberequestedinasinc^etransaction Selectthemethodtelo艸bywhichcortrolleftag's円illbsimportedfo(databasecreation. DakbjseImportMethod 7DisplayDescriptions? Optionsfitering IFthefollowingssitings^recorrectclick'Fiibh'tobeginu^ingth©newdevice・ Name: Devicel Model: ConbolLogis5500 ID: 1001DQ10a5JjO ConnectTimeouL3S*c. RequestTimeouL1000ms Failafter3attemptsInlet-RequestDels/0rns Auto-DemaiiortDisabled Tagd-atabasestaitup: Donotgensr-ateonstartupTagdatabaseaction: Deleteonaeate 添加设备操作完成。 Finish nt_m■i_ir Cancel Het 1.11、添加标签: Clicktoaddastatictag gKFPServerFw-runriflect.opf*](DsmFvpires01: 17: 19) I.|nxl Ele&dt携呼[Dab二曲 □号H評iffliJ勺罰 &倂OKin^l fflpevicci Ed 『1忌Fja简寸T舟]1fi利已勺出丄弋]0目口-hul空=|[L■刃j予lFJ乍lip匸i(护电% □[ B占fkrvrnl > 站上 Tt~k LiterFlame S^LtEB Ewhl 4 IOjOI12 glriLilLitt flrlhrlE>5? b2^DdtVlLifitl/wruddeJjllC」昌 Q-JOCOJ: G 10l0142 05fajtLSa 魁也¥15& 广EHternis才戶址#iM"d? xc-? ttfu»y. w R.MdF Clerd;/Arh-'O^Dinrfo 1.12、标签属性 Name: 中间变量名 Address: 控制器中变量名 Scaling f*ilonei''Linear''Squareroot iiujiiiC RawValueRange Datatype: Sliort H.ighc Low ScaledValueRange Qafatype: Double Hjghc 1000 厂 Clamp Low: p— r Clsmp LlrJtK 厂Megsliesc .aledvalue OK Cancel H*| 标签添加完毕。 四、上位通讯 1.13、打开上位软件SE5.0,在应用项目下添加OPCServer-GG,打开属性项: 1.14、在OPCServername下,点击Browse选择KEPwareEnhancedOPC/DDEServer,如下: 可选择的OPCdataserver AvailableOPCdataservers 冈 SelectanOFCd-ataseiver □K J -loc日Fidst KEFServerEnlerprise Cancel J INATTcpIpHlDPLServei RSLinKOPCServer FiSLinwRemoteOPC5erver fKEP^reEnh^rx-edOPC/DDEServed 1.15、上位通过OPCserver连接Kepserver中变量名,两种方式: 建立上位变量名,直接引用Kepserver中变量名。 如下: 方式1: 建立上位变量名 ■IJi1ihI'jjifhi DecimalEkce^Jo-Uverflcm;丽F亦赢赢匸寸Now 方式2: 直接引用Kepserver中变量名 NumericDisplayProperties FieldLength: OK Caned Applv Help 广Left广匚刎e<席Right Justification 11 LeadingCharactei Fwn)/: Decimal 1.16模拟测试通讯正常,如下: 第一个数字显示用上位标签,第二个数字显示直接引用 Kepserver中变量名。 至此,Kepserver配置及上位通讯完成。 刘万里 2010.11.05
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 完整版 Kepserver ABPLC 通讯