Barcodesareafast,simpleandefficientwayofrecordingdata.Weoftenhavetheprobleminautomationtechnologythatbarcodeshavetobereadintoalogiccontrolusingverydifferenttypesofscanner,frequentlymadebydifferentmanufacturers.Asthereadingprocessissofast,datahastobebufferedinthecontrolsystemandoutputagainonrequestinchronologicalor-der.Ifanerrorismade,theusermustbeprotectedfromdataloss.ThecombinationofSIMATICproductsandbarcodescan-nersofdifferentmanufactur-ersisanexcellentsolutiontothisproblem.Theset-upiscompletedbyapplicationsoftwaredevelopedspeciallyforthispurpose.Itisbasedonaninfrastruc-turethatisindependentofthetypeofscannerusedorthemanufacturer,anditcanreadbarcodesofdifferentcharac-terlengths.UsingtheSIMATICCP340(PtPlink)barcodesaretransferredviaRS232CtotheS7-CPU.TheprocedurestartswhenabarcodeisreadintotheS7-CPU.Toavoidlosinganydata,itistemporarilystoredinaringbuffer(FiFo)intheCPU.Whentheuserrequestsdata,itistransferredontheFiFoprinciplefromtheringbuffertoadefineduserinterfaceforfurtheruse.Withthehelpofthegradeddocumentationstructureyoucanfamiliarizeyourselfwiththeapplicationfunctionsasrequired,startthemreferringtothestep-by-stepinstruc-tions,oradapttheannotatedencodingelementstoyourownrequirements.Youaregivenstep-by-stepinstruc-tionsforchangingthepa-rametersoftheS7hardwarecomponentsandthescanners(thetypesweuse).Itisasimplemattertoadapttheapplicationtoscannersofvarioustypesandmanufac-turersbychangingthepa-rametersorreconfiguringthecodesupplied.ApplicationsThequickestwaytothebestsolutionReadingandprocessingofbarcodeswithSIMATICS7-CPUandserialCP340Service&Supportwww.ad.siemens.de/supportTheinfrastructureTotransferthebarcodestotheS7-CPUthereisaCP340inthecentralrack(forpoint-to-pointlink-up).Thisisinde-pendentofmanufacturer,i.e.varioustypesofscanner(withRS232Cinterface)byallreputablemanufacturerscanbelinkedusingthismodule.TheCP340preparestheRS232CsignalscomingfromthescannerandtransfersthemviaabackplanebustotheS7-CPU.InthisapplicationafixedbarcodescannerbySICKandaDATALOGIChandscan...