Usando o Factory-IO
Usando o Factory-IO
Usando o Factory-IO
Step1:Installation
Installthedemoversion:DeselecttheAdvantechdriverswhenthedialogSelectComponentsappear.
Thisdriversarenotnecessaryforthistutorial.
Step2:Activatethe30daytrial
StartFactoryI/Owithadminrights.Thisisatthe1.Startrequired,sothatthe30daytriallicensecanbe
activated.TostartFactoryI/Owithadminprivileges,clickonthestarticononthedesktopwiththerightmouse
buttonandselect"RunasAdministrator".
Nowgotothetab"Licensing"andpressthebutton"GetTrialLicense":
2014,MHJSoftwareGmbH&Co.KGwww.mhj.dePage1
FACTORYI/OisaregisteredtrademarkofRealGamesLda
Closethedialogviathe"closecross"onthetoprightinthedialog.
Ifyouhavenotstartedwithadminrights,thefollowingerrormessageappears:
Step3:Createanewmachine
SelectFile>New,tocreateanewmachine.Inthisquickstartguide,aStartButtonandaWarningLightare
used.TheWarningLightshouldlightwhentheStartButtonispressed.
ChoosetheBeltConveyor4mfromthePaletteWindowfromthesection"LightLoadConveyors".Dragand
dropitintothescene:
TheBeltConveyoronlyservesasa"Mount"fortheWarningLightandtheStartButton.
2014,MHJSoftwareGmbH&Co.KGwww.mhj.dePage2
FACTORYI/OisaregisteredtrademarkofRealGamesLda
Now,doubleclickthewhitesurfaceoftheconveyorbelt.(Seeimage).
Thiscausesthatthesubsequentparts(StartTasterandWarningLight)havethecorrectheightafterthedragand
dropoperation.Withthismethodyoucaninsertpartsintothe3Dscenequickandeasy.
NowinsertaWarningLightfromthesectionWarningDevicesandaStartButtonfromthesection
Operators.
Nowitshouldlooklike:
Step4:Selectdriverandwiringofsensorsandactuators
SelectwithFile>Driverconfigurationthedesireddriver.Withtheappropriatedriver,youcanconnectfor
examplewithWinSPSS7V5('MHJ'driver),PLCSimV5.4/V5.5(PLCSimoftheTIAPortalisnotsupported)orwith
anexternalPLC(S7300/400,1200,1500,LOGO!).
Inthisexample,weselectthedriver"SIEMENSS7300TCP/IP":
2014,MHJSoftwareGmbH&Co.KGwww.mhj.dePage3
FACTORYI/OisaregisteredtrademarkofRealGamesLda
Thesensorslocatedontheleftandontherightsideyoufindtheactuatorsofthecurrentscene.
NowwirethesystemwithDragandDrop:Dragthe"StartButton1"totheinputI0.0.
Dragtheactuator"WarningLight1"totheoutput"Q0.0".
Theresult:
2014,MHJSoftwareGmbH&Co.KGwww.mhj.dePage4
FACTORYI/OisaregisteredtrademarkofRealGamesLda
Thesystemisreadywired.IfyouhaveselectedadriverforaPLC,enternowthecorrectIPaddress.Ifyouhave
settheMHJdriverforWinSPSS7,thennofurtheradjustmentsarenecessary.Closetheconfigurationviathe
button"Close".
NowyouneedtotransferstilltheprogramintothePLC(ortheSoftwarePLCofWinSPSS7).
Program:
A I0.0
= Q0.0
Iftheprogramistransferred,thenswitchfactoryI/OintheRUNmodeandpresstheStartButtonwiththe
mouse:
FurtherInformationen:
IntheprogramgroupofFactoryI/O,youfindtheUser'sGuide:
ThedriverforS7300/400/1200/1500,WinSPSS7usesalwaysthesameinputandoutputaddresses:
Pleaseuseinyourprogramthefollowingaddresses:
BinaryInputs:
I0.0I1.7
BinaryOutputs:
Q0.0Q1.7
AnalogInputs:
IW100IW114
AnalogOutputs:
QW100QW114
2014,MHJSoftwareGmbH&Co.KGwww.mhj.dePage5
FACTORYI/OisaregisteredtrademarkofRealGamesLda