Sei sulla pagina 1di 1

2/21/2017 HowtoaddresstheI/OofAllenBradleyPLC's?

Actually,thisisnotthecase.
SLCI/Oareaddressedbyslotnumber.Example:
I:1/15wouldbelast(16th)pointinslot1.Thereisnoracknumberinvolved.Alladdressesaredecimal.Slotnumber
canbe1to30(slot0isalwaystheCPU).Certaincardshavemorethen16bitspercard(suchas32pointcardsor
analogI/O).TheseareaddressedasX:ss.ww/bb,whereXiseitherIorO,ssistheslotnumber,wwisthewordwithin
theslot,andbbisthebit.AnexamplewouldbeI:1.1/15.Thiscouldbethelastpointofa32pointinputcard,ora
singlebitofananaloginput.NotethatI:1/15isequivilanttoI:1.0/15.
PLC5susetherackgroupslotaddressingscheme.Example:
I:rrg/sbisapointonthecardinrackrr,groupg,slots,bitb.Alladdressesareoctal.
I:002/12isalegaladdress.thisisrack0,group2,slot1,point2.
Rackscanbe0to77,groupsare0to7,slotiseither0or1.
Tomakethisevenmoreconfusing,thisaddressingschemeisbasedontheold8pointcardsthattooktwocardstofilla
word.Takea16slotrack.Ifyouusedthisstyleofaddressing,itwouldbeonelogicalrack,with8groups,and2slots
pergroup.Forinstance,thefirstslotwouldbeI:000/0007,thesecondslotwouldbeI:000/1017,ifbothare8point
inputs.Thisaddressingmethodiscalled2slotaddressing,meaningittakes2physicalslotsperlogicalword.Each
physicalslotisonly1/2alogicalslot.Thisistypicallyonlyusefulifusing8pointcards,oralternating16pointinputs
andoutputsinthesamegroup,i.e.inputinfirstphysicalslotthenoutput,input,...,etc.
Singleslotaddressingmeanseachphysicalslotis16bitswide.Typicallyusedwith16pointcards.Eachphysicalslotin
arackcorresondstoalogicalgroupandbothofitslogicalslots.Ifa16slotrackisusedinthismode,itoccupies2
logicalracks.Asanexample,thefirstcardwouldbeI:000/0017,thelastcardwouldbeI:017/0017.
Theyalsohave1/2andIthink1/4slotaddressingaswelltoaccomodate32and64pointcards.theaddressingschemes
cangetveryconfusing,andaresetbydipswitchesontheI/OracksandRIOadaptermodules.Theeasiestsolutionwith
PLC5sistousesingleslotaddressing.Itstheleastconfusing.
YoucanalsoaddressI/OinwhattheycallcomplementaryI/O.Thisiswhereyouhavetwophysicalrackswiththesame
logicalracknumber,where(forinstance)oneisallinputsandthesecondrackisalloutputs.
ItwouldtakeaLOTmorethenafewparagraphstodescribePLC5addressingschemes.
OnethingaboutSLCsthough.RemoteI/OonanSLCisaddressedaccordingtotheslotnumberofthescannermodule.
Ifthescannerisinslot1,thefirstpointwouldbeI:01.0/00.ThelastinputwouldbeI:01.31/15.Youcould
(theoreticallyanyway)have3216pointI/Ocardsoneachscanner.And(againtheoretically)youcouldhave30scanner
cards(oneineachI/Oslot).SoyoucanhaveaLOTofdigitalI/Othatway.Thesescannersalsosupportsingleslot,2
slot,andhalfslotaddressing,alongwithcomplementaryI/O,soitcangetalittlestrange.Butifyousticktoalllocal
I/O,theSLCsaremucheasiertoaddress.
AnalogisalsosupportedonRIOlinkswithSLCsbutisVERYslow,andabitconvolutedtouse,soifyoucanitisbest
toputanalogI/Ointhelocalrack.
BobPeterson

http://control.com/thread/1009980165#1009980165 1/1

Potrebbero piacerti anche