Example: biology

PLC Programming with Rexroth IndraLogic 1 - BEC

R911305036 Edition 01 PLC Programming withRexroth IndraLogic and Programming GuideIndustrialHydraulicsElectric Drivesand ControlsLinear Motion andAssembly TechnologiesPneumaticsServiceAutomationM obileHydraulicsAbout this Documentation PLC Programming with Title Rexroth IndraLogic Operating and Programming Guide Type of Documentation DOK-CONTRL-IL**PRO*V01-AW01-EN-P Document Typecode Document Number, 120-0401-B314-01/EN Internal File Reference Update: (3S: , Version ) This documentation describes the operating and Programming interface IndraLogic . Purpose of Documentation Description Release Date Notes 120-0401-B314-01/EN First Edition Record of Revisions Bosch Rexroth AG, 2004 Copyright Copying this document, giving it to others and the use or communication of the contents thereof without express authority, are forbidden.

R911305036 Edition 01 PLC Programming with Rexroth IndraLogic 1.0 Operating and Programming Guide Industrial Hydraulics Electric Drives and Controls Linear Motion and

Tags:

  Programming, With, Rexroth, Plc programming with rexroth indralogic, Indralogic

Information

Domain:

Source:

Link to this page:

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

Other abuse

Advertisement

Transcription of PLC Programming with Rexroth IndraLogic 1 - BEC

1 R911305036 Edition 01 PLC Programming withRexroth IndraLogic and Programming GuideIndustrialHydraulicsElectric Drivesand ControlsLinear Motion andAssembly TechnologiesPneumaticsServiceAutomationM obileHydraulicsAbout this Documentation PLC Programming with Title Rexroth IndraLogic Operating and Programming Guide Type of Documentation DOK-CONTRL-IL**PRO*V01-AW01-EN-P Document Typecode Document Number, 120-0401-B314-01/EN Internal File Reference Update: (3S: , Version ) This documentation describes the operating and Programming interface IndraLogic . Purpose of Documentation Description Release Date Notes 120-0401-B314-01/EN First Edition Record of Revisions Bosch Rexroth AG, 2004 Copyright Copying this document, giving it to others and the use or communication of the contents thereof without express authority, are forbidden.

2 Offenders are liable for the payment of damages. All rights are reserved in the event of the grant of a patent or the registration of a utility model or design (DIN 34-1). The specified data is for product description purposes only and may not be deemed to be guaranteed unless expressly confirmed in the contract. All rights are reserved with respect to the content of this documentation and the availability of the product. Validity Bosch Rexroth AG Box 11 62 D-64701 Erbach Published by Telephone +49 (0) 60 62 / 78-0 Fax +49 (0) 60 62 / 78-4 28 Dept. BRC/EPY (TK) This document has been printed on chlorine-free bleached paper. Note Table Of Contents Content 1 A Brief Introduction to IndraLogic 1-1 What is 1-1 Overview of IndraLogic .. 1-1 Overview on the user documentation for IndraLogic .. 1-3 2 What is What in IndraLogic 2-1 Project 2-1 2-8 Instruction List (IL).

3 2-8 Structured Text (ST).. 2-10 Sequential Function Chart (SFC).. 2-16 Function Block Diagram (FBD).. 2-20 The Continuous Function Chart Editor (CFC).. 2-21 Ladder Diagram (LD).. 2-21 Debugging, Online .. 2-23 The 2-25 3 We Write a Little Program 3-1 Controlling a Traffic Signal .. 3-1 Visualizing a Traffic Signal .. 3-12 4 The Individual Components 4-1 The Main 4-1 Project 4-3 Managing 4-15 'Project 'Data Base Link'.. 4-34 Managing Objects in a .. 4-41 General Editing .. 4-48 General Online 4-52 Window set 4-62 Help when you need 4-62 5 Editors in IndraLogic 5-1 This is for all .. 5-1 Declaration 5-2 The Text .. 5-12 The Instruction List 5-16 The Editor for Structured .. 5-17 The Graphic .. 5-17 The Function Block Diagram 5-19 The Ladder 5-24 The Sequential Function Chart.

4 5-29 The Continuous Function Chart Editor (CFC).. 5-36 Table Of Contents 6 The Resources 6-1 Overview of the Global Variables, Variable Configuration, Document Global Variable Document Library PLC Working in the PLC General Settings in the PLC Custom specific parameter Configuration of an I/O Configuration of a Configuration of Profibus PLC Configuration in Online Target Dialog Target Task Watch and Receipt Sampling Create a Sampling 'Extras' 'Save trace values'..6-40 'Extras' 'External Trace Configurations'..6-41 Target Dialog Target Parameter Activating the Parameter Der Parameter Manager Parameter List Types and Editing parameter Export / Import of parameter Parameter Manager in Online PLC-Browser ..6-50 General remarks concerning PLC-Browser Command entry in the Use of macros during the command entry in Further PLC-Browser Creating new Tool Properties of available Tool Shortcuts (Object Properties).

5 6-55 Deleting Executing Tool Shortcuts ..6-58 Saving Tool Frequently asked questions on 7 ENI 7-1 What is Preconditions for Working with an ENI project data Working with the ENI project data base in Object categories concerning the project data 8 DDE Communication with IndraLogic 8-1 ii PLC Programming with Rexroth IndraLogic Table Of Contents DDE interface of the IndraLogic Programming 8-1 DDE communcation with the GatewayDDE 8-2 9 APPENDIX 9-1 Appendix A: IEC Operators and additional norm extending functions 9-1 Arithmetic .. 9-1 Bitstring .. 9-4 Bit-Shift Operators .. 9-6 Selection 9-8 Comparison .. 9-11 Address .. 9-13 Calling .. 9-14 Type .. 9-14 Numeric .. 9-18 Appendix B: Operands in IndraLogic 9-23 Constants .. 9-23 Variables .. 9-25 Addresses .. 9-26 Functions .. 9-27 Appendix C: Data types in IndraLogic 9-29 Standard data types.

6 9-29 Defined data types .. 9-31 Appendix D: IndraLogic Libraries 9-37 The library .. 9-37 String .. 9-37 Bistable Function 9-41 9-42 .. 9-43 9-45 The 9-48 BCD Conversion .. 9-48 Bit-/Byte 9-49 Mathematic Auxiliary Functions .. 9-50 9-51 Signal .. 9-52 Function 9-53 Analog Value 9-55 library .. 9-56 The IndraLogic System Libraries .. 9-57 Appendix E: Operators and Library Modules Overview 9-59 Appendix F: Command Line-/Command File 9-65 Command Line 9-65 Command File (cmdfile) Commands .. 9-65 Appendix G: Siemens Import 9-73 Appendix H: Target Settings Dialogs in Detail 9-79 Table Of Contents Settings in Category Target Target Settings in Category Target Settings in Category Networkfunctionality ..9-89 Target Settings in Category Appendix I: Use of Keyboard 9-91 Use of Key Appendix J: Compiler Errors and Warnings 9-95 10 Index I iv PLC Programming with Rexroth IndraLogic 1 - A Brief Introduction to IndraLogic 1 A Brief Introduction to IndraLogic What is IndraLogic IndraLogic is a complete development environment for your PLC.

7 IndraLogic puts a simple approach to the powerful IEC 61131-3 language at the disposal of the PLC programmer. Note: Rexroth IndraLogic is based on the CoDeSys technology of Smart Software Solutions (3S). Due to further development of CoDeSys and IndraLogic it is not allowed to use CoDeSys and IndraLogic simultaneously. The general program compatibility with existing IEC 61131-3 programs will remain unaffected. IndraLogic and CoDeSys versions IndraLogic is based on CoDeSys version , service pack 2. For version-specific notes within this documentation it is always indicated, if the version originates from CoDeSys or IndraLogic . If this assignment is missing, the version numbers always originate from CoDeSys. Overview of IndraLogic How is a project structured? A project is put into a file named after the project. The first POU (Program Organization Unit) created in a new project will automatically be named PLC_PRG.

8 The process begins here (in compliance with the main function in a C program), and other POUs can be accessed from the same point (programs, function blocks and functions). Once you have defined a Task Configuration, it is no longer necessary to create a program named PLC_PRG. You will find more about this in chapter , Task Configuration. There are different kinds of objects in a project: POUs, data types, display elements (visualizations) and resources. The Object Organizer contains a list of all the objects in your project. How do I set up my project? First you should configure your PLC in order to check the accuracy of the addresses used in the project. Then you can create the POUs needed to solve your problem. Now you can program the POUs you need in the desired languages. Once the Programming is complete, you can compile the project and remove errors should there be any.

9 How can I test my project? Once all errors have been removed, activate the simulation, log in to the simulated PLC and "load" your project in the PLC. Now you are in Online mode. Now open the window with your PLC Configuration and test your project for correct sequence. To do this, enter input variables manually and observe whether outputs are as expected. You can also observe the value sequence of the local variables in the POUs. In the Watch and Receipt Manager you can configure data records whose values you wish to examine. Debugging In case of a Programming error you can set breakpoints. If the process stops at such a breakpoint, you can examine the values of all project variables at this point in time. By working through sequentially (single step) you can check the logical correctness of your program. PLC Programming with Rexroth IndraLogic 1-1 1 - A Brief Introduction to IndraLogic Additional Online Functions Further debugging functions: You can set program variables and inputs and outputs at certain values.

10 You can use the flow control to check which program lines have been run. A Log records operations, user actions and internal processes during an online session in a chronological order. If activated in the target settings the Sampling Trace allows you to trace and display the actual course of variables over an extended period of time. Also a target specific function is the PLC-Browser which can serve to request certain information from the PLC. Once the project has been set up and tested, it can be loaded down to the hardware and tested as well. The same online functions as you used with the simulation will be available. Additional IndraLogic Features The entire project can be documented or exported to a text file at any time. For communication purposes IndraLogic has a symbolic interface and a DDE interface.