Lenze DDS v2.3 User Manual

Browse online or download User Manual for Hardware Lenze DDS v2.3. Lenze DDS v2.3 User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 340
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews

Summary of Contents

Page 1 - PLC Developer Studio

LManualGlobal DriveDrive PLC Developer StudioGlobal DrivePLC Developer StudioShow/Hide Bookmarks

Page 2 - Show/Hide Bookmarks

Drive PLC Developer StudioContentsviiilDDS EN 2.314.2.6 SIN 14-6...14.2.7 COS 14-6...

Page 3

Drive PLC Developer StudioWorking with projects and objects6-22lDDS EN 2.31. Use the combination box User group to select the group to assign a passwo

Page 4

Drive PLC Developer StudioWorking with projects and objects6-23lDDS EN 2.3QSP Trip/CINH WarningEvent duringprogram processingResponse of the automatio

Page 5

Drive PLC Developer StudioWorking with projects and objects6-24lDDS EN 2.36.2 Working with objectsThis chapter describes how to work with objects and

Page 6

Drive PLC Developer StudioWorking with projects and objects6-25l DDS EN 2.36.2.2 FoldersTo keep an overview in the case of larger projects, organizati

Page 7

Drive PLC Developer StudioWorking with projects and objects6-26lDDS EN 2.36.2.3.3 Minimize nodeIcon: - Menu: Shortcut menuWMinimize node Keyboard: -Us

Page 8

Drive PLC Developer StudioWorking with projects and objects6-27l DDS EN 2.36.2.4.3 Rename objectIcon: - Menu: ProjectWRename object Keyboard: <Spac

Page 9

Drive PLC Developer StudioWorking with projects and objects6-28lDDS EN 2.3Entering the first letter of the object name in theObject Organizerwill open

Page 10 - Drive PLC Developer Studio

Drive PLC Developer StudioWorking with projects and objects6-29l DDS EN 2.36.2.4.9 Open instanceIcon: - Menu: ProjectWOpen instance Keyboard: -Use thi

Page 11 - WOpen to

Drive PLC Developer StudioWorking with projects and objects6-30lDDS EN 2.36.2.4.11 Output cross reference listIcon: - Menu: ProjectWOutput cross refer

Page 12

Drive PLC Developer StudioWorking with projects and objects6-31l DDS EN 2.36.2.4.12 Output unused variablesIcon: - Menu: ProjectWOutput unused variabl

Page 13 - (^ 6-37)

Drive PLC Developer StudioPreface and general information1-1l DDS EN 2.31 Preface and general information1.1 About this manualThis Manual offers detai

Page 14

Drive PLC Developer StudioWorking with projects and objects6-32lDDS EN 2.36.3 Working in online modeThe commands described in this chapter are availab

Page 15 - ST result

Drive PLC Developer StudioWorking with projects and objects6-33lDDS EN 2.36.3.1.4 StartIcon: Menu: OnlineWStart Keyboard: <F5>Use this command t

Page 16

Drive PLC Developer StudioWorking with projects and objects6-34lDDS EN 2.36.3.1.9 Breakpoint on/offIcon: Menu: OnlineWBreakpoint on/off Keyboard: <

Page 17

Drive PLC Developer StudioWorking with projects and objects6-35lDDS EN 2.36.3.1.10 Breakpoint dialogIcon: - Menu: OnlineWBreakpoint dialog Keyboard: -

Page 18

Drive PLC Developer StudioWorking with projects and objects6-36lDDS EN 2.36.3.1.13 Single cycleIcon: - Menu: OnlineWSingle cycle Keyboard: <Ctrl>

Page 19 - Organization unit

Drive PLC Developer StudioWorking with projects and objects6-37lDDS EN 2.3Monitoring displays the overall value of the expression, not the values of t

Page 20

Drive PLC Developer StudioWorking with projects and objects6-38lDDS EN 2.3The following channels to the automation system are currently available for

Page 21

Drive PLC Developer StudioWorking with projects and objects6-39lDDS EN 2.3Note!The Lenze default setting for DDS and automation system is a baud rate

Page 22 - (^ 6-42)

Drive PLC Developer StudioWorking with projects and objects6-40lDDS EN 2.35. Use the entry Can bus node address to select a device address.The device

Page 23 - 3.1 Introduction

Drive PLC Developer StudioWorking with projects and objects6-41lDDS EN 2.36.3.1.18 Controller enableIcon: - Menu: OnlineWController enable Keyboard: -

Page 24 - Automation system settings

Drive PLC Developer StudioPreface and general information1-2LDDS EN 2.3Show/Hide Bookmarks

Page 25 - Organization units

Drive PLC Developer StudioWorking with projects and objects6-42lDDS EN 2.36.4 LogThe log records the actions during an online session in chronological

Page 26

Drive PLC Developer StudioWorking with projects and objects6-43l DDS EN 2.3InformationThis field describes errors that occur during an action. The fie

Page 27

Drive PLC Developer StudioWorking with projects and objects6-44LDDS EN 2.3Show/Hide Bookmarks

Page 28

Drive PLC Developer StudioEditors7-1l DDS EN 2.37Editors7.1 General edit functionsThe commands described in this chapter are available in all editors

Page 29

Drive PLC Developer StudioEditors7-2lDDS EN 2.37.1.1.3 CutIcon: Menu: Edit WCu t Keyboard: <Ctrl>+<X><Umschalt>+<Del>Use this

Page 30

Drive PLC Developer StudioEditors7-3l DDS EN 2.37.1.1.5 InsertIcon: Menu: Edit WInsert Keyboard: <Ctrl>+<V><Umschalt>+<Insert>

Page 31

Drive PLC Developer StudioEditors7-4lDDS EN 2.37.1.1.7 FindIcon: Menu: EditWFind Keyboard: <Ctrl>+<F>Use this command to find a character

Page 32 - New action

Drive PLC Developer StudioEditors7-5l DDS EN 2.37.1.1.9 ReplaceIcon: - Menu: Edit WReplace Keyboard: <Ctrl>+<H>Use this command to find a

Page 33

Drive PLC Developer StudioEditors7-6lDDS EN 2.37.1.1.10 Help ManagerIcon: - Menu: EditWHelp Manager Keyboard: <F2>Use this command to open the d

Page 34

Drive PLC Developer StudioEditors7-7l DDS EN 2.3Unstructured diagramThe organization units, variables or data types in each category are sorted in lin

Page 35

Drive PLC Developer StudioIntroduction2-1l DDS EN 2.32 Introduction2.1 Function overviewProject structureThe project is saved in a file that is named

Page 36

Drive PLC Developer StudioEditors7-8lDDS EN 2.3Visual and hierarchical representation is in unison with that of the Object Organizer. Any elementswith

Page 37 - New visualization

Drive PLC Developer StudioEditors7-9l DDS EN 2.37.1.1.13 MacrosIcon: - Menu: EditWMacros Keyboard: -This menu item lists all macros agreed for the cur

Page 38

Drive PLC Developer StudioEditors7-10lDDS EN 2.37.2 Declaration editorThe declaration editor is used to declare variables of organization units and gl

Page 39

Drive PLC Developer StudioEditors7-11l DDS EN 2.37.2.1 Declaration partThe declaration part of an organization unit declares all variables locally.The

Page 40

Drive PLC Developer StudioEditors7-12lDDS EN 2.37.2.4 Input / output variablesBetween the keywords VAR_IN_OUT and END_VAR, all variables are declared

Page 41

Drive PLC Developer StudioEditors7-13l DDS EN 2.3Application exampleAn operating hour meter that is to continue counting after a mains failure.• All o

Page 42

Drive PLC Developer StudioEditors7-14lDDS EN 2.37.2.10 IdentifiersNote!Only the first 32 characters are of any significance!Identifiers are a sequence

Page 43

Drive PLC Developer StudioEditors7-15l DDS EN 2.37.2.11.1 Types for variable declarationIcon: - Menu: InsertWTypes Keyboard: -Use this command to disp

Page 44

Drive PLC Developer StudioEditors7-16lDDS EN 2.37.2.14 Short modeThe declaration editor provides the possibility to use the short form mode.• The shor

Page 45

Drive PLC Developer StudioEditors7-17l DDS EN 2.3If dialog boxTypeis used to select variable ARRAY, a dialog is displayed for array boundarydefinition

Page 46

Drive PLC Developer StudioIntroduction2-2lDDS EN 2.32.2 Project components2.2.1 ProjectA project includes all objects of a control program. Links with

Page 47

Drive PLC Developer StudioEditors7-18lDDS EN 2.3Tip!The variable declaration dialog can also be opened via EditWDeclare variable.If the cursor is over

Page 48

Drive PLC Developer StudioEditors7-19l DDS EN 2.37.2.18 Declaration editor in online modeIn online mode, the declaration editor is a monitor window.Ev

Page 49

Drive PLC Developer StudioEditors7-20lDDS EN 2.37.2.19.1 Pragma instruction• The pragma instruction controls the compile process and is always written

Page 50

Drive PLC Developer StudioEditors7-21l DDS EN 2.3If the organization unit is given read and write access, the following pragma allows variable a to be

Page 51

Drive PLC Developer StudioEditors7-22lDDS EN 2.37.3 Text editorsThe DDS text editors used for the implementation component (Instruction list editor an

Page 52

Drive PLC Developer StudioEditors7-23l DDS EN 2.37.3.1.4 Function blockIcon: - Menu: InsertWFunction block Keyboard: -Use this command to display all

Page 53

Drive PLC Developer StudioEditors7-24lDDS EN 2.37.3.2.1 Configuring the monitoring windowIcon: - Menu: ExtrasWMonitoring options Keyboard: -Use this c

Page 54

Drive PLC Developer StudioEditors7-25l DDS EN 2.3Structured text editorThe following breakpoint positions are possible in the Structured text editor:•

Page 55

Drive PLC Developer StudioEditors7-26lDDS EN 2.37.4 Network editors (general)The DDS network editors can be used for programming in the graphically or

Page 56

Drive PLC Developer StudioEditors7-27l DDS EN 2.37.4.4 Inputs/Outputs on the flyThis function serves to create inputs and outputs whether via keyboard

Page 57

Drive PLC Developer StudioIntroduction2-3l DDS EN 2.3Function CheckBoundsTip!Definition of a function with the name CheckBounds in your project will a

Page 58

Drive PLC Developer StudioEditors7-28lDDS EN 2.37.4.5 Network editors in online modeBreakpointsFBD and LD editors allow breakpoints to be set to netwo

Page 59

Drive PLC Developer StudioEditors7-29l DDS EN 2.37.5 Function block diagram editorThe function block diagram editor is a graphic editor that uses a li

Page 60

Drive PLC Developer StudioEditors7-30lDDS EN 2.37.5.2 Placing the cursorThecursorcanbesettoacertainpositionwithamouseclickorthekeyboard.• Use the arro

Page 61

Drive PLC Developer StudioEditors7-31l DDS EN 2.37.5.3.3 ReturnIcon: Menu: InsertWReturn Keyboard: <Ctrl>+<R>Use this command to insert a

Page 62

Drive PLC Developer StudioEditors7-32lDDS EN 2.3Output selectedIf selecting an output, the operator will be inserted behind this output.• The first in

Page 63

Drive PLC Developer StudioEditors7-33l DDS EN 2.37.5.3.6 OutputIcon: Menu: InsertWOutput Keyboard: -Use this command to add an additional assignment t

Page 64

Drive PLC Developer StudioEditors7-34lDDS EN 2.3• A Reset output is set to FALSE if the associated gate returnsTRUE. The output now retainsthis value

Page 65

Drive PLC Developer StudioEditors7-35l DDS EN 2.37.5.6 The FBD editor in online modeIn the FBD, breakpoints can only be set to networks. Where a break

Page 66 - WLoad & save

Drive PLC Developer StudioEditors7-36lDDS EN 2.37.6 Ladder diagram editorThe ladder diagram editor is a graphic editor that uses a sequence of network

Page 67 - WUser in formation

Drive PLC Developer StudioEditors7-37l DDS EN 2.37.6.2 Commands in the “Insert” menu7.6.2.1 ContactIcon: Menu: InsertWContact Keyboard: <Ctrl>+&

Page 68 - Variable declaration

Drive PLC Developer StudioIntroduction2-4lDDS EN 2.32.2.4 Function blockA function block is a software organization unit whose execution returns one o

Page 69 - WDesktop

Drive PLC Developer StudioEditors7-38lDDS EN 2.3An organization unit with EN may be given the name of a function block so that InsertWInsert atorganiz

Page 70 - WColours

Drive PLC Developer StudioEditors7-39l DDS EN 2.3In other words, programming of a network in the LD editor as in FBD merely requires prior insertionof

Page 71 - WDirectories

Drive PLC Developer StudioEditors7-40lDDS EN 2.37.6.4.5 Set/ResetIcon: - Menu: Extras WSet/Reset Keyboard: -Use this command to define coils as Set or

Page 72

Drive PLC Developer StudioEditors7-41l DDS EN 2.37.6.5 The LD in online mode• In online mode, all contacts and coils in ON status (TRUE) are marked bl

Page 73 - (^ 15-2)

Drive PLC Developer StudioEditors7-42lDDS EN 2.37.7 CFC editorNote!If the error messageInternal error...: A CFC in this project is corrupted, and got

Page 74 - WPasswords

Drive PLC Developer StudioEditors7-43l DDS EN 2.3The following elements can be used in the CFC editor:• Box• Input• Output• Jump• Label• Return• Comme

Page 75 - Setobjectattribute

Drive PLC Developer StudioEditors7-44lDDS EN 2.37.7.4 Moving elementsTo move one or more selected elements, keep the<Shift> key depressed and us

Page 76

Drive PLC Developer StudioEditors7-45l DDS EN 2.37.7.5.4 JumpIcon: Menu: InsertWJump Keyboard: <Ctrl>+<J>Use this command to insert a jump

Page 77 - Language Two

Drive PLC Developer StudioEditors7-46lDDS EN 2.37.7.6 Commands in the “Extras” menu7.7.6.1 NegationIcon: Menu: ExtrasWNegation Keyboard: <Ctrl>+

Page 78 - More details and information

Drive PLC Developer StudioEditors7-47l DDS EN 2.3EN inputs / ENO outputs can also be negated with ExtrasWNegation.Example of an enable concatenation:T

Page 79 - 6.1 Managing projects

Drive PLC Developer StudioIntroduction2-5l DDS EN 2.3Example of access to an input variable:(* The function block fb has an input variable in1 of type

Page 80

Drive PLC Developer StudioEditors7-48lDDS EN 2.37.7.6.6 ConnectorIcon: - Menu: Extras WConnector Keyboard: -Use this command to connect elements via c

Page 81 - Directories

Drive PLC Developer StudioEditors7-49l DDS EN 2.33. Move either E1 or E2 until the output of element E1 touches the input of element E2.4. If element

Page 82

Drive PLC Developer StudioEditors7-50lDDS EN 2.37.7.10 FeedbacksContrary to the standard function block diagram editor, the CFC editor can display fee

Page 83 - Details: Local gateway

Drive PLC Developer StudioEditors7-51l DDS EN 2.37.7.12 Commands in the “Extras” menu, submenu “Order”7.7.12.1 DisplayIcon: - Menu: ExtrasWOrderWDispl

Page 84 - Printer setup

Drive PLC Developer StudioEditors7-52lDDS EN 2.3Element E1 will be inserted with the sequence number of the topological descendant (E2),increasing the

Page 85

Drive PLC Developer StudioEditors7-53l DDS EN 2.37.7.12.6 To the beginningIcon: - Menu: ExtrasWOrderWTo the beginning Keyboard: -Use this command to b

Page 86

Drive PLC Developer StudioEditors7-54lDDS EN 2.37.7.12.9 Step into macroIcon: - Menu: ExtrasWStep into macro Keyboard: -Use this menu command or doubl

Page 87

Drive PLC Developer StudioEditors7-55l DDS EN 2.37.7.12.12 All Macro Levels BackIcon: Menu: ExtrasWAll Makro Levels Back Keyboard: -This command is ac

Page 88

Drive PLC Developer StudioEditors7-56lDDS EN 2.37.8 SFC editorThe graphic Sequential Function Chart editor describes the chronological sequence of var

Page 89

Drive PLC Developer StudioEditors7-57l DDS EN 2.37.8.2 Commands in the “Insert” menu7.8.2.1 Step transition (before)Icon: Menu: InsertWStep transition

Page 90

Drive PLC Developer StudioIntroduction2-6lDDS EN 2.3Declaration part: Instruction p art:PROGRAM testVARquad: BOOL;instanz: fub;value: INT:=0;IL CAL in

Page 91

Drive PLC Developer StudioEditors7-58lDDS EN 2.37.8.2.5 Parallel branch (right)Icon: Menu: InsertWParallel branch (right) Keyboard: <Ctrl>+<L

Page 92

Drive PLC Developer StudioEditors7-59l DDS EN 2.37.8.2.10 Add exit actionIcon: - Menu: InsertWAdd exit action Keyboard: -Use this command to add an ex

Page 93

Drive PLC Developer StudioEditors7-60lDDS EN 2.37.8.3.4 Zoom action/transitionIcon: - Menu: ExtrasWZoom action/trans ition Keyboard: <Alt>+<E

Page 94

Drive PLC Developer StudioEditors7-61l DDS EN 2.3The following example shows a step whose processing is to take a minimum of two and a maximumof ten s

Page 95 - Copy project

Drive PLC Developer StudioEditors7-62lDDS EN 2.37.8.3.8 OptionsIcon: - Menu: Extras WOptions Keyboard: -Use this command to open a dialog box for the

Page 96

Drive PLC Developer StudioEditors7-63l DDS EN 2.37.8.4 Commands in the “Project” menu7.8.4.1 Add actionIcon: - Menu: Project WAdd action Keyboard: -Us

Page 97 - Global replace

Drive PLC Developer StudioEditors7-64lDDS EN 2.3Example of a declarationPROGRAM flagsVARSFCEnableLinit:BOOL;SFCError:BOOL;SFCErrorStep:STRING;SFCReset

Page 98

Drive PLC Developer StudioEditors7-65l DDS EN 2.3Tip!If a timeout has occurred and the variable SFCError has not been reset, no subsequent timeoutswil

Page 99 - User group passwords

Drive PLC Developer StudioEditors7-66lDDS EN 2.3Use Online➞➞➞➞Single step in to step into actions. Any entry, exit or IEC action to which a jump is to

Page 100 - Exception handling

Drive PLC Developer StudioEditors7-67l DDS EN 2.3Implementing actions• If an action is associated in several sequencers, it can be executed several ti

Page 101

Drive PLC Developer StudioIntroduction2-7l DDS EN 2.3Restrictions occur through limited lengths in the string routines. Only 20 characters can beproce

Page 102 - Object Organizer

Drive PLC Developer StudioEditors7-68LDDS EN 2.3Show/Hide Bookmarks

Page 103 - WExpand node Keyboard:

Drive PLC Developer StudioResources8-1l DDS EN 2.38 ResourcesThe tab Resources of theObject Organizerprovides objects for the configuration and organi

Page 104

Drive PLC Developer StudioResources8-2lDDS EN 2.38.1 Global variablesThe tab card Resources in theObject Organizercontains the global variable list (G

Page 105

Drive PLC Developer StudioResources8-3l DDS EN 2.38.1.1.1 All instance pathsIcon: - Menu: insertWAll instance paths Keyboard: -If the dialog box Varia

Page 106

Drive PLC Developer StudioResources8-4lDDS EN 2.38.2 Code initialization valuesThe code initialization values are an object on tab Resources in theObj

Page 107

Drive PLC Developer StudioResources8-5l DDS EN 2.3Adding code with initial value:1. In the dialog boxCode initialization value, click New to add a cod

Page 108 - Name, enter

Drive PLC Developer StudioResources8-6lDDS EN 2.38.3 Parameter monitorThe parameter monitor is an object on tab Resources in theObject Organizer.Useth

Page 109

Drive PLC Developer StudioResources8-7lDDS EN 2.38.3.1 System codes/User codesThere are system codes and user codes.System codesSystem codes are defau

Page 110 - 6.3 Working in online mode

Drive PLC Developer StudioResources8-8lDDS EN 2.38.4 Parameter ManagerIEC 61131-3 uses variables to initialize, process and buffer user data. These va

Page 111

Drive PLC Developer StudioResources8-9l DDS EN 2.38.4.1 Add new objectIcon: - Menu: InsertWAdd new object Keyboard: -When a new object is created, the

Page 112

This Manual is valid for the Drive PLC Developer Studio V02.00.Important note:The software is supplied to the user as described in this document. Any

Page 113

Drive PLC Developer StudioIntroduction2-8lDDS EN 2.32.2.8 ResourcesResources are required to configure and organize your project and to trace variable

Page 114

Drive PLC Developer StudioResources8-10lDDS EN 2.38.4.2 Terminology used by the Parameter ManagerTerm DescriptionUser codes User-specific codes (user

Page 115

Drive PLC Developer StudioResources8-11l DDS EN 2.38.4.3 Instance Parameter ManagerThe Instance Parameter Manager is an object on the tab Resources in

Page 116

Drive PLC Developer StudioResources8-12lDDS EN 2.38.4.3.3 Adding codesSelect InsertWAdd new object to add a new code.Note!It is not permissible to cre

Page 117 - Communication parameters

Drive PLC Developer StudioResources8-13l DDS EN 2.3Code max./ Int. max. and Code min./ Int. min.These four input fields are used to define input limit

Page 118

Drive PLC Developer StudioResources8-14lDDS EN 2.3Ext. data typeUse the field Ext. data type to assign one of the following special data types to a co

Page 119

Drive PLC Developer StudioResources8-15l DDS EN 2.3Button “First instance”Clicking the button First instance inserts the known parameter code in the i

Page 120 - WLog Keyboard:

Drive PLC Developer StudioResources8-16lDDS EN 2.3Example: Instances of the function block L_DIGDEL of the 9300 Servo PLCVariable name L_DIGDEL1 L_DIG

Page 121 - WSave Keyboard:

Drive PLC Developer StudioResources8-17l DDS EN 2.3Generating subcodesThe Parameter Manager can only assign subcodes to variables of the type ARRAY OF

Page 122

Drive PLC Developer StudioResources8-18lDDS EN 2.38.4.4 Type Parameter ManagerThe Type Parameter Manager is an object on the tab Resources in theObjec

Page 123

Drive PLC Developer StudioResources8-19l DDS EN 2.3Generating a scale function1. Open theObject Organizer,tabOrganization units and select the functio

Page 124

Drive PLC Developer StudioIntroduction2-9l DDS EN 2.32.3 Debugging, online functionality2.3.1 DebuggingThe DDS debugging functions assist troubleshoot

Page 125 - WDelete Keyboard: <Del>

Drive PLC Developer StudioResources8-20lDDS EN 2.38.5 Process imageTheprocessimageisanobjectontabResources in theObject Organizer.• Process images are

Page 126

Drive PLC Developer StudioResources8-21l DDS EN 2.3I/O Display whether inputs (IN) or outputs (OUT) of the system block are concerned.Module no. Modul

Page 127

Drive PLC Developer StudioResources8-22lDDS EN 2.3Tip!Note that data inconsistencies may occur if analog input 1 is used several times within the cycl

Page 128 - Help Manager

Drive PLC Developer StudioResources8-23l DDS EN 2.38.6 PLC configurationThe PLC configuration is an object on tab Resources in theObject Organizerand

Page 129

Drive PLC Developer StudioResources8-24lDDS EN 2.38.6.1 Working in the PLC configurationThe configuration editor consists of two window panes.The left

Page 130

Drive PLC Developer StudioResources8-25l DDS EN 2.38.6.1.4 Replace elementIcon: - Menu: ExtrasWReplace element Keyboard: -A correctly defined configur

Page 131 - WMacros Keyboard:

Drive PLC Developer StudioResources8-26lDDS EN 2.38.6.2 Touch probe interfaceSome automation systems allow the use of digital inputs optionally as tou

Page 132 - (^ 7-18)

Drive PLC Developer StudioResources8-27l DDS EN 2.3ClassInformation on channel applicationI InputQ OutputI&Q Input and outputI|Q Input or output (

Page 133 - Declarations

Drive PLC Developer StudioResources8-28lDDS EN 2.38.7 Task monitorThe task monitor is an object on the tab Resources in theObject Organizer.If the PC

Page 134 - Input / output variable

Drive PLC Developer StudioResources8-29l DDS EN 2.38.8 Task configurationThe task configuration is an object on the tab Resources in theObject Organiz

Page 135 - (^ 13-1)

Drive PLC Developer StudioIntroduction2-10lDDS EN 2.32.3.5 Changing values onlineVariables can be set once-only to a specific value during operation a

Page 136 - (^ 13-4)

Drive PLC Developer StudioResources8-30lDDS EN 2.3Saving a start eventIf an EVENT-type task is called again during processing, the new call is saved a

Page 137 - TRUE, FALSE)

Drive PLC Developer StudioResources8-31l DDS EN 2.38.8.4 If a task overflow leads to a system errorIf, for instance, a continuous loop or too much pro

Page 138

Drive PLC Developer StudioResources8-32lDDS EN 2.3Which task is processed?Processing is subject to the following rules:• The task with the satisfied s

Page 139

Drive PLC Developer StudioResources8-33l DDS EN 2.38.8.6.1 Insert task / Add taskIcon: --Menu: InsertWInsert taskInsertWAdd taskKeyboard: --Use this c

Page 140

Drive PLC Developer StudioResources8-34lDDS EN 2.38.8.6.2 Insert program call / Add program callIcon: --Menu: InsertWInsert program callInsertWAdd pro

Page 141 - Edit step attributes

Drive PLC Developer StudioResources8-35l DDS EN 2.38.9 Watch and Receipt ManagerThe Watch and Receipt Manager is an object on the tab Resources in the

Page 142

Drive PLC Developer StudioResources8-36lDDS EN 2.38.9.2 Watch and Receipt Manager in online modeIn online mode, the Watch and Receipt Manager displays

Page 143

Drive PLC Developer StudioResources8-37l DDS EN 2.38.9.3.4 Load watch listIcon: - Menu: ExtrasWLoad watch list Keyboard: -Use this command to load a s

Page 144 - WFunction Keyboard:

Drive PLC Developer StudioResources8-38lDDS EN 2.38.10 Target SettingsThe Target Settings are located as an object in the Resources index and• define

Page 145 - WFunction block Keyboard:

Drive PLC Developer StudioResources8-39l DDS EN 2.3Target PlatformOn this index card, only the Output field is active.The Output field is used to conf

Page 146 - Monitoring options

Drive PLC Developer StudioProgram example3-1lDDS EN 2.33 Program example “Traffic light”3.1 IntroductionThis chapter includes a program tutorial for a

Page 147 - (^LEERER MERKER)

Drive PLC Developer StudioResources8-40lDDS EN 2.3Use of older versionsNote!The following restrictions or behaviour can occur when older program versi

Page 148 - WNetwork (before)

Drive PLC Developer StudioResources8-41l DDS EN 2.38.11 Library ManagerIn the DDS, libraries are managed with the Library Manager that can be activate

Page 149

Drive PLC Developer StudioResources8-42lDDS EN 2.3Declaration of data types/global variablesThe declaration of data types and global variables is disp

Page 150

Drive PLC Developer StudioResources8-43l DDS EN 2.38.11.2 Included librariesThe DDS comes with the following libraries, among others:Tip!For a detaile

Page 151

Drive PLC Developer StudioResources8-44LDDS EN 2.3Show/Hide Bookmarks

Page 152

Drive PLC Developer StudioVisualization9-1l DDS EN 2.39 VisualizationVisualization is located on the tab Visualization in theObject Organizer.Use visu

Page 153

Drive PLC Developer StudioVisualization9-2lDDS EN 2.39.1 Inserting visualization elementsInsertion modeIf the visualization level is active, the menu

Page 154

Drive PLC Developer StudioVisualization9-3l DDS EN 2.39.1.1.3 EllipseIcon: Menu: Insert WEllips e Keyboard: -Use this command to insert an ellipse as

Page 155 - WSet/Reset Keyboard:

Drive PLC Developer StudioVisualization9-4lDDS EN 2.39.1.1.6 PolygonIcon: Menu: Insert WPolygon Keyboard: -Use this command to insert a polygon as an

Page 156

Drive PLC Developer StudioVisualization9-5l DDS EN 2.39.2 Editing visualization elements9.2.1 Information in the status barThe status bar contains the

Page 157

Drive PLC Developer StudioProgram example3-2lDDS EN 2.33.2 Programming3.2.1 Starting the DDS1. In the Windows Start menu, select submenuPrograms➞➞➞➞Le

Page 158

Drive PLC Developer StudioVisualization9-6lDDS EN 2.3Examples of impermissible expressionsfun(88)a:=9RETURNGlobal variables can be written in two ways

Page 159

Drive PLC Developer StudioVisualization9-7l DDS EN 2.39.2.4 Changing size and shape of visualization elementsOnce an element has been selected, its ce

Page 160 - WReturn Keyboard:

Drive PLC Developer StudioVisualization9-8lDDS EN 2.39.2.8 Commands in the “Extras” menu9.2.8.1 Element listIcon: - Menu: Extras WElement list Keyboar

Page 161 - WPaste above Keyboard:

Drive PLC Developer StudioVisualization9-9l DDS EN 2.39.2.8.6 Placeholder listIcon: - Menu: Extras WPlaceholder list Keyboard: -Every point of the con

Page 162

Drive PLC Developer StudioVisualization9-10lDDS EN 2.39.3 Configuring visualization elements9.3.1 Commands in the “Extras” menu9.3.1.1 SettingsIcon: -

Page 163

Drive PLC Developer StudioVisualization9-11l DDS EN 2.3Creating a language file• Tick check box Language file. The group box Language is active.• Inth

Page 164 - Load & Save

Drive PLC Developer StudioVisualization9-12lDDS EN 2.3Caution!If a translation file is to allow a switch into another national language in online mode

Page 165

Drive PLC Developer StudioVisualization9-13l DDS EN 2.3ScalingUse the input field Scaling to enter a variable to define the size of the element.Input

Page 166

Drive PLC Developer StudioVisualization9-14lDDS EN 2.39.3.2 Formatted text displayThe following tables provide a general formatted text display.Char f

Page 167

Drive PLC Developer StudioVisualization9-15l DDS EN 2.3Format for floating-point numbersElement Meaning% Formatted text display starts with %. If the

Page 168

Drive PLC Developer StudioProgram example3-3l DDS EN 2.3Tip!Only the organization unit named PLC_PRG of type “Program” will be processed by the cyclic

Page 169 - Edit parameters

Drive PLC Developer StudioVisualization9-16lDDS EN 2.3• The display then is as follows in online mode. The previously made inputs return therepresenta

Page 170 - WConnector Keyboard:

Drive PLC Developer StudioVisualization9-17l DDS EN 2.3Zoom to VisIf check box Zoom to Vis is activated, a mouse click on the visualization element wi

Page 171

Drive PLC Developer StudioVisualization9-18lDDS EN 2.3ConfigureWBitmap available for: BitmapUse Extras➞➞➞➞Configure, categoryBitmapto effect settings

Page 172

Drive PLC Developer StudioVisualization9-19l DDS EN 2.3• Button Replace placeholder opens dialog boxReplace placeholder. All placeholders used inthe i

Page 173 - WArrange topologically

Drive PLC Developer StudioVisualization9-20lDDS EN 2.3• A semicolon ”;” must be entered into the instruction part.• Create a new visualisation with th

Page 174

Drive PLC Developer StudioVisualization9-21l DDS EN 2.39.4 Visualization in librariesVisualizations can also be saved in libraries and thus be made av

Page 175 - WOrderWTo the end Keyboard:

Drive PLC Developer StudioVisualization9-22LDDS EN 2.3Show/Hide Bookmarks

Page 176 - WExpand macro Keyboard:

Drive PLC Developer StudioIEC 61131-3 Data types10-1l DDS EN 2.310 IEC 61131-3 data types10.1 Standard data typesStandard or user-defined data types m

Page 177 - Colours

Drive PLC Developer StudioIEC 61131-3 Data types10-2lDDS EN 2.310.1.4 StringA variable of type STRING can hold variable-length sequences of characters

Page 178

Drive PLC Developer StudioIEC 61131-3 Data types10-3l DDS EN 2.3Initializing arrays:Either all elements of an array are initialized, or none.Examples

Page 179

Drive PLC Developer StudioProgram example3-4lDDS EN 2.3ThestatusofthevariableSTATE is used to switch the output variables for the associated light col

Page 180 - WAdd entry action Keyboard:

Drive PLC Developer StudioIEC 61131-3 Data types10-4lDDS EN 2.3If an integral project component, the function CheckBounds is called up automatically.

Page 181 - WInsert after Keyboard:

Drive PLC Developer StudioIEC 61131-3 Data types10-5l DDS EN 2.3Pointer declarations have the following syntax:<Identifier>: POINTER TO <Data

Page 182

Drive PLC Developer StudioIEC 61131-3 Data types10-6lDDS EN 2.3No enumeration value must be used twice.Example:TRAFFICLIHTS: (red, yellow, green);COLO

Page 183 - Time limit overview

Drive PLC Developer StudioIEC 61131-3 Data types10-7l DDS EN 2.310.2.5 ReferencesThe user-defined data type “Reference” generates an alternative name

Page 184 - WUse I EC steps Keyboard:

Drive PLC Developer StudioIEC 61131-3 Data types10-8lDDS EN 2.3Library CheckRange.libThe library CheckBounds contains the global variableg_bErrorCheck

Page 185 - Organizer

Drive PLC Developer StudioIEC 61131-3 Data types10-9l DDS EN 2.3Parameterizing the functionvalue Is given the value to be assigned to the range type.l

Page 186

Drive PLC Developer StudioIEC 61131-3 Data types10-10lDDS EN 2.3Show/Hide Bookmarks

Page 187

Drive PLC Developer StudioIEC 61131-3 Operators11-1l DDS EN 2.311 Operator listThe table below lists the operators in ST and IL with the modifiers ava

Page 188

Drive PLC Developer StudioIEC 61131-3 Operators11-2lDDS EN 2.3Operator ST MeaningMod.ILOperator IL< LT ( Less thanMOD(in) MOD Modulo divisionINDEXO

Page 189

Drive PLC Developer StudioIEC 61131-3 Operators11-3l DDS EN 2.311.2 Standard.lib-integrated IEC operatorsOperator ST Operator IL Mod.IL MeaningLEN(in)

Page 190

Drive PLC Developer StudioProgram example3-5l DDS EN 2.314.Click behind the EQ box to select the output.15.Select Insert➞➞➞➞Assignment.16.Change the t

Page 191

Drive PLC Developer StudioIEC 61131-3 Operators11-4lDDS EN 2.3Show/Hide Bookmarks

Page 192 - Global variables

Drive PLC Developer StudioIEC 61131-3 Operators12-1l DDS EN 2.312 IEC 61131-3 operatorsThe DDS supports all IEC operators.Contrary to standard functio

Page 193

Drive PLC Developer StudioIEC 61131-3 Operators12-2lDDS EN 2.3Library CheckDiv.libThe library CheckDiv contains the global variableg_bErrorCheckDiv• O

Page 194 - Code initialization values

Drive PLC Developer StudioIEC 61131-3 Operators12-3l DDS EN 2.3Implementing CheckDivRealDeclaration partFUNCTION CheckDivReal:REALVAR_INPUTdivisor:REA

Page 195

Drive PLC Developer StudioIEC 61131-3 Operators12-4lDDS EN 2.312.1.7 SIZEOFThe result of this function is the number of bytes required by the specifie

Page 196

Drive PLC Developer StudioIEC 61131-3 Operators12-5l DDS EN 2.312.2.2 ORBit-by-bit OR of bit operandsExamplesIL Var1 : BYTE;LD 2#1001_0011OR 2#1000_10

Page 197

Drive PLC Developer StudioIEC 61131-3 Operators12-6lDDS EN 2.312.3 Bit-shift operatorsTypes:The operands of the following bit shift operators should b

Page 198

Drive PLC Developer StudioIEC 61131-3 Operators12-7l DDS EN 2.312.3.4 RORRotating the bits of an operand to the rightExample IL:LD 2#1001_0011ROR 3STV

Page 199 - WAdd new object Keyboard:

Drive PLC Developer StudioIEC 61131-3 Operators12-8lDDS EN 2.312.4 Selection operatorsAll selection operations can also be carried out on variables.Fo

Page 200 - ±16384 ®±100%, f o r example

Drive PLC Developer StudioIEC 61131-3 Operators12-9l DDS EN 2.312.4.3 MINMinimum functionReturns the lesser of two values.OUT := MIN(IN0, IN1)IN0, IN1

Page 201 - (^ 8-12)

Drive PLC Developer StudioProgram example3-6lDDS EN 2.324.Use the above procedures and commands to complete the organization unit as follows:The first

Page 202 - Parameter Manager

Drive PLC Developer StudioIEC 61131-3 Operators12-10lDDS EN 2.312.4.5 MUXMultiplexerOUT := MUX(K, IN0,...,INn)means:OUT := INk.• IN0, ... , INn and OU

Page 203

Drive PLC Developer StudioIEC 61131-3 Operators12-11l DDS EN 2.312.5.2 LTLess thanA Boolean operator with the result TRUE if the first operand is less

Page 204

Drive PLC Developer StudioIEC 61131-3 Operators12-12lDDS EN 2.312.6 Addressing operators12.6.1 ADRAddressing functionADR returns the data memory addre

Page 205

Drive PLC Developer StudioIEC 61131-3 Operators12-13l DDS EN 2.312.8 Assignment operator12.8.1 MOVEAssignment operatorThe MOVE command is useful only

Page 206

Drive PLC Developer StudioIEC 61131-3 Operators12-14LDDS EN 2.3Show/Hide Bookmarks

Page 207

Drive PLC Developer StudioIEC 61131-3 Operands13-1l DDS EN 2.313 IEC 61131-3 operandsIn the DDS, operands can be constants, variables, addresses and f

Page 208 - Example:

Drive PLC Developer StudioIEC 61131-3 Operands13-2lDDS EN 2.3Examples of incorrect TIME constants:TIME1 := t#5m68s; (*Overflow in lower-order componen

Page 209 - Add scale function

Drive PLC Developer StudioIEC 61131-3 Operands13-3l DDS EN 2.313.1.7 REAL and LREAL constantsREAL constants may be decimal fractions and exponentsusin

Page 210

Drive PLC Developer StudioIEC 61131-3 Operands13-4lDDS EN 2.313.2 VariablesVariables are declared either locally in the declaration part of an organiz

Page 211 - Process image

Drive PLC Developer StudioIEC 61131-3 Operands13-5l DDS EN 2.3Furthermore:• Case sensitivity is not an option for variables.(Example: VAR1, Var1 and v

Page 212 - (^ 8-29)

Drive PLC Developer StudioProgram example3-7l DDS EN 2.3Pulse encoder TPThe pulse encoder TP has two inputs ( IN, PT) and two outputs ( Q, ET).• If at

Page 213 - (^ 8-25)

Drive PLC Developer StudioIEC 61131-3 Operands13-6lDDS EN 2.3Memory/Address ManagerThe memory is divided into words, with a word being made up of 16 b

Page 214 - WAdd subelement Keyboard:

Drive PLC Developer StudioIEC 61131-3 Operands13-7l DDS EN 2.313.4 Function callsInST,afunctioncallcanalsobeanoperand.Example:Result := Fct(7) + 3;Sho

Page 215 - WConvert Keyboard:

Drive PLC Developer StudioIEC 61131-3 Operands13-8LDDS EN 2.3Show/Hide Bookmarks

Page 216 - Basic parameters

Drive PLC Developer StudioIEC 61131-3 Standard functions14-1l DDS EN 2.314 IEC 61131-3 standard functionsType conversion functionsConversions between

Page 217

Drive PLC Developer StudioIEC 61131-3 Standard functions14-2lDDS EN 2.314.1 Type conversion functionsImplicit conversions from a ”higher-” type to a ”

Page 218

Drive PLC Developer StudioIEC 61131-3 Standard functions14-3l DDS EN 2.314.1.3 TO_BOOLConverting from any type to BOOL• The result is TRUE if the oper

Page 219

Drive PLC Developer StudioIEC 61131-3 Standard functions14-4lDDS EN 2.314.1.5 DATE_TO / DT_TOConverting from type DATE or DATE_AND_TIME to another typ

Page 220

Drive PLC Developer StudioIEC 61131-3 Standard functions14-5l DDS EN 2.314.2 Numerical functions14.2.1 ABSReturns the absolute value of a numberExampl

Page 221

Drive PLC Developer StudioIEC 61131-3 Standard functions14-6lDDS EN 2.314.2.6 SINReturns the sine of a number in radiansExamplesIL ST FBDLD 0.5SINST q

Page 222

Drive PLC Developer StudioIEC 61131-3 Standard functions14-7l DDS EN 2.314.2.11 ATANReturns the arc tangent (inversion of tangent) of a number in radi

Page 223 - Task properties

Drive PLC Developer StudioContentsil DDS EN 2.31 Preface and general information 1-1...1.1 About this manual 1

Page 224

Drive PLC Developer StudioProgram example3-8lDDS EN 2.3ProcessThe first interrogation establishes whether Q is already set to TRUE ( TRUE: timer runni

Page 225

Drive PLC Developer StudioIEC 61131-3 Standard functions14-8lDDS EN 2.314.3.3 RIGHTReturns a right start string of a string• STR is of type STRING, SI

Page 226 - WSave watch list Keyboard:

Drive PLC Developer StudioIEC 61131-3 Standard functions14-9l DDS EN 2.314.3.7 DELETEDeletes a segment from a string from a specific position• STR1 is

Page 227 - WRead Receipt Keyboard:

Drive PLC Developer StudioIEC 61131-3 Standard functions14-10lDDS EN 2.314.4 Bistable function blocks14.4.1 SRBistable function block (dominant set)•

Page 228

Drive PLC Developer StudioIEC 61131-3 Standard functions14-11l DDS EN 2.314.4.3 SEMASoftware semaphore (interruptible)X is an internal BOOL variable i

Page 229

Drive PLC Developer StudioIEC 61131-3 Standard functions14-12lDDS EN 2.314.5 Edge detection14.5.1 R_TRIGRising edge detectorFUNCTION_BLOCK R_TRIGVAR_I

Page 230

Drive PLC Developer StudioIEC 61131-3 Standard functions14-13l DDS EN 2.314.5.2 F_TRIGFalling edge detectorFUNCTION_BLOCK F_TRIGVAR_INPUTCLK : BOOL;EN

Page 231

Drive PLC Developer StudioIEC 61131-3 Standard functions14-14lDDS EN 2.314.6 Counters14.6.1 CTUUp counterCU, RESET and Q are of type BOOL, PV and CV a

Page 232

Drive PLC Developer StudioIEC 61131-3 Standard functions14-15l DDS EN 2.314.6.3 CTUDUp and down counterCU, CD, RESET, LOAD, QU and QD are of type BOOL

Page 233

Drive PLC Developer StudioIEC 61131-3 Standard functions14-16lDDS EN 2.314.7 Timers14.7.1 TPPulse encoderTP(IN, PT, Q, ET) means:• IN and PT are input

Page 234

Drive PLC Developer StudioIEC 61131-3 Standard functions14-17l DDS EN 2.314.7.2 TONTimer on-delayTON(IN, PT, Q, ET) means:• IN and PT are input variab

Page 235 - (^ 6-12)

Drive PLC Developer StudioProgram example3-9l DDS EN 2.3The traffic light example requires a step for every traffic light phase.31.Select the transiti

Page 236 - WRectangle Keyboard:

Drive PLC Developer StudioIEC 61131-3 Standard functions14-18lDDS EN 2.314.7.3 TOFTimer off-delayTOF(IN, PT, Q, ET) means:• IN and PT are input variab

Page 237 - WCur v e Keyboard:

Drive PLC Developer StudioAppendix15-1l DDS EN 2.315 Appendix15.1 Command line commandsThe DDS can be assigned certain commands on startup that will b

Page 238

Drive PLC Developer StudioAppendix15-2lDDS EN 2.315.2 Command file (Cmdfile) commandsThe commands that may be used within a command file <cmdfile&g

Page 239

Drive PLC Developer StudioAppendix15-3l DDS EN 2.3Manage the default behaviour of DDS dialogsquery on Display dialogs expecting user inputquery of ok

Page 240

Drive PLC Developer StudioAppendix15-4lDDS EN 2.3Set the communication parameters (gateway, device)device instance<Instance name>Set the instanc

Page 241

Drive PLC Developer StudioAppendix15-5l DDS EN 2.315.3 IEC keywordsKeywords are unique character combinations used as individual syntax elements.• Key

Page 242

Drive PLC Developer StudioAppendix15-6lDDS EN 2.3R R1 R_TRIG READ_ONLY READ_WRITE REALRELEASE REPEAT REPLACE RESOURCE RET RETAINRETC RETCN RETURN RIGH

Page 243 - WPlaceholder list Keyboard:

Drive PLC Developer StudioAppendix15-7l DDS EN 2.315.4 Key combinations and function keysThe available key combinations and function keys are listed a

Page 244 - Visualization settings

Drive PLC Developer StudioAppendix15-8lDDS EN 2.3FBD editor commandsMenu command Keyboard commandInsert à Network (after) <Ctrl>+<T>Insert

Page 245

Drive PLC Developer StudioAppendix15-9l DDS EN 2.3Operation of PLC configurationFunction Keyboard commandOpen and close organization elements <Ente

Page 246

Drive PLC Developer StudioProgram example3-10lDDS EN 2.337.Change the return jump address (underneath the arrow) from “Init” to “CHANGE1” to createthe

Page 247 - Variab les

Drive PLC Developer StudioAppendix15-10lDDS EN 2.315.5 Error messagesThe DDS will display the following error messages in alphabetical sequence in the

Page 248

Drive PLC Developer StudioAppendix15-11l DDS EN 2.3No. Possible remedyCause1901 Access variables and configuration variables are not savedin a library

Page 249

Drive PLC Developer StudioAppendix15-12lDDS EN 2.3No. Possible remedyCause3163 Unknown reference type in library <Name>(Icon <Name>, Class

Page 250 - WInput available for: all

Drive PLC Developer StudioAppendix15-13l DDS EN 2.3No. Possible remedyCause3501 No address in VAR_CONFIG for <Name> Insert an address for the na

Page 251 - Variables

Drive PLC Developer StudioAppendix15-14lDDS EN 2.3No. Possible remedyCause3740 Unknown type: <Name> You are using an incorrect type for variable

Page 252

Drive PLC Developer StudioAppendix15-15l DDS EN 2.3No. Possible remedyCause4001 Variable <Name> not declared Declare the variable locally or glo

Page 253 - Placeholder list

Drive PLC Developer StudioAppendix15-16lDDS EN 2.3No. Possible remedyCause4061 VAR_IN_OUT parameter <Name> of <Name> must beassigned.Write

Page 254

Drive PLC Developer StudioAppendix15-17l DDS EN 2.3No. Possible remedyCause4264 The selector of the CASE instruction must be INT-type. Ensure that the

Page 255

Drive PLC Developer StudioAppendix15-18lDDS EN 2.3No. Possible remedyCause4358 Undeclared action: <name> Ensure that the IEC step action is inse

Page 256

Drive PLC Developer StudioAppendix15-19l DDS EN 2.3No. Possible remedyCause4432 Jump labels in the middle of an expression are not allowed IEC 61131-3

Page 257

Drive PLC Developer StudioProgram example3-11l DDS EN 2.340.Enter the following actions for the step “Init” into the editor window and define the acti

Page 258

Drive PLC Developer StudioAppendix15-20lDDS EN 2.315.5.3 Communication errorsNo. Cause Possible remedy1(0001)Transmit buffer in the controller is f ul

Page 259

Drive PLC Developer StudioAppendix15-21l DDS EN 2.3No. Possible remedyCause41228(A10C)Incorrect interrupt Set a valid interrupt for the selected syste

Page 260

Drive PLC Developer StudioAppendix15-22lDDS EN 2.3No. Possible remedyCause41729(A301)Error when writing an OPC item. Contact Lenze41730(A302)Internal

Page 261

Drive PLC Developer StudioAppendix15-23lDDS EN 2.315.6 GlossarySequential Function Chart Sequential Function Chart SFC (Sequential Functi on Chart - S

Page 262

Drive PLC Developer StudioAppendix15-24lDDS EN 2.3ST Abbreviation for Structured Text.Standard functions All functions predefined by IEC 61131-3 to im

Page 263

Drive PLC Developer StudioIndex16-1l DDS EN 2.316 IndexAAbsolute value, 14-5Access rights, 5-15, 6-21, 6-28Add action, 7-63Add entry action, 7-58Add e

Page 264

Drive PLC Developer StudioIndex16-2lDDS EN 2.3Compile all, 6-8Compiler error messages, 15-11Concatenation, 14-8Configure, 9-11Configuring the monitori

Page 265

Drive PLC Developer StudioIndex16-3l DDS EN 2.3Function block, 2-4, 7-23Function block diagram (FBD), 4-18Function block instances, 2-4Function CheckB

Page 266

Drive PLC Developer StudioIndex16-4lDDS EN 2.3MMacro, 7-9Macro, 7-53Mark, 5-8Mark all, 7-46Maximum comment size, 7-26Maximum function, 12-8Memory/Addr

Page 267

Drive PLC Developer StudioIndex16-5l DDS EN 2.3Project check, 6-20Project comparison, 6-16Project generation, 2-1Project information, 6-18Project stru

Page 268

Drive PLC Developer StudioProgram example3-12lDDS EN 2.344.Select the transition after “CHANGE1“ and then Insert➞➞➞➞Step transition (after) to insert

Page 269

Drive PLC Developer StudioIndex16-6lDDS EN 2.3Step transition (before), 7-57Stop, 6-33String length, 14-7Structured text (ST), 4-4Subcodes, 8-16Subtra

Page 270

Drive PLC Developer StudioProgram example3-13l DDS EN 2.348.Name the newly inserted steps/transitions as shown below:49.Define the following actions f

Page 271

Drive PLC Developer StudioProgram example3-14lDDS EN 2.33.3 SimulationNow test the program.1. Select Project➞➞➞➞Compile all to compile the program.2.

Page 272

Drive PLC Developer StudioProgram example3-15lDDS EN 2.33.4 VisualizationNow that the traffic light system has been programmed in the DDS and tested i

Page 273

Drive PLC Developer StudioProgram example3-16lDDS EN 2.39. Select InsertWRectangle to draw a rectangle over the three circles.10.Double-click the rect

Page 274

Drive PLC Developer StudioProgramming languages4-1l DDS EN 2.34 Programming languages4.1 The standard IEC 61131-3The standard IEC 61131-3 is an intern

Page 275

Drive PLC Developer StudioContentsiilDDS EN 2.34 Programming languages 4-1...4.1 The standard IEC 61131-

Page 276

Drive PLC Developer StudioProgramming languages4-2lDDS EN 2.34.2 Instruction list (IL)An instruction list (IL) consists of a sequence of instructions.

Page 277 - A:= ROR (IN, N)

Drive PLC Developer StudioProgramming languages4-3l DDS EN 2.3The table lists some IL operators along with possible modifiers and their respective mea

Page 278

Drive PLC Developer StudioProgramming languages4-4lDDS EN 2.34.3 Structured text (ST)Structured text consists of a series of instructions that can be

Page 279

Drive PLC Developer StudioProgramming languages4-5l DDS EN 2.34.3.3 Instructions (overview)The following instructions are available in ST:Instruction

Page 280

Drive PLC Developer StudioProgramming languages4-6lDDS EN 2.34.3.5 Calling a function block in STA function block in ST is called by using the name of

Page 281

Drive PLC Developer StudioProgramming languages4-7l DDS EN 2.3Example:IF temp < 17 THENheating_on:=TRUE;ELSEheating_on:=FALSE;END_IF;In this exampl

Page 282

Drive PLC Developer StudioProgramming languages4-8lDDS EN 2.34.3.9 FOR loopUse the FOR loop to program repetitive procedures.Syntax:INT_Var :INT;FOR &

Page 283 - Assignment operator

Drive PLC Developer StudioProgramming languages4-9l DDS EN 2.34.3.10 WHILE loopThe WHILE loopcanbeusedlikeaFOR loop, the only difference being that th

Page 284

Drive PLC Developer StudioProgramming languages4-10lDDS EN 2.34.3.11 REPEAT loopThe REPEAT loop differs from the WHILE loop in that the cancel conditi

Page 285

Drive PLC Developer StudioProgramming languages4-11l DDS EN 2.34.4 Sequential Function Chart (SFC)Sequential Function Chart is a graphically oriented

Page 286

Drive PLC Developer StudioContentsiiil DDS EN 2.35.2 Arrange windows 5-5...5.2.1 Command

Page 287

Drive PLC Developer StudioProgramming languages4-12lDDS EN 2.34.4.3 Entry and exit actionIn addition to the step action, a step may be added an entry

Page 288 - System variable

Drive PLC Developer StudioProgramming languages4-13l DDS EN 2.3In a control cycle, all actions belonging to active steps are being executed. The subse

Page 289

Drive PLC Developer StudioProgramming languages4-14lDDS EN 2.3Example of a two-action IEC step:• For easier monitoring of the processes, all active ac

Page 290

Drive PLC Developer StudioProgramming languages4-15l DDS EN 2.3Note!When an action is deactivated, it will be executed once again. This means that eve

Page 291

Drive PLC Developer StudioProgramming languages4-16lDDS EN 2.3Example of a declarationPROGRAM flagsVARSFCEnableLinit:BOOL;SFCError:BOOL;SFCErrorStep:S

Page 292

Drive PLC Developer StudioProgramming languages4-17l DDS EN 2.34.4.10 Alternative branchTwo or more branches in SFC may be defined as alternative bran

Page 293

Drive PLC Developer StudioProgramming languages4-18lDDS EN 2.34.5 Function block diagram (FBD)The function block diagram is a graphically oriented pro

Page 294

Drive PLC Developer StudioProgramming languages4-19l DDS EN 2.34.6 The Continuous Function Chart editor (CFC)The Continuous Function Chart editor (CFC

Page 295

Drive PLC Developer StudioProgramming languages4-20lDDS EN 2.34.7 Ladder diagram (LD)The Ladder Diagram is a graphically oriented programming language

Page 296

Drive PLC Developer StudioProgramming languages4-21l DDS EN 2.34.7.3 Set/Reset coilA coil can also be defined as set or reset coil.• A variable of a s

Page 297

Drive PLC Developer StudioContentsivlDDS EN 2.37.4 Network editors (general) 7-26...7.4.1 Jump

Page 298

Drive PLC Developer StudioProgramming languages4-22LDDS EN 2.3Show/Hide Bookmarks

Page 299

Drive PLC Developer StudioWorking area5-1l DDS EN 2.35 Desktop5.1 User interfaceThe DDS user interface consists of the following elements: Men

Page 300

Drive PLC Developer StudioWorking area5-2lDDS EN 2.35.1.2 Tool barThe tool bar provides for quick access to frequently used menu commands.• Click on a

Page 301

Drive PLC Developer StudioWorking area5-3l DDS EN 2.35.1.4 Vertical screen dividerThe screen divider is the boundary between two non-overlapping windo

Page 302

Drive PLC Developer StudioWorking area5-4lDDS EN 2.35.1.7 Status barThe status bar at the bottom of the DDS main window displays information about the

Page 303

Drive PLC Developer StudioWorking area5-5l DDS EN 2.35.2 Arrange windowsThe menu Window lists all window management commands.These are commands for au

Page 304

Drive PLC Developer StudioWorking area5-6lDDS EN 2.35.3 Basic settings5.3.1 DDS optionsUse the menu command Project➞➞➞➞Options in the main menu to con

Page 305

Drive PLC Developer StudioWorking area5-7l DDS EN 2.3Ask for project informationIf check box Ask for project information is activated, the project inf

Page 306

Drive PLC Developer StudioWorking area5-8lDDS EN 2.3Auto declarationIf the option Auto declaration is activated, a dialog box will appear in all edito

Page 307

Drive PLC Developer StudioWorking area5-9l DDS EN 2.3Bit valuesUse the group box Bit values to choose between three different representation formats f

Page 308

Drive PLC Developer StudioContentsvl DDS EN 2.38.4 Parameter Manager 8-8...8.4.2 Termi nol

Page 309

Drive PLC Developer StudioWorking area5-10lDDS EN 2.3Printer bordersIn every editor window, the printer borders are outlined by red dashed lines. The

Page 310

Drive PLC Developer StudioWorking area5-11l DDS EN 2.3OptionsWDirectoriesProjectThe DDS is looking for libraries and configuration files in directorie

Page 311

Drive PLC Developer StudioWorking area5-12lDDS EN 2.3OptionsWlogThis dialog box allows configuration of a file that chronologically logs all user acti

Page 312

Drive PLC Developer StudioWorking area5-13l DDS EN 2.3OptionsWBuildDebuggingIf the option Debugging is activated, the code may become noticeably longe

Page 313

Drive PLC Developer StudioWorking area5-14lDDS EN 2.3The following macro commands cannot be executed.file new, file open, file close, file save as, fi

Page 314

Drive PLC Developer StudioWorking area5-15l DDS EN 2.3Note!Make sure to remember the passwords. Contact Lenze if you do forget one of the passwords.•

Page 315

Drive PLC Developer StudioWorking area5-16lDDS EN 2.3Export variable of objectThe variables of the selected object are output to the symbol file. The

Page 316

Drive PLC Developer StudioWorking area5-17l DDS EN 2.3CommandsThis dialog box defines or edits commands for the macro. A new command line is inserted

Page 317

Drive PLC Developer StudioWorking area5-18lDDS EN 2.3DirectoryUse the input field Path to determine the directory path for the device description file

Page 318

Drive PLC Developer StudioWorking with projects and objects6-1lDDS EN 2.36 Working with projects and objects6.1 Managing projectsThose DDS commands th

Page 319

Drive PLC Developer StudioContentsvilDDS EN 2.310 IEC 61131-3 data types 10-1...10.1 Standard data type

Page 320 - VAR_GLOBAL

Drive PLC Developer StudioWorking with projects and objects6-2lDDS EN 2.36.1.1.3 OpenIcon: Menu: FileWOpen Keyboard: <Ctrl>+<O>Use this co

Page 321 - (^ 8-18)

Drive PLC Developer StudioWorking with projects and objects6-3lDDS EN 2.3Saving project as libraryIf the project is to be saved as library for use in

Page 322

Drive PLC Developer StudioWorking with projects and objects6-4lDDS EN 2.33. Compile the project.Note!After compiling the project must be saved once. W

Page 323

Drive PLC Developer StudioWorking with projects and objects6-5lDDS EN 2.3DetailsUsethebuttonDetails to request a dialog box for the direct selection o

Page 324

Drive PLC Developer StudioWorking with projects and objects6-6lDDS EN 2.36.1.1.8 PrintIcon: - Menu: FileWPrint Keyboard: <Ctrl>+<P>Use thi

Page 325

Drive PLC Developer StudioWorking with projects and objects6-7lDDS EN 2.3Use the command Insert➞➞➞➞Placeholder to select one of the five placeholders

Page 326

Drive PLC Developer StudioWorking with projects and objects6-8lDDS EN 2.36.1.1.10 ExitIcon: - Menu: FileWExit Keyboard: <Alt>+<F4>Use this

Page 327

Drive PLC Developer StudioWorking with projects and objects6-9lDDS EN 2.36.1.2.3 Clean allNote!A log-in without another project download is possible o

Page 328

Drive PLC Developer StudioWorking with projects and objects6-10lDDS EN 2.3Creating a translation file• Enter a path in the field Translation file to s

Page 329

Drive PLC Developer StudioWorking with projects and objects6-11lDDS EN 2.3Tip!A maximum of 64 position information items will be generated for each el

Page 330

Drive PLC Developer StudioContentsviil DDS EN 2.312.5.3 LE 12-11...12.5.4 GE 12-11..

Page 331

Drive PLC Developer StudioWorking with projects and objects6-12lDDS EN 2.3Find below a sample section in the translation file for the name of the orga

Page 332

Drive PLC Developer StudioWorking with projects and objects6-13lDDS EN 2.3Translation fileSpecify the translation file path in this text field.SearchT

Page 333 - 15.6 Glossary

Drive PLC Developer StudioWorking with projects and objects6-14lDDS EN 2.3Command selection opens a dialog box to select the objects to be printed:• M

Page 334

Drive PLC Developer StudioWorking with projects and objects6-15lDDS EN 2.36.1.2.9 ImportIcon: - Menu: ProjectWImport... Keyboard: -Select the required

Page 335

Drive PLC Developer StudioWorking with projects and objects6-16lDDS EN 2.3Comparing projectsProject to compareBy default, this text field contains the

Page 336

Drive PLC Developer StudioWorking with projects and objects6-17lDDS EN 2.3ColoursAny differences are marked by coloured text.RedUnit was modified and

Page 337

Drive PLC Developer StudioWorking with projects and objects6-18lDDS EN 2.36.1.2.12 Project informationIcon: - Menu: ProjectWProject information Keyboa

Page 338

Drive PLC Developer StudioWorking with projects and objects6-19lDDS EN 2.3Find whatEnter the required character sequence. If a text is found in an obj

Page 339

Drive PLC Developer StudioWorking with projects and objects6-20lDDS EN 2.3Cancel• Closes the ”Find and replace” function.Note!Not implemented for Para

Page 340

Drive PLC Developer StudioWorking with projects and objects6-21lDDS EN 2.3Multiple save on outputThis function looks for memory areas that are accesse

Comments to this Manuals

No comments