Example: barber

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.

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 operations in the pocket guide is inadequate, can use Section 3.5 as a reference section. Chapter 4 This provides an overview of the modes and program execution levels of the CPU 928B.

Tags:

  Guide, Pocket, Siemens, Explain, Pocket guide

Information

Domain:

Source:

Link to this page:

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

Other abuse

Advertisement

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.

2 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. 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.

3 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!!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.

4 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. It therefore deals with thebasics of STEP 5 Programming and explains the STEP 5 operations indetail (with examples).

5 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.

6 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. 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.

7 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. 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).

8 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.

9 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.

10 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). 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.


Related search queries