Top Banner

Click here to load reader

IindraLogic Prog 04 2007 e

Oct 27, 2014

ReportDownload

Documents

miulen

Industrial Hydraulics

Electric Drives and Controls

Linear Motion Assembly Technologies

Pneumatics

Service Automation

Mobile Hydraulics

Training manual

Indralogic Basic Revision 04 / 2007

didactic from Rexroth. Systematic Success

Indralogic BasicRevision 04 / 2007

Impressum Publisher: Bosch Rexroth AG Service Automation didactic Author: Helmut Kleinhans BRC / SAL2

Impressum Herausgeber: Bosch Rexroth AG Service Automation didactic

Nachdruck, Vervielfltigung und bersetzung, auch auszugsweise, nur mit unserer vorherigen schriftlichen Zustimmung und mit Quellenangabe gestattet. Wir bernehmen keine Haftung fr die bereinstimmung des Inhalts mit den jeweils geltenden gesetzlichen Vorschriften. Reproduction, copying, or translation of this publication, wholly or in part, only with our previous written permission and with source credit. We assume no responsibility for agreement of the contents with local laws and regulations. Bosch Rexroth AG is exempt from liability, and reserves the right to make changes at any time.

Table of Contents

I

Chapter 1 > Network installationSetup of the Network Neighborhood in Windows 2000 Setup of the Network Neighborhood in Windows 2000 Setup of the Network Neighbourhood in Windows 2000 Setup of the Network Neighborhood in Windows 2000 Setup of the Network Neighborhood in Windows 2000 Setup of the Network Neighbourhood in Windows XP Setup of the Network Neighbourhood in Windows XP Setup of the Network Neighbourhood in Windows XP Setup of the Network Neighbourhood in Windows XP Setup of the Network Neighbourhood in Windows XP Functional overview Hardware stucture of IndraControl L40 Features Mechanical structure Connectionss and interfaces Current and voltage supply I/O connections First time installation L40 IPAddress setup Firmware Hardware version & Status display L40 Setup of L40 serial RS232 interface Display of L40 Project status Deletion of complete L40 ProgramMemory 1 2 3 4 5 6 7 8 9 10 11 12 12 13 13 14 15 16 17 18 19 20

Chapter 2 > Basic setup IndraWorks / IndraLogicLanguage and Basic settings for IndraWorks Generation of a new IndraWorks Project Generation of a new IndraWorks Project (continuation) Definition of communication for IndraLogic L40 / VEP30 (HardwarePLC) Definition of communication for IndraLogic L40 / VEP30 (HardwarePLC) Definition of communication channel for VPP/BTVPanel (SoftwarePLC) Definition of communication channel for VPP/BTVPanel (SoftwarePLC) Completion of communication setup / creation of the new project Communication with a L40 / VEPxx (Hardware PLC) Communication with a VPP / BTV Panel (Software PLC) IndraWorks / Indralogic directory structure IndraWorks / IndraLogic Basic settings 1 2 3 4 5 6 7 8 9 10 11 12

Table of Contents

II

Chapter 3 > IndraWorks I/O ConfigurationSetup of I/O Start address of OnBoard I/Os Configuration of Rexroth Inline Modules (first InlineModul) Configuration of Rexroth Inline Modules (first InlineModul) Configuration of Rexroth Inline Modules (second InlineModul) Configuration of Rexroth Inline Modules (second InlineModul) Import of additional GSDFiles for ProfibusDP I/OConfiguration Import of additional GSDFiles for ProfibusDP I/OConfiguration Directory structure of GSDFiles Configuration of ProfibusDP I/O Modules Configuration of ProfibusDP I/O Modules Configuration of ProfibusDP I/O Modules Configuration of Function Modules Setup of the ProfibusDP transmission rate Load ProfibusDP Configuration into PLCController Load ProfibusDP Configuration into PLCController Load ProfibusDP Configuration into PLCController 1 2 3 4 5 6 7 7 8 9 10 11 12 13 14 15

Chapter 4 > IndraLogic basic settingsSetting the basic parameters for Indralogic Load & Save Setting the basic parameters for Indralogic Editor Setting the basic parameters for Indralogic Desktop Setting the basic parameters for Indralogic Directories Setting the basic parameters for Indralogic Build Setting the basic parameters for Indralogic Source download IndraLogic Symbol configuration IndraLogic Symbol configuration Target System Basic setup General Target System Basic setup General Project structure Main program PLC_PRG IndraLogic directory structure on harddrive (Development system) IndraLogic directory structure on harddrive (Project data) Files in the Indralogic programming system Display structure IndraLogic Generation of a new Folder Generation of a new Object Elements of Program Organization Units (POU) Elements of Program Organization Units (POU) Programming languages for POUs Elements of a Program Organization Unit (POU) Elements of Program Organization Units (POU) Deklaration section of Program Organisation Units (POU) Characteristics of the POUInterface Formal parameters and Return values of a POU External and internal access to POEVariables 1 2 3 4 5 6 7 8 9 10 11 11 12 13 14 15 16 17 18 19 19 20 21 22 23 24 25

Table of Contents

III

Chapter 5 > Load ProgramLoad options and Memory structure Used / Generated files Check and compile complete PLCProgram Check interface setting to PLC (IPAddress) Load PLCProgram into the PLC Generate Boot Project in PLCController 1 2 3 4 5 6

Chapter 6 > Import / Export of Program blocksExport of Project data Export of Project data Import of exported project data Import of exported project data 1 2 3 4

Chapter 7 > Programming with LogicAddress definition of Inputs, Outputs and Markers Definition of Input, Outputs and Markers Using bit signals in the program Monitoring of BitSignals Standard Data Types in Indralogic Validity of Variables Declaration of Variables Declaration of Constants Global Variables in POUs via VAR_EXTERNAL Online Status display of variables in declaration window Resizing the Online Window Selection of display format in Online mode 1 2 2 3 4 5 6 7 8 9 10 11

Table of Contents

IV

Chapter 8 > Programming in ListCreation of a program in LIST Calling of POUs with and without parameters in LIST Programming of logic operations in LIST (Example 1) Programming of logic operations in LIST (Example 2) Programming of logic operations in LIST (Example 3) Programming of logic operations in LIST (Example 4) Programming of logic operations in LIST (Example 5) Monitor display in LIST (PRGs) Creation of a Function in LIST Definition and Usage of a Function (FUN) Online Status display of Functions Creation of a Function block in LIST Definition and Usage of a Function block (FB) Definition and Usage of a Function block (FB) Online Status display of Function blocks Online Status display of Function blocks 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

Chapter 9 > Programming in LadderCreation of a program in LDR Input of a program in LDR Alteration of program in LDR Addition of a new OR Element Addition of a new AND element Adding a new LDRNetwork branch Addition of Function blocks in LDR Addition of FBDOperators in LDR Addition of FBDOperators in LDR Call of Programs (PRGs) in LDR Call of Programs (PRGs) in LDR Call of Functions (FUNs) in LDR Call of Function Blocks (FBs) in LDR Conditional calls of PRGs, FUNs and FBs in LDR Online display of POUs written in LDR Additional display options in LDR Comment input in LDR Jump instruction in LDR 1 2 3 3 3 4 5 6 7 8 9 10 11 12 13 14 15 16

Table of Contents

V

Chapter 10 > Programming in FBDCreation of a program in FBD Input of a program in FBD Adding of new Logic Elements in FBD Definition / Alteration the logic or function of a BasicFBDElement Deletion of Inputs, Outputs and Elements Adding a new FBDNetwork Direct switchover from FBD to LDR display Monitor display in FBD Input of Comment in FBD Jumps in FBD Call of Programs, Functions and Function blocks in FBD Call of Programs, Functions and Function blocks in FBD Definition and usage of Timers Definition and usage of Timers Monitoring of Timers / Diagram Switch On Delay (TON) Monitoring of Timers / Diagram Switch Off Delay (TOF) Monitoring of Timers / Diagram Pulse function (TP) Monitoring of Timers / Diagram Real Time Clock (RTC) Definition and usage of Counters Definition and usage of Counters Online Status display Up Counter (CTU) Online Status display Down Counter (CTD) Online Status display Up / Down Counter (CTUD) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23

Table of Contents

VI

Chapter 11 > Sequence programmingSelection of IEC compliant SFC Input Mode IECStepAction commands Creation of an IECSequence program Adding a new step element Copy / Paste an existing Step in a Sequence module Deletion of an existing StepElement Adding a new Step Action Deletion of a StepAction Programming of a step continuation logic Programming of a step continuation logic (continuation) Programming an ActionLogic Programming an ActionLogic (continuation) Programming a step Entry logic Programming a step Entry logic (continuation) Programming a step Exit logic Programming a step Exit logic (continuation) Deletion of a step Entry or Exit logic StepPropertyVariables StepPrpopertyFlags StepPropertyFlags Programming of StepPropertyFlags Online display of StepPropertyFlags Sample sequence program in LDR Step elements & Parameters Sample sequence program in LDR Continuation logic Sample sequence program in LDR Command output Sample sequence program in LDR Program callup Sequence Branching / Jump Sequence Branching / Jump Sample program sequence Branching / Jump Input of Step comment and Step monitoring time Selection of step comment or Step monitoring time display 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Table of Contents

VII

Chapter 12 > Programming in STLogic operations with Structured Text (ST) Logic operations with Structured Tex