Lenze DDS v2.3 Manual do Utilizador Página 1

Consulte online ou descarregue Manual do Utilizador para Hardware Lenze DDS v2.3. Lenze DDS v2.3 User Manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 340
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes

Resumo do Conteúdo

Página 1 - PLC Developer Studio

LManualGlobal DriveDrive PLC Developer StudioGlobal DrivePLC Developer StudioShow/Hide Bookmarks

Página 2 - Show/Hide Bookmarks

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

Página 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

Página 4

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

Página 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

Página 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

Página 7

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

Página 8

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

Página 9

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

Página 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

Página 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

Página 12

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

Página 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

Página 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

Página 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

Página 16

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

Página 17

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

Página 18

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

Página 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

Página 20

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

Página 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

Página 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

Página 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: -

Página 24 - Automation system settings

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

Página 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

Página 26

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

Página 27

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

Página 28

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

Página 29

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

Página 30

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

Página 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

Página 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

Página 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

Página 34

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

Página 35

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

Página 36

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

Página 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

Página 38

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 45

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 51

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

Página 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

Página 53

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

Página 54

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

Página 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

Página 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

Página 57

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

Página 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

Página 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

Página 60

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

Página 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

Página 62

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

Página 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

Página 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

Página 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

Página 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

Página 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>+&

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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>+

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 88

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

Página 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

Página 90

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

Página 91

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

Página 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

Página 93

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

Página 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

Página 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

Página 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

Página 97 - Global replace

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

Página 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

Página 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

Página 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

Página 101

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

Página 102 - Object Organizer

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

Página 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

Página 104

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

Página 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

Página 106

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 113

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

Página 114

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 123

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

Página 124

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

Página 125 - WDelete Keyboard: <Del>

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

Página 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

Página 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

Página 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

Página 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

Página 130

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

Página 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

Página 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 (

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 139

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

Página 140

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 149

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

Página 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

Página 151

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

Página 152

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

Página 153

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

Página 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

Página 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

Página 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

Página 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

Página 158

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

Página 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

Página 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

Página 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

Página 162

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

Página 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

Página 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

Página 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

Página 166

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

Página 167

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

Página 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

Página 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

Página 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

Página 171

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

Página 172

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

Página 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

Página 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

Página 175 - WOrderWTo the end Keyboard:

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

Página 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

Página 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

Página 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

Página 179

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

Página 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.

Página 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

Página 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

Página 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

Página 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

Página 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

Página 186

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

Página 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

Página 188

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

Página 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)

Página 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

Página 191

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

Página 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

Página 193

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

Página 194 - Code initialization values

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 204

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

Página 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

Página 206

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 215 - WConvert Keyboard:

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

Página 216 - Basic parameters

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

Página 217

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 223 - Task properties

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

Página 224

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

Página 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

Página 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

Página 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)•

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 239

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

Página 240

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

Página 241

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

Página 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

Página 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

Página 244 - Visualization settings

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

Página 245

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

Página 246

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

Página 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

Página 248

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

Página 249

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

Página 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

Página 251 - Variables

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

Página 252

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

Página 253 - Placeholder list

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

Página 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

Página 255

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

Página 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

Página 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

Página 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

Página 259

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

Página 260

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

Página 261

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

Página 262

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

Página 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

Página 264

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

Página 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

Página 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

Página 267

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

Página 268

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

Página 269

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

Página 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

Página 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.

Página 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

Página 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

Página 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

Página 275

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

Página 276

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

Página 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

Página 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

Página 279

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

Página 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

Página 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

Página 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 &

Página 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

Página 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

Página 285

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

Página 286

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

Página 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

Página 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

Página 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

Página 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

Página 291

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

Página 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

Página 293

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

Página 294

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

Página 295

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

Página 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

Página 297

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

Página 298

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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 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

Página 308

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

Página 309

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

Página 310

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

Página 311

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

Página 312

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

Página 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

Página 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.•

Página 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

Página 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

Página 317

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

Página 318

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

Página 319

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

Página 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

Página 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

Página 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

Página 323

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

Página 324

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

Página 325

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

Página 326

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

Página 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

Página 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

Página 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

Página 330

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

Página 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

Página 332

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

Página 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

Página 334

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

Página 335

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

Página 336

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

Página 337

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

Página 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

Página 339

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

Página 340

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

Comentários a estes Manuais

Sem comentários