Example: dental hygienist

S5-135U CPU 928B Programming Guide - Siemens

IntroductionUser ProgramProgram ExecutionOperating Modes and ProgramProcessing LevelsInterrupt and Error DiagnosisIntegrated Special FunctionsExtended Data Block DX 0 Memory Assignment andMemory OrganizationMemory Access UsingAbsolute AddressesMultiprocessor Mode andCommunicationPG Interfaces and FunctionsAppendixFurther ReadingList of AbbreviationsIndexList of Tables and FiguresThe CPU 922/CPU 928/CPU 928B/CPU 948 List ofOperations, Order No. 6ES5 997-3UA22 is included with this S5 Programming GuideOrder No. 6ES5 998-2PR21 Release 01S5-135 UCPU 928B1234567891011121314C79000-H8576-C898 -01 CopyrightCopyright Siemens AG 1994 All Rights ReservedThe reproduction, transmission or use of this document or its contents is not permitted without expresswritten will be liable for damages. All rights, including rights created by patent grant or registration of autility model or design, are of liabilityWe have checked the contents of this manual for agreement with the hardware and software deviations cannot be precluded entirely, we cannot guarantee full agreement.

program can be structured. Chapter 3 This is intended for readers who do not yet have much experience of using the STEP 5 programming language. It therefore deals with the basics of STEP 5 programming and explains the STEP 5 operations in detail (with examples). Experienced readers who may find that the information about specific

Tags:

  Language, Siemens, Structured

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of S5-135U CPU 928B Programming Guide - Siemens

1 IntroductionUser ProgramProgram ExecutionOperating Modes and ProgramProcessing LevelsInterrupt and Error DiagnosisIntegrated Special FunctionsExtended Data Block DX 0 Memory Assignment andMemory OrganizationMemory Access UsingAbsolute AddressesMultiprocessor Mode andCommunicationPG Interfaces and FunctionsAppendixFurther ReadingList of AbbreviationsIndexList of Tables and FiguresThe CPU 922/CPU 928/CPU 928B/CPU 948 List ofOperations, Order No. 6ES5 997-3UA22 is included with this S5 Programming GuideOrder No. 6ES5 998-2PR21 Release 01S5-135 UCPU 928B1234567891011121314C79000-H8576-C898 -01 CopyrightCopyright Siemens AG 1994 All Rights ReservedThe reproduction, transmission or use of this document or its contents is not permitted without expresswritten will be liable for damages. All rights, including rights created by patent grant or registration of autility model or design, are of liabilityWe have checked the contents of this manual for agreement with the hardware and software deviations cannot be precluded entirely, we cannot guarantee full agreement.

2 However, the data inthis manual are reviewed regularly and any necessary corrections included in subsequent for improvement are data subject to guidelinesThis manual contains notices which you should observe to ensure your own personal safety, aswell as to protect the product and connected equipment. These notices are highlighted in themanual by a warning triangle and are marked as follows according to the level of danger: Warningindicates that death, severe personal injury or substantial property damage canresult if proper precautions are not that minor personal injury or property damage can result if properprecautions are not qualified personnel should be allowed to install and work on this equipment. Qualified personsare defined as persons who are authorized to commission, to ground and to tag equipment,systems and circuits in accordance with established safety practices and Aktiengesellschaft6ES5 998-2PR21 EWK Elektronikwerk KarlsruhePrinted in the Federal Republic of Germany!

3 !How to use this ManualScopeThis Programming Guide describes the following versions of the CPU 928B-3UB11 and CPU 928B-3UB12 and its sy stem software:The additional functions of the CPU 928B-3UB12 are indicated in themanual. Some of them can be retrofitted to the CPU 928B-3UB11(see Section for details).CPU 928B Programming GuideC79000-D8576-C898-010 - 1 Overview of the ChaptersChapter 1 This informs you about the areas of application of the S5-135 Uprogrammable controller with the CPU 928B and its device structure. It explains the typical mode of operation of the CPU and illustrateshow a CPU program is structured . The chapter also contains suggestions about how to tackleprogramming and which characteristics of the CPU 928B areimportant for Programming . If you have already worked with the CPU 928B-3UB11 and want toknow the differences between these CPU and the CPU 928B-3UB12you will find this information in this 2 This explains the components of a STEP 5 user program and how theprogram can be 3 This is intended for readers who do not yet have much experience ofusing the STEP 5 Programming language .

4 It therefore deals with thebasics of STEP 5 Programming and explains the STEP 5 operations indetail (with examples).Experienced readers who may find that the information about specificoperations in the pocket Guide is inadequate, can use Section as aref erence 4 This provides an overview of the modes and program execution levelsof the CPU 928B. It provides y ou with detailed information aboutvarious start-up modes and the associated organization blocks inwhich you can program y our routines for differrent start-up chapter also explains the differences between the programexecution levels "cyclic processing", "time-controlled processing" and"interrupt-driven processing" and which blocks are available for y ouruser 5 This informs you about errors to be avoided when planning andwriting y our STEP 5 programs. The chapter tells you about the help you can obtain from the systemprogram for diagnosing errors and which reactions can be expectedand informs you about the blocks in which you can program reactionsto certain chapter also explains the CPU 948 to Use this ManualCPU 928B Programming Guide0 - 2C79000-D8576-C898-01 Chapter 6 This covers the special functions integrated in the sy stem program.

5 Ittells y ou how to use the special functions and how to call and assignparameters to the special function OBs. The chapter also explains howto recognize and deal with errors in the processing of a 7 This describes the use of data block DX 0 and its structure. The chapterinforms you of the significance of the various DX 0 parameters. Based onexamples, you will learn how to create data block DX 0 or how to assignthe parameters in a screen 8 This is a reference section for experienced system users. It providesinformation about the memory organization of the CPU 928B andcertain system data words which contain information that can becalled up by the 9 This is also for experienced sy stem users. The chapter explains how toaddress data in certain memory areas using absolute 10 This explains when the multiprocessor mode can be used and howdata can be exchanged between the CPUs and CPs.

6 The chapterprovides information about Programming for multiprocessor remainder of the chapter provides detailed information andapplication examples for exchanging larger amounts of data in themultiprocessor mode (multiprocessor communication).Chapter 11 This tells you how to connect your CPU to a PG and the functionsprovided by the PG software to test your STEP 5 12 This contains the Appendix with technical specifications of the CPUswhich can be used on the S5-135U , some reference tables withimportant information on error diagnostics and an ISTACK to Use this ManualCPU 928B Programming GuideC79000-D8576-C898-010 - 3 Chapter 13 This lists documentation for further 14 This is intended to help you find themes quickly and contains a list ofabbreviations and a list of keywords as well as lists of all thenumbered tables and to Use this ManualCPU 928B Programming Guide0 - 4C79000-D8576-C898-01 Conventions used in the textTo provide you with an overview of the contents of the pages, themanual uses the following conventions in addition to a 2nd and 3rdorder of titles.

7 Entries in the marginEntries in the margin are keywords printed in italics on the left-handedge of a page. They provide information about the contents of one ormore paragraphs on the order entriesFourth order entries are not numbered but appear in the margin in boldface and identify a longer section of following conventions are also information is indicated in this (often a sequence of operations to be performed) arerepresented in tables, the mode selectorfrom RUN to CPU is in the stopmode. The STOP L ED is litcontinuously .2 Hold the reset switch in theOVERAL L RESET position;at the same time, switch themode selector from STOP toRUN and back to OVERALL RESET isrequested. The STOP LEDflashes to Use this ManualCPU 928B Programming GuideC79000-D8576-C898-010 - 5 Reference tablesSpecific information y ou may require at any time is contained innumbered tables as shown in the following example and can be foundin the list of tables (refer to Chapter 14).

8 To logic operation with scan for signal state "1"OR logic operation with scan for signal state "1"of an input in the , some of which cover several pages, are highlighted by a grayframe. When the examples cover more than one page this is clearlyindicated. Table 3-2 Binary logic operationsExample 1: Calling and assigning parameters to a function block in themethods of representation STL and LAD/CSF in a program blockMethod of representation to Use this ManualCPU 928B Programming Guide0 - 6C79000-D8576-C898-01 Contents of Chapter of Application for the S5-135U with the CPU 928B.. 1 - Mode of Operation of a CPU .. 1 - Programs in a CPU .. 1 - 8 System program .. 1 - 8 User program .. 1 - Operands are available to the User Program? .. 1 - Operand Areas and Memory Areas .. 1 - to Tackle Programming ? .. 1 - Tools .. 1 - is New with the CPU 928B?

9 1 - 211 Introduction1 CPU 928B Programming GuideC79000-D8576-C898-011 - 11 IntroductionAims of the manualThis manual is intended to provide specialized information aboutprogramming the CPU 928B for users who already have basicknowledge of Programming PLCs and want to use the CPU 928B inthe S5-135U programmable controller. If y ou do not yet have thisbasic knowledge, we strongly advise y ou read the documentationintroducing the Programming language STEP 5 (STEP 5 Manual,refer to Chapter 13) or take part in a course at our training provides comprehensive training for SIMATIC S5. Formore detailed information, contact y our local Siemens of Chapter 1 Chapter 1 explains how to use the manual and deals with the areas ofapplication of the S5-135U programmable controller with theCPU 928B and its chapter explains the typical mode of operation of a CPU and thestructure of the CPU will also find a few suggestions about how to tackleprogramming and will learn some of the features of the CPU 928B(-3UB12) which are important for you have already worked with the CPU 928B (-3UB11) and wouldlike to know the differences between these modules and the CPU 928B (-3UB12), refer to Section 928B Programming GuideC79000-D8576-C898-011 - of Application for the S5-135U with the CPU 928 BSIMATIC S5 familyThe S5-135U programmable controller belongs to the family ofSIMATIC S5 programmable controllers.

10 With the CPU 928B, it is themost powerful multiprocessor unit for process automation (open andclosed loop control, signalling, monitoring, logging).Owing to its modularity and high performance, it can be used formedium to extremely large control systems as well as for complexautomation tasks at the plant and process supervision S5-135U with the CPU 928B is particularly suitable for thefollowing: Tasks requiring fast bit and word-oriented processing and fastreaction times, with extremely fast open and closed loop of this are fast processes in mechanical engineering(bottling plant, packing machines or similar systems) and in theautomobile industry. Tasks requiring an extremely high storage capacity and fast accesstimes, in the automobile industry, process and plantengineering. Tasks requiring fast communication with other CPUs installed inthe PLC and operating in the multiprocessor mode and with CPmodules ( when connected to bus sy stems, host computers, forvisualization, operation and monitoring).


Related search queries