罗克韦尔PLCDeviceNet组态.docx
《罗克韦尔PLCDeviceNet组态.docx》由会员分享,可在线阅读,更多相关《罗克韦尔PLCDeviceNet组态.docx(13页珍藏版)》请在冰豆网上搜索。
罗克韦尔PLCDeviceNet组态
罗克韦尔PLC-DeviceNet组态
DeviceNet组态
这部分主要实现简单的DeviceNet网络的配置组态,使用的工具是Rockwell提供的软件——RSNetWorx。
例子虽然简单但期望各位网友以一当十,达成更复杂的应用,此才为此文章的最终目的。
1、点击“开始”—“程序”—“RockwellSoftware”—"RSNetWorx"—"RSNetWorxforDeviceNet"以正常启动RSNetWorx;也许你会遇到找不到当前字体的对话框,因操作系统的问题,你尽可以回答“是”。
2、RSNetWorx启动后,也许你可看到左边有一个硬件列表框,如果没有你可以在View菜单里找到,点击就可以显现出此列表。
而主视图框中有一条网络线,这是最初的状况,因为还没有一个节点被加到当前的网络中,所以右边这条线上没有一个节点。
你当然可以在左边的列表框里选择你目前已经连接好的设备并双击使其加到右边的网络线上,但我们不这样做,RSNetWorx有一个最简单的做法就是利用网络扫描功能,如下图:
点击图中的Online图标或点“NetWork”—"Online"菜单,则可以启动扫描功能。
2、点击“Online”图标后会弹出一个对话框,要你选择用于连接的驱动,你应该可以看到1770-KFD的连接,如果没有,则请参阅本文的第三部分。
emotionalBecauseoftheguerrillaforcesinthesurroundingareahavebeenwithdrawn,activitiesintheLake'sChengWanjunalsorefugeinJapanese,ZhuXiforcesbecamethepuppettoattackkeytargetsEvepuppetattackinginWuzhen,facetheproblemoftheretreatwastomeettheenemy,inadebatewithintheleadership,somebelievethattheelves,concentrateasuperiorforce,surelydo,earlytransferisthebestwaytoreducelosses.DeputyCommanderWangHesongimpassionedstatement:
"Wuzhenhold,isourmilitary'sduty!
"Ihavewinaseriesofvictories,morale,Wuzhenbattletovictory,fightthisbattle,aChinesemiracleinthehistoryofguerrillawarfare."CommanderZhuXididnothavemuch,butthefinalword.OnNovember5,weflewoverthetownforseveraldays,bombbursts,tremblingmoantranquiltowninthewar.Peoplehavethefeelingofacatastropheinthetown.6threconnaissancearoundthecommandpersonnelbroughtanurgentintelligence,town-widepanic,inthefaceofnewsoftheJapaneseattacktown,toavoidthescourgeofwar,themajorityofpeopleyoungandoldfledtothecountrysideinthetown.Alsohardtofindaboatintheriver.Pastthebustlingtownjustseemsadesertedanddesolate.7thdayinimplementinglow-levelflightsoverthetown,fired.Thatnight,theElvesattackWuzhenconfirmedinformation.Night,burstsofgunfirecomingfromthedistance,reportedlyisDeputyCommanderWangHesongXuMiaocameNanxunsniperassaultoftheElves.8th,thesituationismoresevereinthetown.Oneafternoon,outsideEastGateandSouthGatetherewasintensegunfire.EnemyattacksbyfrustratedindependentbattalionconfrontedChenqi.Atthistime,thecommand...11th,asCommanderofZhuXi-KaiWenYongzhi,Directorof
3、选中“1770-KFD”驱动并点击OK,或直接双击,会告诉你一个同步确认对话框,点击
OK。
RSNetWorx即开始BrowsingNetwork...
5、如果此对话框的进度条一直没有动作则表示你的串行通讯连接线有问题,或是你的PC
上正有其它程序使用串行口。
扫描完毕后网络上能找到的所有节点都会显示出来。
在此例中
Master(1747-SDN/B)的地址为01,而1770-KFD节点地址为05。
emotionalBecauseoftheguerrillaforcesinthesurroundingareahavebeenwithdrawn,activitiesintheLake'sChengWanjunalsorefugeinJapanese,ZhuXiforcesbecamethepuppettoattackkeytargetsEvepuppetattackinginWuzhen,facetheproblemoftheretreatwastomeettheenemy,inadebatewithintheleadership,somebelievethattheelves,concentrateasuperiorforce,surelydo,earlytransferisthebestwaytoreducelosses.DeputyCommanderWangHesongimpassionedstatement:
"Wuzhenhold,isourmilitary'sduty!
"Ihavewinaseriesofvictories,morale,Wuzhenbattletovictory,fightthisbattle,aChinesemiracleinthehistoryofguerrillawarfare."CommanderZhuXididnothavemuch,butthefinalword.OnNovember5,weflewoverthetownforseveraldays,bombbursts,tremblingmoantranquiltowninthewar.Peoplehavethefeelingofacatastropheinthetown.6threconnaissancearoundthecommandpersonnelbroughtanurgentintelligence,town-widepanic,inthefaceofnewsoftheJapaneseattacktown,toavoidthescourgeofwar,themajorityofpeopleyoungandoldfledtothecountrysideinthetown.Alsohardtofindaboatintheriver.Pastthebustlingtownjustseemsadesertedanddesolate.7thdayinimplementinglow-levelflightsoverthetown,fired.Thatnight,theElvesattackWuzhenconfirmedinformation.Night,burstsofgunfirecomingfromthedistance,reportedlyisDeputyCommanderWangHesongXuMiaocameNanxunsniperassaultoftheElves.8th,thesituationismoresevereinthetown.Oneafternoon,outsideEastGateandSouthGatetherewasintensegunfire.EnemyattacksbyfrustratedindependentbattalionconfrontedChenqi.Atthistime,thecommand...11th,asCommanderofZhuXi-KaiWenYongzhi,Directorof
6、双击其中的图标,可以查看节点的信息:
General,Parameters,I/ODefaults,EDSFile。
其中第一项可以清楚的知道供应商,及其它一些详细信息,参数部分可以显示此节点所有本身提供可访问的参数,这些参数根据属性的不同可以读写或只读。
在第一次查看参数的时候提示“uploadordownload”的时候最好是"upload"。
emotionalBecauseoftheguerrillaforcesinthesurroundingareahavebeenwithdrawn,activitiesintheLake'sChengWanjunalsorefugeinJapanese,ZhuXiforcesbecamethepuppettoattackkeytargetsEvepuppetattackinginWuzhen,facetheproblemoftheretreatwastomeettheenemy,inadebatewithintheleadership,somebelievethattheelves,concentrateasuperiorforce,surelydo,earlytransferisthebestwaytoreducelosses.DeputyCommanderWangHesongimpassionedstatement:
"Wuzhenhold,isourmilitary'sduty!
"Ihavewinaseriesofvictories,morale,Wuzhenbattletovictory,fightthisbattle,aChinesemiracleinthehistoryofguerrillawarfare."CommanderZhuXididnothavemuch,butthefinalword.OnNovember5,weflewoverthetownforseveraldays,bombbursts,tremblingmoantranquiltowninthewar.Peoplehavethefeelingofacatastropheinthetown.6threconnaissancearoundthecommandpersonnelbroughtanurgentintelligence,town-widepanic,inthefaceofnewsoftheJapaneseattacktown,toavoidthescourgeofwar,themajorityofpeopleyoungandoldfledtothecountrysideinthetown.Alsohardtofindaboatintheriver.Pastthebustlingtownjustseemsadesertedanddesolate.7thdayinimplementinglow-levelflightsoverthetown,fired.Thatnight,theElvesattackWuzhenconfirmedinformation.Night,burstsofgunfirecomingfromthedistance,reportedlyisDeputyCommanderWangHesongXuMiaocameNanxunsniperassaultoftheElves.8th,thesituationismoresevereinthetown.Oneafternoon,outsideEastGateandSouthGatetherewasintensegunfire.EnemyattacksbyfrustratedindependentbattalionconfrontedChenqi.Atthistime,thecommand...11th,asCommanderofZhuXi-KaiWenYongzhi,Directorof
7、双击Scanner的图标,会出现其配置对话框。
点击“Module”选项卡,并选择“upload”按
钮,以读取当前Scanner中的配置信息。
当读取完毕后,可以看到“Module”选项卡中有几
个信息值:
InterscanDelay和ForegroundtoBackgroundPollRatio。
前一项表示两次发送
轮询IO信息的间隔时间;后一项表示发送多少次IO报文后才对特定的节点发送一次IO报
文,默认值为1,则表示每次都会发送IO报文,这主要用于通讯较慢的设备与较快的设备
同时在一个网络上的时候,也可以减少某些不必很快的设备的CPU资源开销。
emotionalBecauseoftheguerrillaforcesinthesurroundingareahavebeenwithdrawn,activitiesintheLake'sChengWanjunalsorefugeinJapanese,ZhuXiforcesbecamethepuppettoattackkeytargetsEvepuppetattackinginWuzhen,facetheproblemoftheretreatwastomeettheenemy,inadebatewithintheleadership,somebelievethattheelves,concentrateasuperiorforce,surelydo,earlytransferisthebestwaytoreducelosses.DeputyCommanderWangHesongimpassionedstatement:
"Wuzhenhold,isourmilitary'sduty!
"Ihavewinaseriesofvictories,morale,Wuzhenbattletovictory,fightthisbattle,aChinesemiracleinthehistoryofguerrillawarfare."CommanderZhuXididnothavemuch,butthefinalword.OnNovember5,weflewoverthetownforseveraldays,bombbursts,tremblingmoantranquiltowninthewar.Peoplehavethefeelingofacatastropheinthetown.6threconnaissancearoundthecommandpersonnelbroughtanurgentintelligence,town-widepanic,inthefaceofnewsoftheJapaneseattacktown,toavoidthescourgeofwar,themajorityofpeopleyoungandoldfledtothecountrysideinthetown.Alsohardtofindaboatintheriver.Pastthebustlingtownjustseemsadesertedanddesolate.7thdayinimplementinglow-levelflightsoverthetown,fired.Thatnight,theElvesattackWuzhenconfirmedinformation.Night,burstsofgunfirecomingfromthedistance,reportedlyisDeputyCommanderWangHesongXuMiaocameNanxunsniperassaultoftheElves.8th,thesituationismoresevereinthetown.Oneafternoon,outsideEastGateandSouthGatetherewasintensegunfire.EnemyattacksbyfrustratedindependentbattalionconfrontedChenqi.Atthistime,thecommand...11th,asCommanderofZhuXi-KaiWenYongzhi,Directorof
8、选择“Scanlist”选项卡,可以看到左边的列表里有当前可以使用的设备,此例中为两个。
右边有一空的扫描列表。
在此我们选中节点“1305Drive”,并注意“AutomaponAdd”前的框里打上勾,使其自动映射地址。
然后点“>”按钮将此节点加入扫描列表。
当选中一个节点后,可以点击下方的“EditI/OParameters...”来编辑节点的IO数据长度,其中就可以设置此节点是否使用ForegroundtoBackgroundPollRatio功能。
emotionalBecauseoftheguerrillaforcesinthesurroundingareahavebeenwithdrawn,activitiesintheLake'sChengWanjunalsorefugeinJapanese,ZhuXiforcesbecamethepuppettoattackkeytargetsEvepuppetattackinginWuzhen,facetheproblemoftheretreatwastomeettheenemy,inadebatewithintheleadership,somebelievethattheelves,concentrateasuperiorforce,surelydo,earlytransferisthebestwaytoreducelosses.DeputyCommanderWangHesongimpassionedstatement:
"Wuzhenhold,isourmilitary'sduty!
"Ihavewinaseriesofvictories,morale,Wuzhenbattletovictory,fightthisbattle,aChinesemiracleinthehistoryofguerrillawarfare."CommanderZhuXididnothavemuch,butthefinalword.OnNovember5,weflewoverthetownforseveraldays,bombbursts,tremblingmoantranquiltowninthewar.Peoplehavethefeelingofacatastropheinthetown.6threconnaissancearoundthecommandpersonnelbroughtanurgentintelligence,town-widepanic,inthefaceofnewsoftheJapaneseattacktown,toavoidthescourgeofwar,themajorityofpeopleyoungandoldfledtothecountrysideinthetown.Alsohardtofindaboatintheriver.Pastthebustlingtownjustseemsadesertedanddesolate.7thdayinimplementinglow-levelflightsove