SIMATICNETSPC3SiemensPROFIBUSControllerHardwareDescriptionDate2003/04/09SIMATIC-NET(SiemensPROFIBUSControlleraccordingtoIEC61158)Version:1.3Date:2003/04SPC3HardwareDescriptionPROFIBUSInterfaceCenterSPC3Page2V1.3SPC3HardwareDescription2003/04Copyright(C)SiemensAG2003.Allrightsreserved.LiabilityExclusionWehavetestedthecontentsofthisdocumentregardingagreementwiththehardwareandsoftwaredescribed.Nevertheless,theremaybedeviations,andwedon’tguaranteecompleteagreement.Thedatainthedocumentistestedperiodically,however.Requiredcorrectionsareincludedinsubsequentversions.WegratefullyacceptsuggestionsforimprovementCopyrightCopyright©SiemensAG2003.AllRightsReserved.Unlesspermissionhasbeenexpresslygranted,passingonthisdocumentorcopyingit,orusingandsharingitscontentarenotallowed.Offenderswillbeheldliable.Allrightsreserved,intheeventapatentisgrantedorautilitymodelordesignisregistered.Subjecttotechnicalchanges.SPC3PROFIBUSInterfaceCenterSPC3HardwareDescriptionV1.3Page3Copyright(C)SiemensAG2003Allrightsreserved.2003/04VersionsReleaseDateChangesV1.112/23/99Chapter8.2CurrentconsumptionwithoutbusaccessesChapter10.1ContactpersonsV1.209/25/02IncludedthespecificationofthedifferentmanufacturersinChap.8.1,8.3,8.5and10.3Ordernumberschap10.1contactpersonsV1.32003/04IncludedthespecificationofthedifferentmanufacturersinChap.8.1,8.3,8.5and10.3PROFIBUSInterfaceCenterSPC3Page4V1.3SPC3HardwareDescription2003/04Copyright(C)SiemensAG2003.Allrightsreserved.Directory1INTRODUCTION72FUNCTIONOVERVIEW83PINDESCRIPTION94MEMORYALLOCATION114.1MemoryAreaDistributionintheSPC3114.2ProcessorParameters(Latches/Register)134.3OrganizationalParameters(RAM)155ASICINTERFACE175.1ModeRegister175.1.1ModeRegister0175.1.2ModeRegister1(Mode-REG1,writable):195.2StatusRegister205.3InterruptController225.4WatchdogTimer255.4.1AutomaticBaudRateIdentification255.4.2BaudRateMonitoring255.4.3ResponseTimeMonitoring256PROFIBUS-DPINTERFACE266.1DP_BufferStructure266.2DescriptionoftheDPServices296.2.1Set_Slave_Address(SAP55)296.2.2Set_Param(SAP61)306.2.3Check_Config(SAP62)316.2.4Slave_Diagnosis(SAP60)326.2.5Write_Read_Data/Data_Exchange(Default_SAP)336.2.6Global_Control(SAP58)356.2.7Read_Inputs(SAP56)366.2.8Read_Outputs(SAP57)366.2.9Get_Config(SAP59)367HARDWAREINTERFACE377.1UniversalProcessorBusInterface377.1.1GeneralDescription377.1.2BusInterfaceUnit(BIU)377.1.3SwitchingDiagramPrinciples397.1.4Applicationwiththe80C32417.1.5Applicationwithth80C16542SPC3PROFIBUSInterfaceCenterSPC3HardwareDescriptionV1.3Page5Copyright(C)SiemensAG2003Allrightsreserved.2003/047.1.6InterfaceSignals437.2UART437.3ASICTest438TECHNICALDATA448.1MaximumLimitValues448.2PermittedOperatingValues448.3DC-SpecifikationoftheI/O-Drivers448.4AC-SpecificationfortheOutputDrivers458.5TimingCharacteristics468.5.1SYSBusInterface468.5.2TimingintheSynchronousC32-Mode:478.5.3TimingintheAsynchronousIntelMode(X86Mode):498.5.4TimingintheSynchronousMotorolaMode(E_Clock-Mode,forexample,68HC11):508.5.5TimingintheAsynchronousMotorola-Mode(forexample,68HC16):528.5.6SerialBusInterface548.5.7Housing558.5.8ProcessingInstructions569PROFIBUSINTERFACE579.1PinAssignment579.2ExamplefortheRS485Interface5810APPENDIX5910.1Addresses5910.2GeneralDefinitionofTerms6010.3OrderingofASICs6010.3.1SPC3(AMI)6010.3.2SPC3(ST)6011APPENDIXA:DIAGNOSTICSPROCESSINGINPROFIBUSDP6111.1Introduction6111.2DiagnosticsBitsandExpandedDiagnostics6111.2.1STAT_DIAG6111.2.2EXT_DIAG6111.2.3EXT_DIAG_OVERFLOW6311.3DiagnosticsProcessingfromtheSystemView6312APPENDIXB:USEFULINFORMATION6412.1DataformatintheSiemensPLCSIMATIC64PROFIBUSInterfaceCenterSPC3Page6V1.3SPC3HardwareDescription2003/04Copyright(C)SiemensAG2003.Allrightsreserved.SPC3PROFIBUSInterfaceCenterSPC3HardwareDescriptionV1.3Page7Copyright(C)SiemensAG2003Allrightsreserved.2003/041IntroductionForsimpleandfastdigitalexchangebetweenprogrammablelogiccontrollers,SiemensoffersitsusersseveralASICs.TheseASICsarebasedonandarecompletelyhandledontheprinciplesoftheEN50170Vol.2,ofdatatrafficbetweenindividualprogrammablelogiccontrollerstations.ThefollowingASICsareavailabletosupportintelligentslavesolutions,thatis,implementationswithamicroprocessor.TheASPC2alreadyhasintegratedmanypartsofLayer2,buttheASPC2alsorequiresaprocessor’ssupport.ThisASICsupportsbaudratesupto12Mbaud.Initscomplexity,thisASICisconceivedprimarilyformasterapplications.DuetotheintegrationofthecompletePROFIBUS-DPprotocol,theSPC3decisivelyrelievestheprocessorofanintelligentPROFIBUSslave.TheSPC3canbeoperatedonthebuswithabaudrateofupto12MBaud.However,therearealsosimpledevicesintheautomationengineeringarea,suchasswitchesandthermoelements,thatdonotrequireamicroprocessortorecordtheirstates.TherearetwoadditionalASICsavailablewiththedesignationsSPM2(SiemensProfibusMultiplexer,Version2)andLSPM2(LeanSiemensPROFIBUSMultiplexer)foraneconomicaladaptationofthesedevices.TheseblocksworkasaDPslaveinthebussystem(accordingtoDINE19245T3)andworkwithbaudratesupto12Mbaud.AmasteraddressestheseblocksbymeansofLayer2ofthe7layermodel.Aftertheseblockshavereceivedanerror-freetelegram,theyindependen