Docsity

Siemens - Simatic S5 - 2, Manuais, Projetos, Pesquisas de Tecnologia Industrial

Pré-visualização parcial do texto

Baixe Siemens - Simatic S5 - 2 e outras Manuais, Projetos, Pesquisas em PDF para Tecnologia Industrial, somente na Docsity!

SIEMENS SIMATIC S5 STEP º 5 Manual €79000-G8576-C800-01 Graooa-HB576-C800-01 Overview Practical Application of STEP 5 - Programming Example - User's Guide Graphical User Interface Object Editor Test Management Documentation Change Help Description of Technical Resources Appendix Al - A9 Notes / Remarks Forms Safety Guidelines Correct usage PAN This manual contains notices which you should observe to ensure your own personal safety,as well asto protectthe product and connected equipment. Thesenoticesare high- lighted in the manual by à warning triangle and are marked as follows according to the level of danger: Note draws your attention to particularly important information on the product, handling the product, or to a part of the documentation. Only qualificd personnel should be allowed to install and work on this equipment. Qua- lificd persons are defined as persons who are authorized to commission, to ground, and totag circuits, equipment, and systems in accordance with established safety practices and standards, Please observe the following: Warning This device and its components may only be used for the applications described in the catalog or the technical description, and cnly in conjunction with devices or com- ponents from other manufacturers which have been approved or recommended by Siemens, This product can only function correctly and safely if it is transported, stored, set up, and installed correctly, and operated and maintained as recommended. Trademarks SIMATICO and SINECO are registered trademarks of SIEMENS AG. Copyright O Siemens AG 1993 All Rights Reserved Disclaimer of Liability The reproduction, transmission or use of this document or its contents is We have checked the contents ofthis manual for agreement with not permitted without express written authority. the hardware and software described. Since deviations cannot Offenders vil be liable for damage. Al rights, including rights created by be precluded entirely, we cannot guarantee full agreement. patent grant or registration of a utility mode! or design, are reserved. However, the data in lhis manual are reviewed regulariy and any Siemens AG Automation Group Industrial Automation Systems Postfach 4848, D-90327 Númberg necessary corections included in subsequent editions. Suggestions for improvement are welcomed. & Siemens AG 1998 Technical data subject to change. Siemens Aktiengesellschaft Grs000-G8576-C800 Contents 322 3.23 3.25 33 331 Project Settings Page 1 Page 2 Load .lcclilcci aa eee Save. ..lllll nani Save as Blocks Outputdirectory . . Lc ccccssiccscs rr ara 3-33 Transferring blocks 3-35 Comparing blocks 3-39 Delete ...... ca a PR ea . 3-40 DOS Files ....ccicccccsc cer er 3-41 Directory ...cccclcc eae 3-42 Copying 3-43 Deleting files... 3-46 PCPM File .... ca ce ce ca . 347 Directory .ccccicccccss crer erra ra 3-48 Copying Copying poeting End . Editor ....... Common Functions in STL, LAD, csr. Pa e . 357 Selecting the editor... cc cccccccccccccccccc ra 3-58 Selecting an Editor with Search . . ..icccccccsccccsscrcs 3-60 Assignment of the function keys in the output mode... 3-62 Inputting the library number . 3-64 Switching over the method of representation PR ea . 3-6 Editing comments ..ccccccscctscccrsarc cratera 3-65 Plant comment ....cccliliss ss 3-66 Segment comment 3-72 Segment title ... . 3-75 Displaying operand comments . 3-76 Appending, inserting, transferring, deleting à a segment Cera 3-77 Copying a segment Deleting a segment . Transferring/shifting a segment RR e - Displaying cross references, block change ......iccciccccccco 3-81 Crs000-J8576-CB00-01 Contents Ed Ed ia Searching for operands. . ..cccccscsscccsrcrrrra rs 3-84 Editing symbolic operands in the block Rae ce 3-85 Editing Statement Lists ..ciccccscsscccsrccrrra rs 3-87 Displaying addresses . . cc ccccccscsscccrrcrrrr ares 3-88 Statement comment ...lccccclclci 3-88 Function block ....ccclilsss ss 3-90 Editing a function block . 3-92 Editing a new function block 3-93 Calling a function block . ..iiciccicsscccsrccrcra ras 3-9, Editing Ladder Diagrams PNPRRRE Working with the LAD editor . .... Logic operations PNPRRRE Arithmetic operations ...cicccciccccsccccr cr Block calls a Loading and transfer operations . ... SHIFT and rotate operation: PNPRRRE Rae ce Latching operations ..ccciciccscsscccrrcrrra rr Conversion operations ...ciciccscsscccrrcrrrra rca Comparator operations . . Digital logic operands .. Counter operations . ... e RR e RR Timer operations . ....cccccccscccccccc e Editing Control System Flowcharts Working with the CSF editor ..... Logic operations ..... 3-130 Complex functions . ... 3-137 Arithmetic Operations 3-140 Block calls . ..cccccccccsscs ss 3-143 Loading and transfer operations . ... 3-144 Shift and rotate operations 3-145 Latching operations e Re e .. 3-146 Conversion operations ...ciccccccscccccrsrrcra raca 3-148 Comparator operations... .iccccicscccccrsrcra rara 3-149 Digital logic operands .. 3-151 Counter operations . ... PNPRRRE Rae ce o 3152 Timer operations . ....cccccccscccccccc e 3-154 CrS000.,8576-C800-01 I-3 Contents 354 Force Variables . . cc cccccccccc crer 3-223 Editing the operand list ce Va FA Status of the operands (displaying 5 process variables) Cerca 3-225 Influencing process variables from the PG . Lc ccciccccsccics 3-225 Force Outputs .lclccccclcccc 3-227 Editing the operand list ...ccccccccccciccccrcca 3-228 Setting output variables at the PG... Re e .. 3-229 Outputting PLC Into... ccccccsn rr 3-230 ISTACK Interrupt stack of the PLC... icccccssccccssccrcaa Block stack of the PLC (BSTACK) . . Outputtingmemory contents . ..... Memoty configuration of the PLC System parameters of the PLC ....ccccccclccc Program Test ON RR Program Test OFF .... Management Generate XRF . EPROM Rewiring .. as Automatic rewiring using the signment list Manual rewiring with a modi Assignment Lists Converting SEQ — INI. Converting INI — SEQ . Correcting assigoments in the symbol file Converting stage V1.x V2.x Deleting SEQ . Deleting INI PNPRRRE Rae ce ea Outputting the error list. .cccccccccccccccc rca Selectinga Drive... cc cccccccsccc cr Bus Paths... ....... Setting bus paths . .... Editing bus path: Documentation ...... Standard Output Program structure STEP 5 blocks... clic 3-284 Data blocks... . clic 3-285 CrS000.,8576-C800-01 I-5 Contents 36.2 3.63 DB screen forms ....ccccciccccccc ceara Assignment list. . ea RR PRA a XRF list .ccccccccsrces rrenan rara VOO list. ciliar aeaea Threesin-one ..lccccccs cs Enhanced Output. ...cc cics crer Program sections . e e e e Blocks ...lclccls cs DBI screens ....ccccccs errar Block list. .... Assignment list. . Reference data .. Program structure Cross reference list. . 2 ci cccccc cics 3-307 Doc Commands ..ccccccccccc cera Editing Doc commands Checking Doc commands Outputting the error list Executing doc commands Printing doc commands Editing the structure Printing the structure Settings ....cciccccs RR PRA a Setting printer parameters ....ciccccscccccsscccraracs 3-339 Footer... .lcll nc Editing footers .. Using the footer keys Key Assignment Lisi Info - STEPS Version ..... a PR ea 3-350 Version of 85 Packages ....ccccccccccsttccrcrasrca 3-350 Crs000-J8576-CB00-01 Contents I-8 CrS000.,8576-C800-01 Overview C79000-B8576-C800-01 How to Use the Manual Example: making the settings for a project o EN Settings > 4. (> Project, Settings, ). These pointers indicate that you can find further information in this section, The terms following ">" are always listed in the contents or in the index. 5. Keys such as ESC, Return or Insert are printed in italics and bold face. You want to run the STEP 5 software on a programmer ó (PG) or personal computer (PC) You must distinguish between the following situations a) Ifyou have just acquired the STEP 5 software along with a new PG, it is already installed on the PG. You only require a few steps to activate the program (—» Geiting Started) b) You have acquired the STEP 5 software as an upgrade package or as a PC package. In this case, install the software on your PG (PC) following the instructions in the "Product Information” and start up the software. In both cases, you will see start-up screens displayed which must be completed bascd on the information in the Product Information. The first STEP 5 meou is then displayed. C79000-88576-C800-01 1-3 How to Use the Manual You want to create a user program with the STEP 5 software for the first time Chapter 2 Icads you step by step through the process of writing a program based on the simple example of a carwash. Using the complete example supplied as an STL program with the package, you can check that your first programming session was successful. You need to decide about the data management system ó for your user data Tf you use the S5-DOS/MT operating system, you can choose between two data managers (S5-DOS and BTRIEVE). Read Chapter 4 for an explanation of the advantages of one against the other, Make sure you decide before starting to write your uscr program. You want to get an idea of the operating elements you use Í to move through the STEP 5 software Section 3.1 provides you with this information. Tt is advisable to read this section before beginning to work with STEPS. C79000-B8576-C800-01 How to Use the Manual 1-6 C79000-88576-C800-01 New Features Compared with Previous Versions 1.2 Product Overview Operating system STEP Sin the MT mode 1.24 New Features Compared with Previous Versions Data/file management C79000-B8576-C800-01 STEP 5 software from release 3.0 can be used on a PG 7xx with the following operating systems: and on an AT compatible PC with a special operating system S5-DOS/ST (ST = Single Tasking using MS-DOS). S5-DOS/MT (MT = Multitasking using FlexOS) package (STEP 5 programming package for PCs). Information about installation and the functions of the operating systems can be found in the relevant manuals. When using the STEP 5 software under $5-DOS/MT, you can load the package twice so that you can continue working while executing time-consuming functions (e.g. printing documentation). Alternatively you can, of course, load and run other applications at the same time. Release V6.0 differs considerably from previous STEP 5 versions. Jt also includes the extended functions and modifications explained briefly below. STEP 5 can no longer be run with S5-DOS (PCPM). You can convert existing programs so that they are compatible with the operating system you decide to use. (— Object, PCP/M File). The data management system BTRIEVE can run under S5-DOS/MT, New Features Compared with Previous Versions Preparations for * All the settings and selections for files and program parameters programming for a project have been put together in two basic "settings boxes" (— Project, Settings). * All the presets are stored in a file which can be reloaded making repeated setting of program parameters unnecessary (=> Project). * The presets you select during one programming session are still valid when you want to program again, even after exiting STEP 5. Documentation * The previously independent package KOMDOK is now an integral part of STEP 5 (— Enhanced output). * Within each function the destination of the output can be selected (— Graphical User Interface, Job box). Editing All the modifications involving editing are listed below, sorted according to functions. — Comector * Apart from the existing connector, a negated connector with the same applications has been implemented. (— Editor, Editing Ladder Diagrams/Control System Flowcharts), * You can now specify the connector and the negated connector immediately before CSF outputs. — Complex function * The new language elements can be represented as complex elements function elements (— Editor, Editing Ladder Diagrams/Control System Flowcharts). * You can combine all complex function elements in a CSF segment. * Complex arithmetical function elements have extendable inputs (Function element with two inputs). C79000-88576-C800-01 1-9 Product Overview — Cursor display — Block calls — New output in CSF — Cursor positioning — Expanding — Editing mode -— FB 1-10 The screen representation of the status display of complex function elements has been extended (— Test, Block Status). To indicate the current editor position, a Long cursor has been introduced, its length corresponding to the length of the input field (— Editor). In an empty segment, a call can be input directly using function keys. You can append calls in existing segments withAwithout the automatic expand function. Implicit apppending or inserting of a new output is possible (> Editor, Editing Control System Flowcharts), There are new key functions for positioning the cursor in the editing window (— Appendix A4, Key Assignment). These cursor positioning functions can also be activated using function keys ("Extras") (— Editor, Editing Ladder Diagrams/Control System Flowcharts). Whenever the expand function would otherwise be necessary, this is now performed automatically (— Editor, Editing Ladder Diagrams/Control System Flowcharts). The "correction" mode no longer exists, there are only the modes "edit" and "output". There are now more ways to edit FBs: — They can now be programmed in LAD and CSF. With the exception of the first segment, all new language elements can now be used graphically within a segment (— Editor, LADICSF). — The formal operands defined in the first segment cannot be used in a LAD or CSF segment. C79000-B8576-C800-01