abPLC仿真.docx

上传人:b****6 文档编号:8508032 上传时间:2023-01-31 格式:DOCX 页数:10 大小:179.68KB
下载 相关 举报
abPLC仿真.docx_第1页
第1页 / 共10页
abPLC仿真.docx_第2页
第2页 / 共10页
abPLC仿真.docx_第3页
第3页 / 共10页
abPLC仿真.docx_第4页
第4页 / 共10页
abPLC仿真.docx_第5页
第5页 / 共10页
点击查看更多>>
下载资源
资源描述

abPLC仿真.docx

《abPLC仿真.docx》由会员分享,可在线阅读,更多相关《abPLC仿真.docx(10页珍藏版)》请在冰豆网上搜索。

abPLC仿真.docx

abPLC仿真

AQuickTutorialonRSLogixEmulator5000

RSLogixEmulator5000isasoftwaresimulatorfortheAllenBradleylineofLogix5000controllers(ControlLogix®,CompactLogix®,FlexLogix®,SoftLogix5800®andDriveLogix®).  Thegoalistomimicthefunctionofa PLC withouttheactualhardwareandthusdoadvanceddebugging. MoreinformationcanbefoundintheABpublicationLGEM5K-GR015A-EN-P.

Asaquickintroductionwe’llgothroughasimpleexampleofsettingupasimulation. Thisinvolvesthreemajorsteps.

1.Settingupthechassismonitor.

2.CreatingaconnectioninRSLinx.

3.Creatingaprojectwithassociatedemulationhardware.

Settingupthe Chassis Monitor

TostarttheChassisMonitor,click Start>Programs>RockwellSoftware>RSLogixEmulate5000>RSLogixEmulate5000ChassisMonitor.

 

 

Whentheemulatoropensupyou’reconfrontedwithwhatlookslikeanemptychassis. Inslot0isanRSLinxmodulewhichhastobetherefortheemulatorcommunicationstowork. Yourslot1mighthaveanotherirremovableRSLinxmoduledependingifyouarerunningRSLogixEnterprise.

 

 

Fromherewesetupourhardwareconfigurationforsimulation. Ourfirststepwillbetoaddthe CPU. InthiscaseitisaspecialonecalledanEmulationController.

1.Click Slot>CreateModule.

2.Choosethe EmulatorRSLogixEmulate5000Controller.

3.Choseslot2forthecontroller

4.Click OK toaddittothechassismonitor.

5.Atthispointyoumaybeaccostedwithamessageaboutpreviousconfigurations. Justselect ResettheConfigurationtoDefaultValuesandclick NEXT.

6.Thenexttwodialogscreensareforsettingupthecontrollerdetails. Click NEXT and FINISH toacceptallthedefaults.

 

 

 

Nextwe’lladdsomeinput/outputsimulation.

1.Click Slot>CreateModule.

2.Choosethe 1789-SIM32PointInput/OutputSimulator.

3.Choseslot3forthesimulatorandclick OK.

4.Acceptthedefaultsforthesetupbyclicking NEXT and FINISH.

 

 

Thechassismonitorwillnowhavetwoemulationmodulesinitreadytogo. 

 

CreatingaconnectioninRSLinx

1.StartRSLinxunder Start>Programs>RockwellSoftware>RSLinx>RSLinxClassic

2.Click Communications>ConfigureDrivers.

3.Selectthe VirtualBackplane(SoftLogix58xx) driverfromthe AvailableDriverTypes list.

4.Click AddNew.TheAddNewRSLinxDriverdialogboxappears.Click OK.

5.Thenewdriverappearsinthe ConfiguredDrivers list.Click Close.

 

UsingRSLogixEmulatorinaProject

Tousetheemulatorinaprojectyoumustsetupthehardwarecorrectly.

1.StarttheRSLogix5000softwareandcreateanewproject.

2.UndertheNewControllerwindowtypeselectan Emulator–RSLogixEmulator5000Controller. GiveitanameandassignittothesameslotastheoneyouputintheChassisMonitorwhichinourexampleisslot2. Click OK.

3.InRSLogix5000'sControllerOrganizer,rightclickonthe I/OConfiguration folder,andthenclick NewModule.Thesoftwaredisplaysthe SelectModule window.

4.Openthe Other folder.Selectthe 1756-MODULE fromthemoduleslistandthenclick OK.

5.Thesoftwaredisplaysthe NewModule window. 

a. Adda Name forthecard.

b. Inthe Slot fieldputthenumberthatcorrespondswiththeChassisMonitor.

c. Forthe ConnectionParameters putinthefollowingandclick OK 

 

AssemblyInstance 

Size

Input

1

2

Output

2

1

Configuration

16

0

6. 

7.

8.Onthenext ModuleProperties screenmakesuretochangethe RequestedPacketInterval to50.0ms.

 

Ready,Set,Go

YouarenowreadytousetheemulatorjustlikeyouwouldanyotherPLC.  Open WhoActive andsetthepathtothe RSLogix5000Emulator.

 

 

Theinputscanbesimulatedintheemulator’s ChassisMonitor byrightclickingonthemoduleandselecting Properties. Underthe I/ODatatabistheabilitytotoggleeachoftheinputsonoroff.

 

 

.

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 表格模板 > 调查报告

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1