完整版ABPLC通讯Kepserver.docx
《完整版ABPLC通讯Kepserver.docx》由会员分享,可在线阅读,更多相关《完整版ABPLC通讯Kepserver.docx(12页珍藏版)》请在冰豆网上搜索。
完整版ABPLC通讯Kepserver
AB-PLC通讯-Kepserver
Kepserver通讯软件用于工业自动化控制的数据交换,下面介绍Kepserver和AB-plc通
讯。
实例:
AB-plc:
ControlLogixL5561(1756-L61),通讯软件:
KepserverEx4.0
一、配置KepserverEx4.0通讯软件
1.1、打开通讯软件KepserverEx4.0,如下:
NewChannel-Identification
Acornelnamec^nbefrom1to256charactersinlength.
c^nnotcontainpefiods,doublequottfion^or«tartwitha门underscaa
Cancel
Help
1.3、添加设备驱动:
ControlLogixEthernet
1.4、选择网络适配器:
Default
NewChannel-NetworkInterface
Thischannelisconfiguredtocominunicateowsrarework.Youcanselectthenetworkadapterthatthedrivershouldusafromthelislbalow.
S«l«ctifyou刊自门Ithsoperatingsystem
tochoosethen&twoikadapterfor屮口口
<£ack
tiext>
Cancel
Help
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
Selectthemethodtelo艸bywhichcortrolleftag's円illbsimportedfo(databasecreation.
DakbjseImportMethod
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:
控制器中变量名
标签添加完毕。
至此,Kepserver配置及上位通讯完成。