Lenze PLC Designer PLC Designer (R2-x) Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Logiciel Lenze PLC Designer PLC Designer (R2-x). Lenze PLC Designer PLC Designer (R2-x) User Manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 844
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
L
SHPPLCD
13369837
Ä.E÷Fä
Software Manual
PLC Designer
PC-based Automation
L-force Engineering
Vue de la page 0
1 2 3 4 5 6 ... 843 844

Résumé du contenu

Page 1 - L-force Engineering

L SHPPLCD13369837Ä.E÷FäSoftware ManualPLC DesignerPC-based AutomationL-force Engineering

Page 2

L-force | PLC Designer 8 DMS 3.2 EN 02/2011 TD29  6.6.26 What the communications parameters dialog on the local PC shows_________________________

Page 3 - Contents

L-force | PLC Designer The Individual Components 98 DMS 3.2 EN 02/2011 TD29  6 The Individual Components 6.1 The Main Window... 6.1.1 Components

Page 4

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 99 6.1.2 Menu bar The menu bar is located at the upper edge of the main

Page 5

L-force | PLC Designer The Individual Components 100 DMS 3.2 EN 02/2011 TD29  6.1.4 Object Organizer The Object Organizer is always located on the

Page 6

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 101 6.1.6 Work space The Work space is located on the right side of the

Page 7

L-force | PLC Designer The Individual Components 102 DMS 3.2 EN 02/2011 TD29  If the mouse point is in a visualization, the current X and Y positio

Page 8

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 103 You have at your disposal the following categories: stored in PLC D

Page 9

L-force | PLC Designer The Individual Components 104 DMS 3.2 EN 02/2011 TD29  Create Backup: »PLC Designer« creates a backup file at every save wi

Page 10 - L-force

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 105 Save ENI credentials: User name and Password, as they might be inser

Page 11

L-force | PLC Designer The Individual Components 106 DMS 3.2 EN 02/2011 TD29  6.2.3 Options for Editor If you choose this category in the Options

Page 12

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 107 Tab-Width: In the field Tab-Width in the category Editor of the Optio

Page 13

L-force | PLC Designer  DMS 3.2 EN 02/2011 TD29 9 7.2 Declaration Editor... ___________________________________________ 248 7.2.1 General________

Page 14

L-force | PLC Designer The Individual Components 108 DMS 3.2 EN 02/2011 TD29  Show POU symbols: If this option is activated, in the module boxes wh

Page 15

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 109 Online in Security mode: In Online mode with the commands 'Run&a

Page 16

L-force | PLC Designer The Individual Components 110 DMS 3.2 EN 02/2011 TD29  Language: Define here, in which language the menu and dialog texts sh

Page 17

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 111 If you have chosen one of the indicated buttons, the dialog box for t

Page 18

L-force | PLC Designer The Individual Components 112 DMS 3.2 EN 02/2011 TD29  6.2.6 Options for Directories If you choose this category in the Opt

Page 19

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 113 The Target area just displays the directories for libraries and confi

Page 20

L-force | PLC Designer The Individual Components 114 DMS 3.2 EN 02/2011 TD29  The log is automatically stored as a binary file in the project direc

Page 21

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 115 6.2.8 Options for Build If you choose this category in the Options

Page 22

L-force | PLC Designer The Individual Components 116 DMS 3.2 EN 02/2011 TD29  Example: (* a:=inst.out; (* to be checked *) b:=b+1; *) Here the com

Page 23 - 1 About this Documentation

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 117 Exclude objects: This button opens the dialog Exclude objects from bu

Page 24

L-force | PLC Designer 10 DMS 3.2 EN 02/2011 TD29  7.4 The Text Editors... _____________________________________________ 282 7.4.1 'Insert&a

Page 25 - 2 Lenze specifications

L-force | PLC Designer The Individual Components 118 DMS 3.2 EN 02/2011 TD29  6.2.9 Passwords If you choose this category in the Options dialog bo

Page 26

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 119 Of course it is important that you memorize both passwords. However,

Page 27

L-force | PLC Designer The Individual Components 120 DMS 3.2 EN 02/2011 TD29  Using the option Implicit at create boot project allows the selected

Page 28

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 121 If option 'Symbol config from INI-file' is not activated, t

Page 29

L-force | PLC Designer The Individual Components 122 DMS 3.2 EN 02/2011 TD29  Once the option settings for the currently selected variables are com

Page 30

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 123 If the option is activated, then the data base functions (Check in, G

Page 31

L-force | PLC Designer The Individual Components 124 DMS 3.2 EN 02/2011 TD29  configure ENI: This button opens the first of three ENI configuration

Page 32

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 125 6.2.13 Options for project objects and shared objects regarding the

Page 33

L-force | PLC Designer The Individual Components 126 DMS 3.2 EN 02/2011 TD29  ENI-Connection TCP/IP-Address: Address of the computer where the ENI

Page 34

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 127 Check in The data base function 'Check in' means, that a ne

Page 35

L-force | PLC Designer  DMS 3.2 EN 02/2011 TD29 11 8.2.4 Configuration of Profibus Modules_________________________ 359 8.2.5 Configuration of CA

Page 36

L-force | PLC Designer The Individual Components 128 DMS 3.2 EN 02/2011 TD29  6.2.14 Options for Compile Files regarding the project data base Thi

Page 37

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 129 Cancel will close the dialog without saving the done modifications in

Page 38

L-force | PLC Designer The Individual Components 130 DMS 3.2 EN 02/2011 TD29  • The Menu field is used to define the menu entry with which the mac

Page 39

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 131 Macro libraries: Macros can be saved in external macro libraries. The

Page 40

L-force | PLC Designer The Individual Components 132 DMS 3.2 EN 02/2011 TD29  6.3.3 'File' 'Open' Symbol: With this command y

Page 41

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 133  Note! Please note, that you in any case have to give a new name to

Page 42

L-force | PLC Designer The Individual Components 134 DMS 3.2 EN 02/2011 TD29  6.3.4 'File' 'Close' With this command you close

Page 43

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 135 You can also save the current project as a library in order to use it

Page 44

L-force | PLC Designer The Individual Components 136 DMS 3.2 EN 02/2011 TD29  If an encrypted project should be opened resp. if an encrypted librar

Page 45

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 137 When the command is executed, the dialog box Save Archive opens: Dia

Page 46

L-force | PLC Designer 12 DMS 3.2 EN 02/2011 TD29  8.7.5 Taskconfiguration in Online Mode _________________________ 417 8.8 Watch and Recipe Mana

Page 47

L-force | PLC Designer The Individual Components 138 DMS 3.2 EN 02/2011 TD29  The dialog Details will open with a list of available files. Dialog

Page 48

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 139 Category Files Bitmap Files *.bmp (bitmaps for project POUs and vis

Page 49

L-force | PLC Designer The Individual Components 140 DMS 3.2 EN 02/2011 TD29  To add a Readme file to the archive zip, press the button Comment. A

Page 50

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 141 6.3.8 'File' 'Print' Shortcut: <Ctrl>+<

Page 51

L-force | PLC Designer The Individual Components 142 DMS 3.2 EN 02/2011 TD29  6.3.9 'File' 'Printer setup' With this command

Page 52

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 143 If you click on the Edit button, then the frame for setting up the pa

Page 53

L-force | PLC Designer The Individual Components 144 DMS 3.2 EN 02/2011 TD29  6.3.10 'File' 'Exit' Shortcut: <Alt>+<F

Page 54

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 145 See the listing of all available error messages and warnings. Exampl

Page 55

L-force | PLC Designer The Individual Components 146 DMS 3.2 EN 02/2011 TD29  6.3.12 'Project' 'Rebuild all' With 'Projec

Page 56

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 147 6.3.15 'Project' 'Translate into another language&apo

Page 57

L-force | PLC Designer  DMS 3.2 EN 02/2011 TD29 13 9.2.5 MOD________________________________________________ 464 9.2.6 MOVE _____________________

Page 58

L-force | PLC Designer The Individual Components 148 DMS 3.2 EN 02/2011 TD29  If there already exists a translation file which you want to process,

Page 59

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 149  Note! A maximum of 64 position specifications will be generated per

Page 60

L-force | PLC Designer The Individual Components 150 DMS 3.2 EN 02/2011 TD29  The Add button opens the 'Add Target Language' dialog: Di

Page 61

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 151 6.3.17 Editing of the translation file The translation file must be

Page 62

L-force | PLC Designer The Individual Components 152 DMS 3.2 EN 02/2011 TD29  6.3.18 Translate Project (into another Language) This command in the

Page 63

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 153 Cancel closes the dialog box without modification to the current proj

Page 64

L-force | PLC Designer The Individual Components 154 DMS 3.2 EN 02/2011 TD29  If you want to change back to viewing the project in its original lan

Page 65

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 155 Dialog box for project documentation Only those areas in the dialog

Page 66

L-force | PLC Designer The Individual Components 156 DMS 3.2 EN 02/2011 TD29  6.3.22 'Project' 'Export' With PLC Designer pro

Page 67

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 157 If the information is imported to link with a library, the library wi

Page 68

L-force | PLC Designer 14 DMS 3.2 EN 02/2011 TD29  9.8 Calling Operators... ____________________________________________ 485 9.8.1 CAL __________

Page 69

L-force | PLC Designer The Individual Components 158 DMS 3.2 EN 02/2011 TD29  The version of the reference project can be accepted for single diffe

Page 70

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 159 Compare differences: If a line, a network or an element within a POU

Page 71

L-force | PLC Designer The Individual Components 160 DMS 3.2 EN 02/2011 TD29  6.3.27 Representation of the comparison result First the structure t

Page 72

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 161 • "(Properties changed)": This text is attached to the POU

Page 73

L-force | PLC Designer The Individual Components 162 DMS 3.2 EN 02/2011 TD29  If it is not a editor POU, but the task configuration, the target set

Page 74

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 163 6.3.31 'Extras' 'Accept change' Shortcut: <Sp

Page 75

L-force | PLC Designer The Individual Components 164 DMS 3.2 EN 02/2011 TD29  6.3.33 'Extras' 'Accept properties' This command

Page 76

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 165 6.3.36 'Project' 'Project info' Under this menu

Page 77

L-force | PLC Designer The Individual Components 166 DMS 3.2 EN 02/2011 TD29  In addition, you can add the following information: • A Title of the

Page 78

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 167 The button License info will be available, if you work on a PLC Desig

Page 79 - 5 We Write a Little Program

L-force | PLC Designer  DMS 3.2 EN 02/2011 TD29 15 10.1.4 TIME_OF_DAY Constants ________________________________ 505 10.1.5 DATE_AND_TIME Constan

Page 80

L-force | PLC Designer The Individual Components 168 DMS 3.2 EN 02/2011 TD29  Message window with search result display If you double-click the mo

Page 81

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 169 6.3.40 Unused Variables This function in the 'Project' &ap

Page 82

L-force | PLC Designer The Individual Components 170 DMS 3.2 EN 02/2011 TD29  6.3.44 User groups In »PLC Designer« up to eight user groups with di

Page 83

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 171 6.3.45 'Project' 'User group passwords' With thi

Page 84

L-force | PLC Designer The Individual Components 172 DMS 3.2 EN 02/2011 TD29  6.3.46 'Project 'Data Base Link' This menu item is on

Page 85

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 173 How the status of an object resp. its handling in the data base is di

Page 86

L-force | PLC Designer The Individual Components 174 DMS 3.2 EN 02/2011 TD29  Login This command will open the dialog 'Login' where you c

Page 87

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 175 Credentials: • Insert User name and Password. • When option Use as

Page 88

L-force | PLC Designer The Individual Components 176 DMS 3.2 EN 02/2011 TD29  When executing the command the user will get a dialog 'Check out

Page 89

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 177 Show Version History Command: 'Project' 'Data Base Lin

Page 90

L-force | PLC Designer 16 DMS 3.2 EN 02/2011 TD29  12 Operators and Library Modules Overview_________________________________ 531 13 Command Line

Page 91

L-force | PLC Designer The Individual Components 178 DMS 3.2 EN 02/2011 TD29  The buttons: Close: The dialog will be closed. Display: The version

Page 92

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 179 Get All Latest Versions Command 'Project' 'Data Base L

Page 93

L-force | PLC Designer The Individual Components 180 DMS 3.2 EN 02/2011 TD29  The dialog 'History of <data base project name>' will

Page 94

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 181 Add Shared Objects Command 'Project' 'Data Base Link&a

Page 95

L-force | PLC Designer The Individual Components 182 DMS 3.2 EN 02/2011 TD29  6.4 Managing Objects in a Project... 6.4.1 Object POUs, data types

Page 96

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 183 You can create more folders with the command 'New folder'.

Page 97

L-force | PLC Designer The Individual Components 184 DMS 3.2 EN 02/2011 TD29  6.4.4 'Expand nodes' 'Collapse nodes' With the c

Page 98

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 185 Take note of the following restrictions: • The name of a POU can no

Page 99

L-force | PLC Designer The Individual Components 186 DMS 3.2 EN 02/2011 TD29  If the command 'Edit' 'Insert' is used, the objec

Page 100 - 6 The Individual Components

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 187 6.4.9 'Project' 'Object Convert' This command ca

Page 101

L-force | PLC Designer  DMS 3.2 EN 02/2011 TD29 17 19.2.6 Function Manipulators..._________________________________ 671 19.2.7 Analog Value Proce

Page 102

L-force | PLC Designer The Individual Components 188 DMS 3.2 EN 02/2011 TD29  6.4.10 'Project' 'Object Copy' With this command

Page 103

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 189 Dialog box for choosing the object to be opened 6.4.12 'Projec

Page 104

L-force | PLC Designer The Individual Components 190 DMS 3.2 EN 02/2011 TD29  Visualization: In the tab 'Visualization' you can define fo

Page 105

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 191 6.4.13 'Project' 'Object Access rights' With thi

Page 106

L-force | PLC Designer The Individual Components 192 DMS 3.2 EN 02/2011 TD29  6.4.14 'Project' 'Add Action' This command is us

Page 107 -  Note!

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 193 6.4.16 'Project' 'Show Call Tree' With this comm

Page 108

L-force | PLC Designer The Individual Components 194 DMS 3.2 EN 02/2011 TD29  If the element is used within the address range of a structure or an

Page 109

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 195 Direct call of a cross reference list out of a POU editor or a watch

Page 110

L-force | PLC Designer The Individual Components 196 DMS 3.2 EN 02/2011 TD29  If the command 'Data Base Link' in the 'Project'

Page 111

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 197 Login This command will open the dialog 'Login' where you c

Page 113

L-force | PLC Designer 18 DMS 3.2 EN 02/2011 TD29  20.4.4 'Extras' 'Select All' ______________________________________ 688 20.

Page 114

L-force | PLC Designer The Individual Components 198 DMS 3.2 EN 02/2011 TD29  Credentials: • Insert User name and Password. • When option Use as

Page 115

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 199 Check Out Command: 'Project' 'Data Base Link' &ap

Page 116

L-force | PLC Designer The Individual Components 200 DMS 3.2 EN 02/2011 TD29  Show Differences Command: 'Project' 'Data Base Link&ap

Page 117

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 201 The buttons: • Close: The dialog will be closed. • Display: The ve

Page 118 -  Stop!

L-force | PLC Designer The Individual Components 202 DMS 3.2 EN 02/2011 TD29  Get All Latest Versions Command 'Project' 'Data Base L

Page 119

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 203 Project Version History Command 'Project' 'Data Base L

Page 120

L-force | PLC Designer The Individual Components 204 DMS 3.2 EN 02/2011 TD29  Dialog 'Label project <data base project name>' Add

Page 121

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 205 Refresh Status Command 'Project' 'Data Base Link'

Page 122

L-force | PLC Designer The Individual Components 206 DMS 3.2 EN 02/2011 TD29  6.5.2 'Edit' 'Redo' Shortcut: <Ctrl>+<Y

Page 123

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 207 6.5.4 'Edit' 'Copy' Symbol: Shortcut: <Ctrl&

Page 124

L-force | PLC Designer  DMS 3.2 EN 02/2011 TD29 19 20.6.21 Scrollbar _____________________________________________ 738 20.6.22 Meter ____________

Page 125

L-force | PLC Designer The Individual Components 208 DMS 3.2 EN 02/2011 TD29  The current position can be defined differently according to the type

Page 126

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 209 6.5.7 'Edit' 'Find' Symbol: With this command y

Page 127

L-force | PLC Designer The Individual Components 210 DMS 3.2 EN 02/2011 TD29  6.5.9 'Edit' 'Replace' With this command you sea

Page 128

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 211 6.5.10 'Edit' 'Input Assistant' Shortcut: <F2

Page 129

L-force | PLC Designer The Individual Components 212 DMS 3.2 EN 02/2011 TD29  6.5.11 Unstructured Display In the left part of the window always th

Page 130

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 213 6.5.12 Structured Display If Structured display is selected, the POU

Page 131

L-force | PLC Designer The Individual Components 214 DMS 3.2 EN 02/2011 TD29  Components of structures are displayed in an analogue fashion to func

Page 132

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 215 6.5.13 'Edit''Autodeclare' Shortcut: <Shift&g

Page 133

L-force | PLC Designer The Individual Components 216 DMS 3.2 EN 02/2011 TD29  6.6.1 'Online' 'Login' Symbol: Shortcut: <Al

Page 134

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 217 If in the project options, category Desktop, the option 'Online

Page 135

L-force | PLC Designer 20 DMS 3.2 EN 02/2011 TD29  20.11 Visualizations in libraries... ______________________________________ 800 20.12 System V

Page 136

L-force | PLC Designer The Individual Components 218 DMS 3.2 EN 02/2011 TD29  Hints on Online Change • Online Change is not possible after modifi

Page 137

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 219 Online Change for a project which is running on several PLCs: If you

Page 138

L-force | PLC Designer The Individual Components 220 DMS 3.2 EN 02/2011 TD29  • Online Change on PLC1, Re-saving download information for PLC1: I

Page 139

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 221 Message: „The program has been changed. Load changes? (ONLINE CHANGE)

Page 140

L-force | PLC Designer The Individual Components 222 DMS 3.2 EN 02/2011 TD29  6.6.6 'Online' 'Stop' Symbol: Shortcut <Shif

Page 141

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 223 6.6.10 'Online' 'Toggle Breakpoint' Symbol: Sho

Page 142

L-force | PLC Designer The Individual Components 224 DMS 3.2 EN 02/2011 TD29  In order to go to the location in the editor where a certain breakpoi

Page 143

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 225 6.6.13 'Online' 'Step in' Shortcut: <F8> A

Page 144

L-force | PLC Designer The Individual Components 226 DMS 3.2 EN 02/2011 TD29  For boolean variables, the value is toggled (switched between TRUE an

Page 145

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 227 6.6.16 'Online' 'Force values' Shortcut: <F7

Page 146

L-force | PLC Designer About this Documentation  DMS 3.2 EN 02/2011 TD29 21 1 About this Documentation This documentation contains information on

Page 147

L-force | PLC Designer The Individual Components 228 DMS 3.2 EN 02/2011 TD29  6.6.17 'Online' 'Release force' Shortcut: <Sh

Page 148

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 229 If the current writelist (see 'Online' 'Write Values&a

Page 149

L-force | PLC Designer The Individual Components 230 DMS 3.2 EN 02/2011 TD29  6.6.18 'Online' 'Write/Force' Dialog' Short

Page 150

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 231 The following commands, corresponding to those in the Online menu, ar

Page 151

L-force | PLC Designer The Individual Components 232 DMS 3.2 EN 02/2011 TD29  6.6.20 'Online' 'Display Flow Control' Depending

Page 152

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 233 6.6.22 'Online' 'Communication Parameters' You

Page 153

L-force | PLC Designer The Individual Components 234 DMS 3.2 EN 02/2011 TD29  PC_local is your local PC, PC_x is another PC, which gateway addresse

Page 154

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 235 Here you can enter and/or edit the following: • The type of connecti

Page 155

L-force | PLC Designer The Individual Components 236 DMS 3.2 EN 02/2011 TD29  6.6.25 Setting up a new channel for the local gateway server You can

Page 156

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 237 In order for the newly entered gateway channel and its parameters to

Page 157

L-force | PLC Designer About this Documentation 22 DMS 3.2 EN 02/2011 TD29  1.1 Liability All information given in this documentation has been sel

Page 158

L-force | PLC Designer The Individual Components 238 DMS 3.2 EN 02/2011 TD29  6.6.26 What the communications parameters dialog on the local PC sho

Page 159

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 239 • The second category of the channels describes includes all connect

Page 160

L-force | PLC Designer The Individual Components 240 DMS 3.2 EN 02/2011 TD29  6.6.29 'Online' 'Sourcecode download' This comm

Page 161

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 241 6.6.32 'Online' 'Load file from PLC' With this c

Page 162

L-force | PLC Designer The Individual Components 242 DMS 3.2 EN 02/2011 TD29  6.7 Window set up... Under the 'Window' menu item you will

Page 163

L-force | PLC Designer The Individual Components  DMS 3.2 EN 02/2011 TD29 243 6.8 Help when you need it... 6.8.1 'Help' 'Contents&

Page 164

L-force | PLC Designer The Individual Components 244 DMS 3.2 EN 02/2011 TD29  6.8.2 Context Sensitive Help Shortcut: <F1> You can use the &l

Page 165

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 245 7 Editors in PLC Designer 7.1 This is for all Editors... 7.1.1 Compo

Page 166

L-force | PLC Designer Editors in PLC Designer 246 DMS 3.2 EN 02/2011 TD29  Example in FBD for a network comment and for a comment placed behind an

Page 167

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 247 7.1.6 Intellisense Function If the option List components is activated

Page 168

L-force | PLC Designer Lenze specifications  DMS 3.2 EN 02/2011 TD29 23 2 Lenze specifications The »PLC Designer« is based on the »CoDeSys« (Contr

Page 169

L-force | PLC Designer Editors in PLC Designer 248 DMS 3.2 EN 02/2011 TD29  7.2 Declaration Editor... 7.2.1 General The declaration editor is use

Page 170

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 249 7.2.2 Declaration Part All variables to be used only in this POU are d

Page 171

L-force | PLC Designer Editors in PLC Designer 250 DMS 3.2 EN 02/2011 TD29  7.2.3 Recommendations on the naming of identifiers Identifiers are def

Page 172

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 251 Data type lower limit upper limit Information content Prefix Commen

Page 173

L-force | PLC Designer Editors in PLC Designer 252 DMS 3.2 EN 02/2011 TD29  Examples: bySubIndex: BYTE; sFileName: STRING; udiCounter: UDINT; In ne

Page 174

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 253 For Global Variables (g) and Global Constants (gc) an additional prefix

Page 175

L-force | PLC Designer Editors in PLC Designer 254 DMS 3.2 EN 02/2011 TD29  Example: TYPE CAL_Day :( CAL_MONDAY, CAL_TUESDAY, CAL_WEDNESDAY, CAL

Page 176

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 255 7.2.4 Input Variable Between the key words VAR_INPUT and END_VAR, all

Page 177

L-force | PLC Designer Editors in PLC Designer 256 DMS 3.2 EN 02/2011 TD29  7.2.7 Local Variables Between the keywords VAR and END_VAR, all of the

Page 178

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 257 x = value will be retained - = value gets reinitialized after Online

Page 179

L-force | PLC Designer Lenze specifications 24 DMS 3.2 EN 02/2011 TD29  2.1.2 Updating the Lenze target "V5 Logic with Motion" to "

Page 180

L-force | PLC Designer Editors in PLC Designer 258 DMS 3.2 EN 02/2011 TD29  7.2.9 Constants, Typed Literals Constants are identified by the key wo

Page 181

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 259 7.2.12 Variables declaration A variables declaration has the following

Page 182

L-force | PLC Designer Editors in PLC Designer 260 DMS 3.2 EN 02/2011 TD29  7.2.13 AT Declaration If you wish to link a variable directly to a def

Page 183

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 261 7.2.16 Syntax Coloring In all editors you receive visual support in th

Page 184

L-force | PLC Designer Editors in PLC Designer 262 DMS 3.2 EN 02/2011 TD29  Examples: Shortcut Declaration A A: BOOL; A B I 2 A, B: INT := 2; ST

Page 185

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 263 Declaration of Arrays: If ARRAY is chosen as the variable type, the dia

Page 186

L-force | PLC Designer Editors in PLC Designer 264 DMS 3.2 EN 02/2011 TD29  In the Address field, you can bind the variable being declared to an IE

Page 187

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 265 Sorting the declarations: In order to sort the table entries, set the

Page 188

L-force | PLC Designer Editors in PLC Designer 266 DMS 3.2 EN 02/2011 TD29  7.2.22 Declaration Editors in Online Mode In online mode , the declara

Page 189

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 267 7.3 Pragma instructions 7.3.1 Pragmas, Overview The pragma instructio

Page 190

L-force | PLC Designer Lenze specifications  DMS 3.2 EN 02/2011 TD29 25 2.2 Lenze Function Blocks and Functions 2.2.1 The LDM_ParameterAccess_FB

Page 191

L-force | PLC Designer Editors in PLC Designer 268 DMS 3.2 EN 02/2011 TD29  Pragma {flag} for Initialization, Monitoring, Creation of symbols {fla

Page 192

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 269 Neither variable will be initialized: {flag noinit on} VAR a : INT; b :

Page 193

L-force | PLC Designer Editors in PLC Designer 270 DMS 3.2 EN 02/2011 TD29  Neither variable a nor b will be exported to the symbol file: { flag no

Page 194

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 271 Pragma {bitaccess...} for the Bitaccess This pragma can be used to get

Page 195

L-force | PLC Designer Editors in PLC Designer 272 DMS 3.2 EN 02/2011 TD29  The syntax : • The pragma instruction is enclosed in curly brackets, u

Page 196

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 273 The following entries can be generated: • Entries in parameter lists o

Page 197

L-force | PLC Designer Editors in PLC Designer 274 DMS 3.2 EN 02/2011 TD29  • Entries in parameter lists of type 'Template' via function

Page 198

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 275 For each particular array- resp. structure or function block element an

Page 199

L-force | PLC Designer Editors in PLC Designer 276 DMS 3.2 EN 02/2011 TD29  Examples: Example1a: An array variable arr_1 is declared as described

Page 200

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 277 Example 1a and 1b, Entries for an array in an instance list Example1a:

Page 201

L-force | PLC Designer Lenze specifications 26 DMS 3.2 EN 02/2011 TD29  Inputs Identifier/data type Information/possible settings bExecute BOOL Ri

Page 202

L-force | PLC Designer Editors in PLC Designer 278 DMS 3.2 EN 02/2011 TD29  Example2, Entries for structure variable in Template − via declaratio

Page 203

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 279 Example: The following entry in a VAR_CONFIG window will create entries

Page 204

L-force | PLC Designer Editors in PLC Designer 280 DMS 3.2 EN 02/2011 TD29  The variables local and in2 also should not be displayed: {library publ

Page 205

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 281 7.3.6 Pragma for nonpersistent data types Normally the following is va

Page 206

L-force | PLC Designer Editors in PLC Designer 282 DMS 3.2 EN 02/2011 TD29  7.4 The Text Editors... The text editors used for the implementation p

Page 207

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 283 7.4.2 'Insert' 'Operand'in text editors With this

Page 208

L-force | PLC Designer Editors in PLC Designer 284 DMS 3.2 EN 02/2011 TD29  7.4.5 Calling POUs with output parameters in text editors The output p

Page 209

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 285 7.4.6 The text editors in Online mode The online functions in the edit

Page 210

L-force | PLC Designer Editors in PLC Designer 286 DMS 3.2 EN 02/2011 TD29  7.4.8 Breakpoint Positions in Text Editor Breakpoint positions include

Page 211

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 287 7.4.9 How do you set a breakpoint? In order to set a breakpoint, click

Page 212

L-force | PLC Designer Lenze specifications  DMS 3.2 EN 02/2011 TD29 27 Outputs Identifier/data type Value/meaning bDone BOOL TRUE if operation ha

Page 213

L-force | PLC Designer Editors in PLC Designer 288 DMS 3.2 EN 02/2011 TD29  7.4.13 The Instruction List Editor... This is how a POU written in the

Page 214

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 289 7.4.14 The Editor for Structured Text... This is how a POU written in

Page 215

L-force | PLC Designer Editors in PLC Designer 290 DMS 3.2 EN 02/2011 TD29  7.5 The Graphic Editors... The editors of the graphically oriented lan

Page 216

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 291 7.5.3 Label Each network has a label that can optionally be left empty

Page 217

L-force | PLC Designer Editors in PLC Designer 292 DMS 3.2 EN 02/2011 TD29  Alternative Look & Feel: The following options allow to define an a

Page 218

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 293 Set Contact Comment to Symbol Comment: If this option is activated, in

Page 219

L-force | PLC Designer Editors in PLC Designer 294 DMS 3.2 EN 02/2011 TD29  7.5.5 'Insert' 'Network (after)' or 'Insert&a

Page 220

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 295 7.5.7 The Function Block Diagram Editor... This is how a POU written i

Page 221

L-force | PLC Designer Editors in PLC Designer 296 DMS 3.2 EN 02/2011 TD29  Cursor positions in FBD Every text is a possible cursor position. The s

Page 222

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 297 • The lined cross directly in front of an assignment: How to set the

Page 223

L-force | PLC Designer  DMS 3.2 EN 02/2011 TD29 1 Contents 1 About this Documentation ____________________________________________ 21 1.1 Liabili

Page 224

L-force | PLC Designer Lenze specifications 28 DMS 3.2 EN 02/2011 TD29  Error messages from the function block Error number Meaning 507 Incorrect

Page 225

L-force | PLC Designer Editors in PLC Designer 298 DMS 3.2 EN 02/2011 TD29  'Insert' 'Jump' in FBD Symbol: Shortcut: <Ctrl

Page 226

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 299 The newest POU is inserted at the selected position: • If an input is

Page 227

L-force | PLC Designer Editors in PLC Designer 300 DMS 3.2 EN 02/2011 TD29  'Insert' 'Input' Symbol: Shortcut: <Ctrl>+&l

Page 228

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 301 'Extras' 'Negate Symbol: Shortcut: <Ctrl>+<N&g

Page 229

L-force | PLC Designer Editors in PLC Designer 302 DMS 3.2 EN 02/2011 TD29  Open instance This command corresponds to the 'Project' &apos

Page 230

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 303 In each case, the last element pasted is connected to the branch locate

Page 231

L-force | PLC Designer Editors in PLC Designer 304 DMS 3.2 EN 02/2011 TD29  7.5.8 The Ladder Editor... This is how a POU written in the LD appears

Page 232

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 305 Cursor Positions in the LD Editors The following locations can be curso

Page 233

L-force | PLC Designer Editors in PLC Designer 306 DMS 3.2 EN 02/2011 TD29  The Ladder Diagram uses the following menu commands in a special way: M

Page 234

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 307 'Insert' 'Contact' in LD Symbol: Shortcut: <Ctr

Page 235

L-force | PLC Designer Lenze specifications  DMS 3.2 EN 02/2011 TD29 29 2.3 CANopen / PROFIBUS / EtherCAT The "CANopen control technology&quo

Page 236

L-force | PLC Designer Editors in PLC Designer 308 DMS 3.2 EN 02/2011 TD29  'Insert' 'Parallel Contact' in LD Symbol: Shortc

Page 237

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 309 'Insert' ''Set' coil' in LD Symbol: S

Page 238

L-force | PLC Designer Editors in PLC Designer 310 DMS 3.2 EN 02/2011 TD29  If a POU has been created once already with EN input, then this POU can

Page 239

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 311 'Insert' 'Falling edge detection' in LD Symbol: Th

Page 240

L-force | PLC Designer Editors in PLC Designer 312 DMS 3.2 EN 02/2011 TD29  'Extras' 'Paste below'in LD Use this command in the

Page 241

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 313 The Ladder Diagram in the Online Mode In Online mode, the contacts and

Page 242

L-force | PLC Designer Editors in PLC Designer 314 DMS 3.2 EN 02/2011 TD29  For information about the Sequential Function Chart see Chapter 'S

Page 243

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 315 Delete Step and Transition A step can only be deleted together with the

Page 244

L-force | PLC Designer Editors in PLC Designer 316 DMS 3.2 EN 02/2011 TD29  'Insert' 'Jump' 'This command inserts a jump

Page 245

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 317 'Extras' 'Add label to parallel branch' In order to

Page 246

L-force | PLC Designer Lenze specifications 30 DMS 3.2 EN 02/2011 TD29  Code in the PLC Designer: MyTaskInfo (bReset := FALSE, bBeginCycle := TRUE,

Page 247 - 7 Editors in PLC Designer

L-force | PLC Designer Editors in PLC Designer 318 DMS 3.2 EN 02/2011 TD29  'Extras' 'Zoom Action/Transition' Shortcut: <Al

Page 248

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 319 'Extras' 'Step Attributes' With this command you c

Page 249

L-force | PLC Designer Editors in PLC Designer 320 DMS 3.2 EN 02/2011 TD29  If the maximum time is exceeded, SFC flags are set which the user can q

Page 250

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 321 In the example, steps 2 and 6 have a time boundary. Shift1 lasts at lea

Page 251

L-force | PLC Designer Editors in PLC Designer 322 DMS 3.2 EN 02/2011 TD29  'Extras' 'Associate Action' With this command actio

Page 252

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 323 If several steps are active in a parallel branch, then the active step

Page 253

L-force | PLC Designer Editors in PLC Designer 324 DMS 3.2 EN 02/2011 TD29  If you rest the mouse cursor for a short time on a variable in the decl

Page 254

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 325  Note! If you rename a step and perform an Online Change while this st

Page 255

L-force | PLC Designer Editors in PLC Designer 326 DMS 3.2 EN 02/2011 TD29   Note! In monitoring expressions (e.g. A AND B) in transitions, only t

Page 256

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 327 Cursor positions in the CFC Each text is a possible cursor position. Th

Page 257

L-force | PLC Designer A Brief Introduction to PLC Designer  DMS 3.2 EN 02/2011 TD29 31 3 A Brief Introduction to PLC Designer 3.1 What is »PLC D

Page 258

L-force | PLC Designer Editors in PLC Designer 328 DMS 3.2 EN 02/2011 TD29  • Outputs for the elements box and input: 'Insert' 'Bo

Page 259

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 329 'Insert' 'Label' in CFC Symbol: Shortcut: <Ctr

Page 260

L-force | PLC Designer Editors in PLC Designer 330 DMS 3.2 EN 02/2011 TD29  'Extras' 'Negate' in CFC Symbol: Shortcut: <Ct

Page 261

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 331 'Extras' 'EN/ENO' in CFC Symbol: Shortcut: <Ct

Page 262

L-force | PLC Designer Editors in PLC Designer 332 DMS 3.2 EN 02/2011 TD29  'Extras' 'Properties...' in CFC Constant input par

Page 263

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 333 Moving elements in CFC One or more selected elements can be moved with

Page 264

L-force | PLC Designer Editors in PLC Designer 334 DMS 3.2 EN 02/2011 TD29  The output and input of a block can be connected together (feedback pat

Page 265

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 335 Changing connections A connection between the output of an element E1 a

Page 266

L-force | PLC Designer Editors in PLC Designer 336 DMS 3.2 EN 02/2011 TD29  'Extras' 'Order' 'Show Order' This comman

Page 267

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 337 The new order of execution which arises is: When a newly generated blo

Page 268

L-force | PLC Designer A Brief Introduction to PLC Designer 32 DMS 3.2 EN 02/2011 TD29  3.2.3 How can I test my project? Once all errors have been

Page 269

L-force | PLC Designer Editors in PLC Designer 338 DMS 3.2 EN 02/2011 TD29  The diagram below shows elements which have been ordered topographicall

Page 270

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 339 When this command is selected the first thing to happen is that the ele

Page 271

L-force | PLC Designer Editors in PLC Designer 340 DMS 3.2 EN 02/2011 TD29  Example: Selection Macro: In the editor: '

Page 272

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 341 Extras' 'Jump into Macro' Symbol: By this command, or b

Page 273

L-force | PLC Designer Editors in PLC Designer 342 DMS 3.2 EN 02/2011 TD29  Feedback paths in CFC Feedback paths can only be displayed directly in

Page 274

L-force | PLC Designer Editors in PLC Designer  DMS 3.2 EN 02/2011 TD29 343 CFC in Online mode Monitoring: The values for inputs and outputs are d

Page 275

L-force | PLC Designer Editors in PLC Designer 344 DMS 3.2 EN 02/2011 TD29  Breakpoints: Breakpoint s can be set on all elements that also have a p

Page 276

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 345 8 The Resources 8.1 Overview of the Resources In the Resources register card of

Page 277

L-force | PLC Designer The Resources 346 DMS 3.2 EN 02/2011 TD29  Resources tab in »PLC Designer« 8.2 PLC Configuration... The PLC Configuration

Page 278

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 347  Stop! As soon as the underlying configuration file (*.cfg) has been modified, y

Page 279

L-force | PLC Designer A Brief Introduction to PLC Designer  DMS 3.2 EN 02/2011 TD29 33 3.2.6 Additional PLC Designer Features The entire project

Page 280

L-force | PLC Designer The Resources 348 DMS 3.2 EN 02/2011 TD29  After the final customization by the user a binary image of the configuration is

Page 281

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 349 8.2.1 Working in the PLC Configuration... The configuration editor is divided up

Page 282

L-force | PLC Designer The Resources 350 DMS 3.2 EN 02/2011 TD29  Insert elements, 'Insert' 'Insert element', 'Insert&apos

Page 283

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 351 General Settings in the PLC Configuration Select the entry 'PLC configuratio

Page 284

L-force | PLC Designer The Resources 352 DMS 3.2 EN 02/2011 TD29  Recalculation of Module addresses, 'Extras' 'Calculate addresses&a

Page 285

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 353 You can select Yes or No. If you close the dialog with Yes, the configuration edi

Page 286

L-force | PLC Designer The Resources 354 DMS 3.2 EN 02/2011 TD29  Export/Import of modules If a module is defined as being "exportable" i

Page 287

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 355 Input address, Output address, Diagnostic address: Addresses for Input- and Outpu

Page 288

L-force | PLC Designer The Resources 356 DMS 3.2 EN 02/2011 TD29  See in the following the input and output parameters of the function block DiagGe

Page 289

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 357 The module – except for BusMemberID – uses the same input and output parameters.

Page 290

L-force | PLC Designer What is What in PLC Designer 34 DMS 3.2 EN 02/2011 TD29  4 What is What in PLC Designer 4.1 Project Components... 4.1.1 P

Page 291

L-force | PLC Designer The Resources 358 DMS 3.2 EN 02/2011 TD29  Value : Value of the parameter, editable Initially the default is displayed. Valu

Page 292

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 359 Default identifier: Symbolic name of the channel The name of the channel is defin

Page 293

L-force | PLC Designer The Resources 360 DMS 3.2 EN 02/2011 TD29  If a DP master is selected in the configuration tree, the following dialogs will

Page 294

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 361 DP parameters of the DP master This dialog shows the following parameters extract

Page 295

L-force | PLC Designer The Resources 362 DMS 3.2 EN 02/2011 TD29  The Groups button leads to the 'Group properties' dialog. The Group pro

Page 296

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 363 Bus parameters of the DP master The bus parameters describe the timing of the com

Page 297

L-force | PLC Designer The Resources 364 DMS 3.2 EN 02/2011 TD29  All parameters can also be edited manually. Baud rate The entries already presen

Page 298

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 365 DP parameters of a DP slave This dialog shows the following parameters extracted

Page 299

L-force | PLC Designer The Resources 366 DMS 3.2 EN 02/2011 TD29  Identification Station address (see 'Properties of the DP masters'), S

Page 300

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 367 The selection of the module for a modular slave is done like described in the fol

Page 301

L-force | PLC Designer What is What in PLC Designer  DMS 3.2 EN 02/2011 TD29 35 Example of a function Fct in IL, in which three input variables are

Page 302

L-force | PLC Designer The Resources 368 DMS 3.2 EN 02/2011 TD29  Module properties dialog for in-/outputs of a DP slave User parameters of a DP s

Page 303

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 369 If symbolic names are also specified for the parameters in the GSD-file, the Symb

Page 304

L-force | PLC Designer The Resources 370 DMS 3.2 EN 02/2011 TD29  Module parameters of a DP slave The module parameters dialog of a DP slave matche

Page 305

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 371 The following pages describe the dialogs and menu commands of the CANopen configu

Page 306

L-force | PLC Designer The Resources 372 DMS 3.2 EN 02/2011 TD29  The properties for transmission on the CAN bus can be set directly after the inse

Page 307

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 373 If the option Support DSP301,V3.01 and DSP306 is activated, then modular CAN Slav

Page 308

L-force | PLC Designer The Resources 374 DMS 3.2 EN 02/2011 TD29  Base parameters of a CAN module The Base parameters dialog of a CAN module matche

Page 309

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 375 Section General: The Node-Id serves to identify the CAN module uniquely and corre

Page 310

L-force | PLC Designer The Resources 376 DMS 3.2 EN 02/2011 TD29  Section Node guard Settings: (alternatively to guarding by the Heartbeat mechanis

Page 311

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 377 PDO mapping of a CAN module The tabs Receive PDO mapping and Send PDO mapping in

Page 312

L-force | PLC Designer What is What in PLC Designer 36 DMS 3.2 EN 02/2011 TD29  Examples for calling the above described function Fct: in IL: LD 7

Page 313

L-force | PLC Designer The Resources 378 DMS 3.2 EN 02/2011 TD29  PDO Properties dialog Each PDO message requires a unique COB-Id (Communication O

Page 314

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 379 Event-Time: If an corresponding transmission type is set, enter here in milliseco

Page 315

L-force | PLC Designer The Resources 380 DMS 3.2 EN 02/2011 TD29  8.2.6 PLC Configuration in Online Mode In online mode the PLC configuration disp

Page 316

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 381 Example of an Alarm configuration Open by a mouse-click on the plus sign at the

Page 317

L-force | PLC Designer The Resources 382 DMS 3.2 EN 02/2011 TD29  • Acknowledgement of alarms: The main purpose of alarms is to inform the user on

Page 318

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 383 8.3.3 Alarm classes Alarm classes are used for the general description of certai

Page 319

L-force | PLC Designer The Resources 384 DMS 3.2 EN 02/2011 TD29  The following acknowledgements are available: • NO_ACK: No acknowledgement of

Page 320

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 385 The following action types (Possible actions) are supported (for a definition of

Page 321

L-force | PLC Designer The Resources 386 DMS 3.2 EN 02/2011 TD29  Definition of the message text: For action types 'Message', 'Prin

Page 322

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 387 Furtheron when defining the alarm in the alarm group enter in column 'Messag

Page 323

L-force | PLC Designer What is What in PLC Designer  DMS 3.2 EN 02/2011 TD29 37 4.1.4 Function Block A function block is a POU which provides one

Page 324

L-force | PLC Designer The Resources 388 DMS 3.2 EN 02/2011 TD29  8.3.4 Alarm groups Alarm groups are used for organizing the available alarms. Ea

Page 325

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 389 Type: The alarm types listed in the following can be used. For each type regard t

Page 326

L-force | PLC Designer The Resources 390 DMS 3.2 EN 02/2011 TD29  Deactivation: Here a project variable can be entered, which at a rising edge will

Page 327

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 391 The log-file (History) contains the following entries: (See the column types and

Page 328

L-force | PLC Designer The Resources 392 DMS 3.2 EN 02/2011 TD29  Alternatively you can define dynamic language switching by specifying a special l

Page 329

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 393 8.4.3 Global Variables... What are Global Variables „Normal" variables, con

Page 330

L-force | PLC Designer The Resources 394 DMS 3.2 EN 02/2011 TD29  Create a Global Variable List To create a Global Variable List, open the register

Page 331

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 395 Link to file: Filename: If you have an export file (*.exp) or a DCF file, which c

Page 332

L-force | PLC Designer The Resources 396 DMS 3.2 EN 02/2011 TD29  Settings: This button opens the dialog Settings for <networktype> with the

Page 333

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 397 The following options can be activated or deactivated in configuring the transmis

Page 334

L-force | PLC Designer 2 DMS 3.2 EN 02/2011 TD29  4.1.5 Function Block Instances __________________________________ 38 4.1.6 Calling a function b

Page 335

L-force | PLC Designer What is What in PLC Designer 38 DMS 3.2 EN 02/2011 TD29  4.1.5 Function Block Instances Reproductions or instances (copies)

Page 336

L-force | PLC Designer The Resources 398 DMS 3.2 EN 02/2011 TD29  Transmit on change: Variables are written only when their values change; an entr

Page 337

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 399 Example of a network variables list which was created by linking of an export fil

Page 338

L-force | PLC Designer The Resources 400 DMS 3.2 EN 02/2011 TD29  For the combination of retain and persistent properties both keywords are used:

Page 339

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 401 The name of such a variable consists of a complete instance path through which th

Page 340

L-force | PLC Designer The Resources 402 DMS 3.2 EN 02/2011 TD29  8.4.5 Document Frame... If a project is to receive multiple documentations, perh

Page 341

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 403 'Extras' 'Link Docu File' With this command you can select a

Page 342

L-force | PLC Designer The Resources 404 DMS 3.2 EN 02/2011 TD29  8.5.1 Using the Library Manager The window of the library manager is divided int

Page 343

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 405 If you have implemented POUs in other programming languages, e.g. C, and want to

Page 344

L-force | PLC Designer The Resources 406 DMS 3.2 EN 02/2011 TD29  When re-opening the project the libraries will be searched according to entries i

Page 345

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 407 8.6.1 'Window' 'Log' To open, select the menu item 'Win

Page 346

L-force | PLC Designer What is What in PLC Designer  DMS 3.2 EN 02/2011 TD29 39 The declaration parts of function blocks and programs can contain i

Page 347 - 8 The Resources

L-force | PLC Designer The Resources 408 DMS 3.2 EN 02/2011 TD29  Category: The category to which the particular log entry belongs. The following f

Page 348

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 409 Save… This menu item can only be selected if the project log is currently display

Page 349

L-force | PLC Designer The Resources 410 DMS 3.2 EN 02/2011 TD29  8.7 Task Configuration... 8.7.1 Overview In addition to declaring the special P

Page 350

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 411 In the left part of the window the tasks are represented in a configuration tree.

Page 351

L-force | PLC Designer The Resources 412 DMS 3.2 EN 02/2011 TD29  A task name or program name can also get edited in the configuration tree. For th

Page 352

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 413 Insert the desired attributes: Name: a name for the task; with this name the tas

Page 353

L-force | PLC Designer The Resources 414 DMS 3.2 EN 02/2011 TD29  For example: If the target system defines %MX1.1 and %IB4 as Singleton-Events, us

Page 354

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 415 Manufacturer specific attributes: Additionally to these standard attributes for t

Page 355

L-force | PLC Designer The Resources 416 DMS 3.2 EN 02/2011 TD29  8.7.3 System Events Instead of a "task" also a "system event"

Page 356

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 417 In order to get a new POU (function) created in the project, press button Create

Page 357

L-force | PLC Designer What is What in PLC Designer 40 DMS 3.2 EN 02/2011 TD29  InOutVariables at call: Please regard, that the InOutVariables (VAR

Page 358

L-force | PLC Designer The Resources 418 DMS 3.2 EN 02/2011 TD29  The possible stati: Idle has not been started since last update; especially use

Page 359

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 419 The button Reset can be used to set back the values of Min., Max. and Jitter to 0

Page 360

L-force | PLC Designer The Resources 420 DMS 3.2 EN 02/2011 TD29  8.8 Watch and Recipe Manager 8.8.1 Overview Function In the Watch and Recipe M

Page 361

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 421 Watch list in tabular view name: Here a variable identifier according to the

Page 362

L-force | PLC Designer The Resources 422 DMS 3.2 EN 02/2011 TD29  1-Window-Editor: There is only one bipartite editor window, in the left part of

Page 363

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 423 8.8.2 Creating Watch Lists, Recipes By default in each project an empty watch li

Page 364

L-force | PLC Designer The Resources 424 DMS 3.2 EN 02/2011 TD29  1-Window-Editor: For entering variables in a watch list, the list must be select

Page 365

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 425 If a function block fb contains the variables x,y and an instance variable fb_ins

Page 366

L-force | PLC Designer The Resources 426 DMS 3.2 EN 02/2011 TD29  Notes on the element selection in the POU editors: Basically particular variables

Page 367

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 427 'Extras' 'Rename Watch List' This command will only be availa

Page 368

L-force | PLC Designer What is What in PLC Designer  DMS 3.2 EN 02/2011 TD29 41 Implementation part: LD iPar1 MUL iPar2 ST iMulErg LD iPar1 EQ iPar

Page 369

L-force | PLC Designer The Resources 428 DMS 3.2 EN 02/2011 TD29  8.8.3 Watch and Recipe Manager in the Online Mode Watch list "Standard&quo

Page 370

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 429 The monitorin view in the 1-Window-Editor view can be deactivated and re-activate

Page 371

L-force | PLC Designer The Resources 430 DMS 3.2 EN 02/2011 TD29  8.9 Workspace This object in the 'Resources' tab provides an image of

Page 372

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 431 The files which get installed with a TSP are read when »PLC Designer« is started.

Page 373

L-force | PLC Designer The Resources 432 DMS 3.2 EN 02/2011 TD29  8.11 Target Settings - Parameter Manager The Parameter Manager is a a target spe

Page 374

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 433 It depends on the definitions in a target specific description file which attribu

Page 375

L-force | PLC Designer The Resources 434 DMS 3.2 EN 02/2011 TD29  8.11.1 Activating the Parameter Manager The Parameter Manager must be activated

Page 376

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 435 8.11.2 The Parameter Manager Editor... In the Resources tab choose the object &a

Page 377

L-force | PLC Designer The Resources 436 DMS 3.2 EN 02/2011 TD29  You can jump between navigation window and table editor by pressing <F6>. 

Page 378

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 437 Each list type will be displayed in the Parameter Manager Editor according to the

Page 379

L-force | PLC Designer What is What in PLC Designer 42 DMS 3.2 EN 02/2011 TD29  Calling FUB in FBD (Declaration part as shown above for IL): In SF

Page 380

L-force | PLC Designer The Resources 438 DMS 3.2 EN 02/2011 TD29  Creating an Instance parameter list: Edit a Template from the selection list bel

Page 381

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 439  Note! Parameter lists also can be created resp. filled with entries via pragmas

Page 382

L-force | PLC Designer The Resources 440 DMS 3.2 EN 02/2011 TD29  Insert a Name for the new parameter list (must be unique within the list type) an

Page 383

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 441 Delete list Shortcut: <Del> The list currently selected in the navigation w

Page 384

L-force | PLC Designer The Resources 442 DMS 3.2 EN 02/2011 TD29  Editing attribute values: If a new line for a parameter entry is inserted, the at

Page 385

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 443 8.11.3 Parameter Manager in Online Mode List transfer between Editor and Control

Page 386

L-force | PLC Designer The Resources 444 DMS 3.2 EN 02/2011 TD29  The command Format Dec/Hex is also available to toggles the input format between

Page 387

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 445 8.12 Target Settings - The Sampling Trace 8.12.1 Overview and Configuration Sam

Page 388

L-force | PLC Designer The Resources 446 DMS 3.2 EN 02/2011 TD29  'Extras' 'Trace Configuration' With this command you will be

Page 389

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 447 The list of the Variables to be traced is initially empty. In order to append a v

Page 390

L-force | PLC Designer What is What in PLC Designer  DMS 3.2 EN 02/2011 TD29 43 These changes therefore play a role only when the same instance is

Page 391

L-force | PLC Designer The Resources 448 DMS 3.2 EN 02/2011 TD29   Note! Please note that Save and Load in the configuration dialog only relates t

Page 392

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 449 'Extras' 'Stop Trace' Symbol: This command stops the Samplin

Page 393

L-force | PLC Designer The Resources 450 DMS 3.2 EN 02/2011 TD29  If the trigger requirement is met, then a vertical dotted line is displayed at th

Page 394

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 451 The channel and the former value are preset. Dialog Box for Setting the Y Scale

Page 395

L-force | PLC Designer The Resources 452 DMS 3.2 EN 02/2011 TD29  'Save Values' With this command you can save a Sampling Trace (values +

Page 396

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 453 In the subsequent columns, the corresponding values of the trace variables are sa

Page 397

L-force | PLC Designer The Resources 454 DMS 3.2 EN 02/2011 TD29  A *.mon-file can be created by using command 'Save to file'.  Note! Re

Page 398

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 455 8.13.1 General remarks concerning PLC-Browser operation Select the entry PLC-Bro

Page 399

L-force | PLC Designer The Resources 456 DMS 3.2 EN 02/2011 TD29  8.13.2 Command entry in the PLC-Browser Basically the PLC-Browser makes availabl

Page 400

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 457 The following commands are firmly integrated in the run-time system and contained

Page 401

L-force | PLC Designer What is What in PLC Designer 44 DMS 3.2 EN 02/2011 TD29  Example for a possible call sequence for PLC_PRG: See the program

Page 402

L-force | PLC Designer The Resources 458 DMS 3.2 EN 02/2011 TD29  Command Description setpwd Set password on controller; Syntax: setpwd <passw

Page 403

L-force | PLC Designer The Resources  DMS 3.2 EN 02/2011 TD29 459 Example: Entry in command line: (memory dump of the variable .testit ?) mem %V.t

Page 404

L-force | PLC Designer IEC Operators and additional norm extending functions 460 DMS 3.2 EN 02/2011 TD29  9 IEC Operators and additional norm exte

Page 405

L-force | PLC Designer IEC Operators and additional norm extending functions  DMS 3.2 EN 02/2011 TD29 461 9.2 Arithmetic Operators... 9.2.1 ADD P

Page 406

L-force | PLC Designer IEC Operators and additional norm extending functions 462 DMS 3.2 EN 02/2011 TD29  Example in FBD: 9.2.3 SUB PLC Designer

Page 407

L-force | PLC Designer IEC Operators and additional norm extending functions  DMS 3.2 EN 02/2011 TD29 463 9.2.4 DIV PLC Designer IEC operator: Div

Page 408

L-force | PLC Designer IEC Operators and additional norm extending functions 464 DMS 3.2 EN 02/2011 TD29  9.2.5 MOD PLC Designer IEC operator: Mod

Page 409

L-force | PLC Designer IEC Operators and additional norm extending functions  DMS 3.2 EN 02/2011 TD29 465 ( ! you get the same result with: LD ivar

Page 410

L-force | PLC Designer IEC Operators and additional norm extending functions 466 DMS 3.2 EN 02/2011 TD29  9.3 Bitstring Operators... 9.3.1 AND PL

Page 411

L-force | PLC Designer IEC Operators and additional norm extending functions  DMS 3.2 EN 02/2011 TD29 467 9.3.2 OR PLC Designer IEC operator: Bitw

Page 412

L-force | PLC Designer What is What in PLC Designer  DMS 3.2 EN 02/2011 TD29 45 4.1.9 Action Actions can be defined and assigned to function block

Page 413

L-force | PLC Designer IEC Operators and additional norm extending functions 468 DMS 3.2 EN 02/2011 TD29  9.3.3 XOR PLC Designer IEC operator: Bit

Page 414

L-force | PLC Designer IEC Operators and additional norm extending functions  DMS 3.2 EN 02/2011 TD29 469 Example in ST: Var1 := NOT 2#1001_0011 Ex

Page 415

L-force | PLC Designer IEC Operators and additional norm extending functions 470 DMS 3.2 EN 02/2011 TD29  Example in ST: PROGRAM shl_st VAR in_byt

Page 416

L-force | PLC Designer IEC Operators and additional norm extending functions  DMS 3.2 EN 02/2011 TD29 471 Example in ST: PROGRAM shr_st VAR in_byt

Page 417

L-force | PLC Designer IEC Operators and additional norm extending functions 472 DMS 3.2 EN 02/2011 TD29  Example in ST: PROGRAM rol_st VAR in_byt

Page 418

L-force | PLC Designer IEC Operators and additional norm extending functions  DMS 3.2 EN 02/2011 TD29 473 Example in ST: PROGRAM ror_st VAR in_byt

Page 419

L-force | PLC Designer IEC Operators and additional norm extending functions 474 DMS 3.2 EN 02/2011 TD29  9.5 Selection Operators All selection op

Page 420

L-force | PLC Designer IEC Operators and additional norm extending functions  DMS 3.2 EN 02/2011 TD29 475 Example in FBD:  Note! Note that an exp

Page 421

L-force | PLC Designer IEC Operators and additional norm extending functions 476 DMS 3.2 EN 02/2011 TD29  9.5.3 MIN PLC Designer IEC operator: Min

Page 422

L-force | PLC Designer IEC Operators and additional norm extending functions  DMS 3.2 EN 02/2011 TD29 477 Example in IL: LD 90 LIMIT 30,80 ST Var1

Page 423

L-force | PLC Designer What is What in PLC Designer 46 DMS 3.2 EN 02/2011 TD29  Examples for calls of the above described action from another POU:

Page 424

L-force | PLC Designer IEC Operators and additional norm extending functions 478 DMS 3.2 EN 02/2011 TD29  Example in ST: Var1:=MUX(0,30,40,50,60,70

Page 425

L-force | PLC Designer IEC Operators and additional norm extending functions  DMS 3.2 EN 02/2011 TD29 479 9.6.2 LT PLC Designer IEC operator: Less

Page 426

L-force | PLC Designer IEC Operators and additional norm extending functions 480 DMS 3.2 EN 02/2011 TD29  Example in FBD: 9.6.4 GE PLC Designer I

Page 427

L-force | PLC Designer IEC Operators and additional norm extending functions  DMS 3.2 EN 02/2011 TD29 481 9.6.5 EQ PLC Designer IEC operator: Equa

Page 428

L-force | PLC Designer IEC Operators and additional norm extending functions 482 DMS 3.2 EN 02/2011 TD29  Example in FBD: 9.7 Address Operators.

Page 429

L-force | PLC Designer IEC Operators and additional norm extending functions  DMS 3.2 EN 02/2011 TD29 483 9.7.2 ADRINST PLC Designer operator: Add

Page 430

L-force | PLC Designer IEC Operators and additional norm extending functions 484 DMS 3.2 EN 02/2011 TD29  Example in IL: LD Var1 BITADR ST Var2  S

Page 431

L-force | PLC Designer IEC Operators and additional norm extending functions  DMS 3.2 EN 02/2011 TD29 485 9.8 Calling Operators... 9.8.1 CAL PLC

Page 432

L-force | PLC Designer IEC Operators and additional norm extending functions 486 DMS 3.2 EN 02/2011 TD29  9.9.2 BOOL_TO Conversions Conversion fro

Page 433

L-force | PLC Designer IEC Operators and additional norm extending functions  DMS 3.2 EN 02/2011 TD29 487 Examples in FUP: (*Result is 1 *) (*Res

Page 434

L-force | PLC Designer What is What in PLC Designer  DMS 3.2 EN 02/2011 TD29 47 4.1.10 Resources You need the resources for configuring and organi

Page 435

L-force | PLC Designer IEC Operators and additional norm extending functions 488 DMS 3.2 EN 02/2011 TD29  9.9.3 TO_BOOL Conversions Conversion fro

Page 436

L-force | PLC Designer IEC Operators and additional norm extending functions  DMS 3.2 EN 02/2011 TD29 489 9.9.4 Conversion between Integral Number

Page 437

L-force | PLC Designer IEC Operators and additional norm extending functions 490 DMS 3.2 EN 02/2011 TD29  9.9.5 REAL_TO-/ LREAL_TO Conversions Co

Page 438

L-force | PLC Designer IEC Operators and additional norm extending functions  DMS 3.2 EN 02/2011 TD29 491 9.9.6 TIME_TO/TIME_OF_DAY Conversions Co

Page 439

L-force | PLC Designer IEC Operators and additional norm extending functions 492 DMS 3.2 EN 02/2011 TD29  9.9.7 DATE_TO/DT_TO Conversions Converti

Page 440

L-force | PLC Designer IEC Operators and additional norm extending functions  DMS 3.2 EN 02/2011 TD29 493 Examples in FBD:

Page 441

L-force | PLC Designer IEC Operators and additional norm extending functions 494 DMS 3.2 EN 02/2011 TD29  9.9.8 STRING_TO Conversions Converting f

Page 442

L-force | PLC Designer IEC Operators and additional norm extending functions  DMS 3.2 EN 02/2011 TD29 495 9.9.9 TRUNC PLC Designer IEC operator: C

Page 443

L-force | PLC Designer IEC Operators and additional norm extending functions 496 DMS 3.2 EN 02/2011 TD29  9.10 Numeric Operators... 9.10.1 ABS »P

Page 444

L-force | PLC Designer IEC Operators and additional norm extending functions  DMS 3.2 EN 02/2011 TD29 497 9.10.2 SQRT PLC Designer IEC operator: R

Page 445

L-force | PLC Designer  DMS 3.2 EN 02/2011 TD29 3 5.1.4 What does WAIT do? ____________________________________ 77 5.1.5 What does SEQUENCE do? _

Page 446

L-force | PLC Designer What is What in PLC Designer 48 DMS 3.2 EN 02/2011 TD29  4.1.12 Data types Along with the standard data types the user can

Page 447

L-force | PLC Designer IEC Operators and additional norm extending functions 498 DMS 3.2 EN 02/2011 TD29  9.10.4 LOG PLC Designer IEC operator: Re

Page 448

L-force | PLC Designer IEC Operators and additional norm extending functions  DMS 3.2 EN 02/2011 TD29 499 9.10.6 SIN PLC Designer IEC operator: Re

Page 449

L-force | PLC Designer IEC Operators and additional norm extending functions 500 DMS 3.2 EN 02/2011 TD29  9.10.8 TAN PLC Designer IEC operator: Re

Page 450

L-force | PLC Designer IEC Operators and additional norm extending functions  DMS 3.2 EN 02/2011 TD29 501 9.10.10 ACOS »PLC Designer« IEC operator

Page 451

L-force | PLC Designer IEC Operators and additional norm extending functions 502 DMS 3.2 EN 02/2011 TD29  9.10.12 EXPT PLC Designer IEC operator:

Page 452

L-force | PLC Designer IEC Operators and additional norm extending functions  DMS 3.2 EN 02/2011 TD29 503 9.11 Initialization Operator 9.11.1 INI

Page 453

L-force | PLC Designer Operands in PLC Designer 504 DMS 3.2 EN 02/2011 TD29  10 Operands in PLC Designer In »PLC Designer« Constants, variables, a

Page 454

L-force | PLC Designer Operands in PLC Designer  DMS 3.2 EN 02/2011 TD29 505 10.1.3 DATE Constants These constants can be used to enter dates. A D

Page 455

L-force | PLC Designer Operands in PLC Designer 506 DMS 3.2 EN 02/2011 TD29  10.1.6 Number Constants Number values can appear as binary numbers, o

Page 456

L-force | PLC Designer Operands in PLC Designer  DMS 3.2 EN 02/2011 TD29 507 10.1.8 STRING Constants A string is a sequence of characters. STRING

Page 457

L-force | PLC Designer What is What in PLC Designer  DMS 3.2 EN 02/2011 TD29 49 4.2.1 Instruction List (IL)... An instruction list (IL) consists o

Page 458

L-force | PLC Designer Operands in PLC Designer 508 DMS 3.2 EN 02/2011 TD29  10.1.9 Typed Literals Basically, in using IEC constants, the smallest

Page 459

L-force | PLC Designer Operands in PLC Designer  DMS 3.2 EN 02/2011 TD29 509 10.2 Variables Variables can be declared either locally in the declar

Page 460

L-force | PLC Designer Operands in PLC Designer 510 DMS 3.2 EN 02/2011 TD29  10.2.3 Addressing bits in variables In integer variables individual b

Page 461

L-force | PLC Designer Operands in PLC Designer  DMS 3.2 EN 02/2011 TD29 511 See in the following examples for such a bitaccess on a variable resp.

Page 462

L-force | PLC Designer Operands in PLC Designer 512 DMS 3.2 EN 02/2011 TD29  Declaration in POU: VAR x:stru1; END_VAR Bitaccess: x.enable:=true;

Page 463

L-force | PLC Designer Operands in PLC Designer  DMS 3.2 EN 02/2011 TD29 513 10.3 Addresses 10.3.1 Adresses, Note  Stop! Online Change might cha

Page 464

L-force | PLC Designer Operands in PLC Designer 514 DMS 3.2 EN 02/2011 TD29  The current PLC Configuration for the program determines whether or no

Page 465

L-force | PLC Designer Operands in PLC Designer  DMS 3.2 EN 02/2011 TD29 515 10.4 Functions In ST a function call can also appear as an operand. E

Page 466

L-force | PLC Designer Data types in PLC Designer 516 DMS 3.2 EN 02/2011 TD29  11 Data types in PLC Designer 11.1 Standard data types 11.1.1 Dat

Page 467

L-force | PLC Designer Data types in PLC Designer  DMS 3.2 EN 02/2011 TD29 517 11.1.4 REAL / LREAL REAL and LREAL are so-called floating-point typ

Page 468

L-force | PLC Designer What is What in PLC Designer 50 DMS 3.2 EN 02/2011 TD29  Below you find a table of all operators in IL with their possible m

Page 469

L-force | PLC Designer Data types in PLC Designer 518 DMS 3.2 EN 02/2011 TD29  TIME constants: always made up of an initial "t" or "

Page 470

L-force | PLC Designer Data types in PLC Designer  DMS 3.2 EN 02/2011 TD29 519 Examples: TIME_OF_DAY#15:36:30.123 tod#00:00:00 DATE_AND_TIME Consta

Page 471

L-force | PLC Designer Data types in PLC Designer 520 DMS 3.2 EN 02/2011 TD29  Initializing Arrays: Example for complete initialization of an array

Page 472

L-force | PLC Designer Data types in PLC Designer  DMS 3.2 EN 02/2011 TD29 521 Accessing array components: Array components are accessed in a two-d

Page 473

L-force | PLC Designer Data types in PLC Designer 522 DMS 3.2 EN 02/2011 TD29  Test Program for the function CheckBounds: PROGRAM PLC_PRG VAR a: A

Page 474

L-force | PLC Designer Data types in PLC Designer  DMS 3.2 EN 02/2011 TD29 523 Example: pt:POINTER TO INT; var_int1:INT := 5; var_int2:INT; pt := A

Page 475

L-force | PLC Designer Data types in PLC Designer 524 DMS 3.2 EN 02/2011 TD29  iSize : DINT; (* Size of pointer access; the data type must be in

Page 476

L-force | PLC Designer Data types in PLC Designer  DMS 3.2 EN 02/2011 TD29 525 Example: TYPE TRAFFIC_SIGNAL: (Red, Yellow, Green:=10); (*The initia

Page 477

L-force | PLC Designer Data types in PLC Designer 526 DMS 3.2 EN 02/2011 TD29  11.2.5 Structures Structures are created as objects in the Object

Page 478

L-force | PLC Designer Data types in PLC Designer  DMS 3.2 EN 02/2011 TD29 527 Example for the initialization of a structure: Poly_1:polygonline :=

Page 479

L-force | PLC Designer What is What in PLC Designer  DMS 3.2 EN 02/2011 TD29 51 It is also possible in IL to put parentheses after an operation. Th

Page 480

L-force | PLC Designer Data types in PLC Designer 528 DMS 3.2 EN 02/2011 TD29  11.2.7 Subrange types A subrange type is a type whose range of valu

Page 481

L-force | PLC Designer Data types in PLC Designer  DMS 3.2 EN 02/2011 TD29 529 Example: In the case of a variable belonging to a signed subrange t

Page 482

L-force | PLC Designer Data types in PLC Designer 530 DMS 3.2 EN 02/2011 TD29  The same applies to the function CheckRangeUnsigned: function name a

Page 483

L-force | PLC Designer Operators and Library Modules Overview  DMS 3.2 EN 02/2011 TD29 531 12 Operators and Library Modules Overview The table sho

Page 484

L-force | PLC Designer Operators and Library Modules Overview 532 DMS 3.2 EN 02/2011 TD29  in ST in AWL Mod. AWL Description ( The value follo

Page 485

L-force | PLC Designer Operators and Library Modules Overview  DMS 3.2 EN 02/2011 TD29 533 in ST in AWL Mod. AWL Description MUX(K,in0,...in_n)

Page 486

L-force | PLC Designer Operators and Library Modules Overview 534 DMS 3.2 EN 02/2011 TD29  Elements of the Standard.lib: in ST in AWL Description

Page 487

L-force | PLC Designer Operators and Library Modules Overview  DMS 3.2 EN 02/2011 TD29 535 Elements of the Util.lib: BCD_TO_INT Conversion of a By

Page 488

L-force | PLC Designer Command Line-/Command File 536 DMS 3.2 EN 02/2011 TD29  13 Command Line-/Command File 13.1 Command Line Commands When »PLC

Page 489

L-force | PLC Designer Command Line-/Command File  DMS 3.2 EN 02/2011 TD29 537 /targetfilenosaveas <file>.trg In addition to the effects desc

Page 490

L-force | PLC Designer What is What in PLC Designer 52 DMS 3.2 EN 02/2011 TD29  4.2.2 Structured Text (ST)... The Structured Text consists of a se

Page 491

L-force | PLC Designer Command Line-/Command File 538 DMS 3.2 EN 02/2011 TD29  online sourcecodedownload Download of the sourcecode of the project

Page 492

L-force | PLC Designer Command Line-/Command File  DMS 3.2 EN 02/2011 TD29 539 Commands of the project menu: project build The project that is loa

Page 493

L-force | PLC Designer Command Line-/Command File 540 DMS 3.2 EN 02/2011 TD29  Commands for the control of replace of objects respectively for the

Page 494

L-force | PLC Designer Command Line-/Command File  DMS 3.2 EN 02/2011 TD29 541 Delaying processing of the CMDFILE: delay 5000 Waits 5 seconds Con

Page 495

L-force | PLC Designer Command Line-/Command File 542 DMS 3.2 EN 02/2011 TD29  Read-only access for particular objects : object setreadonly <TRU

Page 496

L-force | PLC Designer Command Line-/Command File  DMS 3.2 EN 02/2011 TD29 543 Query system state: state offline Returns "S_OK", if curr

Page 497

L-force | PLC Designer Command Line-/Command File 544 DMS 3.2 EN 02/2011 TD29  Visualization settings: visual settings... corresponds to the poss

Page 498

L-force | PLC Designer Command Line-/Command File  DMS 3.2 EN 02/2011 TD29 545 eni on eni off The option 'Use source control (ENI)' will

Page 499

L-force | PLC Designer Command Line-/Command File 546 DMS 3.2 EN 02/2011 TD29  Commands of the menu 'Project' 'Data Base Link'

Page 500

L-force | PLC Designer Command Line-/Command File  DMS 3.2 EN 02/2011 TD29 547 Keywords for the command parameters: The following keywords, enclose

Page 501

L-force | PLC Designer What is What in PLC Designer  DMS 3.2 EN 02/2011 TD29 53 Below you find a table of the ST operators in the order of their bi

Page 502

L-force | PLC Designer Use of Keyboard 548 DMS 3.2 EN 02/2011 TD29  14 Use of Keyboard If you would like to run »PLC Designer« using only the keyb

Page 503

L-force | PLC Designer Use of Keyboard  DMS 3.2 EN 02/2011 TD29 549 General Commands 'File' 'Save' <Ctrl>+<S> &a

Page 504

L-force | PLC Designer Use of Keyboard 550 DMS 3.2 EN 02/2011 TD29  FBD Editor Commands 'Insert' 'Network (after)' <Ctrl&

Page 505

L-force | PLC Designer Use of Keyboard  DMS 3.2 EN 02/2011 TD29 551 LD Editor Commands 'Insert at blocks' 'Assign' <Ctrl&

Page 506 - 10 Operands in PLC Designer

L-force | PLC Designer Siemens Import 552 DMS 3.2 EN 02/2011 TD29  15 Siemens Import In the 'Project' 'Siemens Import' submenu

Page 507

L-force | PLC Designer Siemens Import  DMS 3.2 EN 02/2011 TD29 553 You first select the SEQ file in a standard Windows dialog box. Then perform the

Page 508

L-force | PLC Designer Siemens Import 554 DMS 3.2 EN 02/2011 TD29  The only exception or limitation for conversion is related to resetting timers w

Page 509

L-force | PLC Designer Siemens Import  DMS 3.2 EN 02/2011 TD29 555 Unconvertible Commands • U, UN, O, ON, S, R, = with the following bit operands

Page 510

L-force | PLC Designer Siemens Import 556 DMS 3.2 EN 02/2011 TD29  If you examine the commands that cannot be converted you will see that they are

Page 511

L-force | PLC Designer Siemens Import  DMS 3.2 EN 02/2011 TD29 557 A STEP5 POU that accesses data words (data bytes, etc.) should always open the d

Page 512

L-force | PLC Designer What is What in PLC Designer 54 DMS 3.2 EN 02/2011 TD29  Instruction type Example CASE CASE INT1 OF 1: BOOL1 := TRUE; 2: B

Page 513

L-force | PLC Designer Siemens Import 558 DMS 3.2 EN 02/2011 TD29  • There are also firmware OBs that have no interface but whose code is in 805xx

Page 514

L-force | PLC Designer Siemens Import  DMS 3.2 EN 02/2011 TD29 559 Your PLC may have more hierarchies. For example, non-bits have several interlock

Page 515

L-force | PLC Designer Keywords in PLC Designer 560 DMS 3.2 EN 02/2011 TD29  16 Keywords in PLC Designer 16.1 Keywords in »PLC Designer« The foll

Page 516

L-force | PLC Designer Keywords in PLC Designer  DMS 3.2 EN 02/2011 TD29 561 DATE DINT DIV DO DT DWORD ELSE ELSIF END_ACTION (only used in the Expo

Page 517

L-force | PLC Designer Keywords in PLC Designer 562 DMS 3.2 EN 02/2011 TD29  FUNCTION FUNCTION_BLOCK GE GT IF INDEXOF INI INT JMP JMPC JMPCN LD LDN

Page 518

L-force | PLC Designer Keywords in PLC Designer  DMS 3.2 EN 02/2011 TD29 563 NE NOT OF OR ORN PERSISTENT POINTER PROGRAM R READ_ONLY READ_WRITE REA

Page 519

L-force | PLC Designer Keywords in PLC Designer 564 DMS 3.2 EN 02/2011 TD29  SIZEOF SQRT ST STN STRING STRUCT SUB TAN THEN TIME TO TOD

Page 520

L-force | PLC Designer Keywords in PLC Designer  DMS 3.2 EN 02/2011 TD29 565 VAR_IN_OUT VAR_INPUT VAR_OUTPUT WHILE WORD WSTRING (IEC data type, not

Page 521

L-force | PLC Designer PLC Designer Files 566 DMS 3.2 EN 02/2011 TD29  17 PLC Designer Files The following files can be created with »PLC Designer

Page 522

L-force | PLC Designer PLC Designer Files  DMS 3.2 EN 02/2011 TD29 567 File Extension Example Description Format Path(Default) *.asd project01.a

Page 523

L-force | PLC Designer What is What in PLC Designer  DMS 3.2 EN 02/2011 TD29 55 Calling function blocks in ST A function block is called in ST by w

Page 524

L-force | PLC Designer PLC Designer Files 568 DMS 3.2 EN 02/2011 TD29  File Extension Example Description Format Path(Default) *.wtc projx_watch

Page 525

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 569 18 Compiler Errors and Warnings 18.1 Remarks on Compiler errors

Page 526

L-force | PLC Designer Compiler Errors and Warnings 570 DMS 3.2 EN 02/2011 TD29  1300 "File not found '<name>'" The file,

Page 527

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 571 Example: Variable Configuration: VAR_CONFIG plc_prg.aprg.ainst.in

Page 528

L-force | PLC Designer Compiler Errors and Warnings 572 DMS 3.2 EN 02/2011 TD29  1501 "String constant passed as 'VAR_IN_OUT': &apos

Page 529

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 573 1505 "Side effect in '<Name>'! Branch is prob

Page 530

L-force | PLC Designer Compiler Errors and Warnings 574 DMS 3.2 EN 02/2011 TD29  1600 "Open DB unclear (generated code may be erroneous)."

Page 531

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 575 1803 "'<name>'('<number>'): &

Page 532

L-force | PLC Designer Compiler Errors and Warnings 576 DMS 3.2 EN 02/2011 TD29  1852 "CanOpenMaster might not be called cyclically in event t

Page 533

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 577 1970 "Parameter manager: List '<Name>' , Colu

Page 534

L-force | PLC Designer What is What in PLC Designer 56 DMS 3.2 EN 02/2011 TD29  If the <Boolean_expression1> returns TRUE, then only the <

Page 535

L-force | PLC Designer Compiler Errors and Warnings 578 DMS 3.2 EN 02/2011 TD29  4714 "'<name>'('<number>'): T

Page 536

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 579 3112 "Nonrelocatable instruction in library." The .hex f

Page 537

L-force | PLC Designer Compiler Errors and Warnings 580 DMS 3.2 EN 02/2011 TD29  3121 "POU too large." A POU may not exceed the size of 6

Page 538

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 581 3160 "Can't open library file '<name>'.&

Page 539

L-force | PLC Designer Compiler Errors and Warnings 582 DMS 3.2 EN 02/2011 TD29  3202 "Stack overrun with nested string/array/structure functi

Page 540

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 583 3209 "Operator not implemented" A operator is used, whic

Page 541

L-force | PLC Designer Compiler Errors and Warnings 584 DMS 3.2 EN 02/2011 TD29  3254 "Call to external library function could not be resolved

Page 542

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 585 3405 "An error occured during import of PLC configuration&quo

Page 543

L-force | PLC Designer Compiler Errors and Warnings 586 DMS 3.2 EN 02/2011 TD29  3413 "Error during import of the CAMs." You have importe

Page 544

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 587 3453 "The channel '<name>' couldn't be c

Page 545

L-force | PLC Designer What is What in PLC Designer  DMS 3.2 EN 02/2011 TD29 57 A CASE instruction is processed according to the following model: •

Page 546

L-force | PLC Designer Compiler Errors and Warnings 588 DMS 3.2 EN 02/2011 TD29  3459 "The selected baudrate is not supported." Change th

Page 547

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 589 3466 "CAN network variables: No CAN controller found in the P

Page 548

L-force | PLC Designer Compiler Errors and Warnings 590 DMS 3.2 EN 02/2011 TD29  3503 "Wrong data type for '<name>' in 'V

Page 549

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 591 3552 "Event variable '<name>' in task '&

Page 550 - 14 Use of Keyboard

L-force | PLC Designer Compiler Errors and Warnings 592 DMS 3.2 EN 02/2011 TD29  3558 "Priority of task '<name>' is out of val

Page 551

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 593 3564 "The external event '<name>' of task &ap

Page 552

L-force | PLC Designer Compiler Errors and Warnings 594 DMS 3.2 EN 02/2011 TD29  3571 "The library 'SysLibCallback' is not included

Page 553

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 595 3601 "<name> is a reserved variable name" The give

Page 554 - 15 Siemens Import

L-force | PLC Designer Compiler Errors and Warnings 596 DMS 3.2 EN 02/2011 TD29  3616 "Programs musn't be implemented in external librari

Page 555

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 597 3623 "Cannot write boot project file '<name>'

Page 556

L-force | PLC Designer 4 DMS 3.2 EN 02/2011 TD29  6.1.7 Message window ______________________________________ 101 6.1.8 Status bar ______________

Page 557

L-force | PLC Designer What is What in PLC Designer 58 DMS 3.2 EN 02/2011 TD29  When <Instructions> are executed, <INT_Var> is always i

Page 558

L-force | PLC Designer Compiler Errors and Warnings 598 DMS 3.2 EN 02/2011 TD29  3706 "Modifier 'CONSTANT' allowed for 'VAR&ap

Page 559

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 599 3729 "Invalid type '<name>' at address: &apos

Page 560

L-force | PLC Designer Compiler Errors and Warnings 600 DMS 3.2 EN 02/2011 TD29  3745 "Subranges are only allowed on Integers!" Subrange

Page 561

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 601 3752 More than 9 dimensions are not allowed for nested arrays"

Page 562 - 16 Keywords in PLC Designer

L-force | PLC Designer Compiler Errors and Warnings 602 DMS 3.2 EN 02/2011 TD29  3783 "END_STRUCT' or identifier expected" Ensure th

Page 563

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 603 3804 "The current size of the perstistent data description is

Page 564

L-force | PLC Designer Compiler Errors and Warnings 604 DMS 3.2 EN 02/2011 TD29  3901 "At most 4 numerical fields allowed in addresses" T

Page 565

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 605 4000 "Identifier expected" Enter a valid identifier at t

Page 566

L-force | PLC Designer Compiler Errors and Warnings 606 DMS 3.2 EN 02/2011 TD29  4014 "Typed literal: Cannot convert '<name>'

Page 567

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 607 4024 "Expecting <Operator 0> or <Operator 1> or .

Page 568 - 17 PLC Designer Files

L-force | PLC Designer What is What in PLC Designer  DMS 3.2 EN 02/2011 TD29 59  Note! The programmer must make sure that no endless loop is cause

Page 569

L-force | PLC Designer Compiler Errors and Warnings 608 DMS 3.2 EN 02/2011 TD29  4031 "'ADR' is not allowed on bits! Use 'BITAD

Page 570

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 609 4042 "No more than <number> labels in sequence are allo

Page 571

L-force | PLC Designer Compiler Errors and Warnings 610 DMS 3.2 EN 02/2011 TD29  4060 "'VAR_IN_OUT' parameter '<name>&apo

Page 572

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 611 4072 "Inconsistent use of an action identifier in FB type (&a

Page 573

L-force | PLC Designer Compiler Errors and Warnings 612 DMS 3.2 EN 02/2011 TD29  4120 "'.' needs structure variable"" The

Page 574

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 613 4204 "Closing bracket with no corresponding opening bracket&q

Page 575

L-force | PLC Designer Compiler Errors and Warnings 614 DMS 3.2 EN 02/2011 TD29  4212 "Accumulator is invalid before conditional statement&quo

Page 576

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 615 4256 "'NOT' requires 'BOOL' operand"

Page 577

L-force | PLC Designer Compiler Errors and Warnings 616 DMS 3.2 EN 02/2011 TD29  4263 "Expecting Number, 'ELSE' or 'END_CASE&ap

Page 578

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 617 4271 "The lower border of the range is greater than the upper

Page 579

L-force | PLC Designer What is What in PLC Designer 60 DMS 3.2 EN 02/2011 TD29  If <Boolean expression> is produced already at the first TRUE

Page 580

L-force | PLC Designer Compiler Errors and Warnings 618 DMS 3.2 EN 02/2011 TD29  4303 "'<name>' is no operator" Replace &

Page 581

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 619 4335 "Expression expected at the input of the return" A

Page 582

L-force | PLC Designer Compiler Errors and Warnings 620 DMS 3.2 EN 02/2011 TD29  4343 "Values of Constants: ‘<name>’" Input '&

Page 583

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 621 4350 "An SFC-Action can not be accessed from outside!" S

Page 584

L-force | PLC Designer Compiler Errors and Warnings 622 DMS 3.2 EN 02/2011 TD29  4357 "IEC-Library not found" Check whether the library i

Page 585

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 623 4364 "A transition must be a boolean expression" The res

Page 586

L-force | PLC Designer Compiler Errors and Warnings 624 DMS 3.2 EN 02/2011 TD29  4372 "Step '<name>': Time limit needs type &a

Page 587

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 625 4402 "Direct access only allowed on I/Os." Make sure tha

Page 588

L-force | PLC Designer Compiler Errors and Warnings 626 DMS 3.2 EN 02/2011 TD29  4410 "Called POU not in project." Import the called POU.

Page 589

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 627 4418 "FB/FX-Name too long (max. 8 characters)" The symbo

Page 590

L-force | PLC Designer What is What in PLC Designer  DMS 3.2 EN 02/2011 TD29 61 4.2.3 Sequential Function Chart (SFC)... The Sequential Function C

Page 591

L-force | PLC Designer Compiler Errors and Warnings 628 DMS 3.2 EN 02/2011 TD29  4426 "POU does not have a valid STEP 5 block name, e.g. PB10&

Page 592

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 629 4435 "After jump / call, a new expression must start" Af

Page 593

L-force | PLC Designer Compiler Errors and Warnings 630 DMS 3.2 EN 02/2011 TD29  4522 "flag off' pragma expected!" Pragma has not be

Page 594

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 631 4555 "Empty table-entry, input not optional: Parameter OD <

Page 595

L-force | PLC Designer Compiler Errors and Warnings 632 DMS 3.2 EN 02/2011 TD29  4562 "Index/subindex used already: Dictionary '<Name&

Page 596

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 633 4601 "Network variables '<name>': No cyclic o

Page 597

L-force | PLC Designer Compiler Errors and Warnings 634 DMS 3.2 EN 02/2011 TD29  4623 The project gains write access to the same memory area at mor

Page 598

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 635 4685 "CAM '<Name>': CAM table type unknown.&q

Page 599

L-force | PLC Designer Compiler Errors and Warnings 636 DMS 3.2 EN 02/2011 TD29  4706 "'<name>' ('<number>'):

Page 600

L-force | PLC Designer Compiler Errors and Warnings  DMS 3.2 EN 02/2011 TD29 637 4900 "Invalid type for conversion" You are using a type

Page 601

L-force | PLC Designer What is What in PLC Designer 62 DMS 3.2 EN 02/2011 TD29  Action An action can contain a series of instructions in IL or in S

Page 602

L-force | PLC Designer PLC Designer Libraries 638 DMS 3.2 EN 02/2011 TD29  19 PLC Designer Libraries 19.1 Standard.lib library 19.1.1 String fun

Page 603

L-force | PLC Designer PLC Designer Libraries  DMS 3.2 EN 02/2011 TD29 639 LEFT Provided by standard.lib. Left returns the left, initial string fo

Page 604

L-force | PLC Designer PLC Designer Libraries 640 DMS 3.2 EN 02/2011 TD29  Example in IL: LD 'SUSI' RIGHT 3 ST VarSTRING1 (* Result

Page 605

L-force | PLC Designer PLC Designer Libraries  DMS 3.2 EN 02/2011 TD29 641 Example in FBD: Example in ST: VarSTRING1 := MID ('SUSI',2,2)

Page 606

L-force | PLC Designer PLC Designer Libraries 642 DMS 3.2 EN 02/2011 TD29  Example in ST: VarSTRING1 := CONCAT ('SUSI','WILLI')

Page 607

L-force | PLC Designer PLC Designer Libraries  DMS 3.2 EN 02/2011 TD29 643 Example in ST: VarSTRING1 := INSERT ('SUSI','XY',2);

Page 608

L-force | PLC Designer PLC Designer Libraries 644 DMS 3.2 EN 02/2011 TD29  Example in ST: Var1 := DELETE ('SUXYSI',2,3);  Note! String f

Page 609

L-force | PLC Designer PLC Designer Libraries  DMS 3.2 EN 02/2011 TD29 645 Example in ST: VarSTRING1 := REPLACE ('SUXYSI','K',2

Page 610

L-force | PLC Designer PLC Designer Libraries 646 DMS 3.2 EN 02/2011 TD29  Example in ST: arINT1 := FIND ('abcdef','de');  Not

Page 611

L-force | PLC Designer PLC Designer Libraries  DMS 3.2 EN 02/2011 TD29 647 Example in ST: SRInst(SET1:= VarBOOL1 , RESET:=VarBOOL2 ); VarBOOL3 := S

Page 612

L-force | PLC Designer What is What in PLC Designer  DMS 3.2 EN 02/2011 TD29 63 Transition / Transition condition Between the steps there are so-ca

Page 613

L-force | PLC Designer PLC Designer Libraries 648 DMS 3.2 EN 02/2011 TD29  SEMA Provided by standard.lib. A Software Semaphore (Interruptible) BUS

Page 614

L-force | PLC Designer PLC Designer Libraries  DMS 3.2 EN 02/2011 TD29 649 19.1.3 Trigger... R_TRIG Provided by standard.lib. The function block

Page 615

L-force | PLC Designer PLC Designer Libraries 650 DMS 3.2 EN 02/2011 TD29  Example in FBD: Example in ST: RTRIGInst(CLK:= VarBOOL1); VarBOOL2 := R

Page 616

L-force | PLC Designer PLC Designer Libraries  DMS 3.2 EN 02/2011 TD29 651 Declaration example: FTRIGInst : F_TRIG ; Example in IL: CAL FTRIGInst(C

Page 617

L-force | PLC Designer PLC Designer Libraries 652 DMS 3.2 EN 02/2011 TD29  Declaration example: CTUInst : CTU ; Example in IL: CAL CTUInst(CU := V

Page 618

L-force | PLC Designer PLC Designer Libraries  DMS 3.2 EN 02/2011 TD29 653 Declaration example: CTDInst : CTD ; Example in IL: CAL CTDInst(CD := V

Page 619

L-force | PLC Designer PLC Designer Libraries 654 DMS 3.2 EN 02/2011 TD29  QD returns TRUE when CV has become equal to 0. Declaration example: CTUD

Page 620

L-force | PLC Designer PLC Designer Libraries  DMS 3.2 EN 02/2011 TD29 655 19.1.5 Timer... TP Provided by standard.lib. The function block Timer

Page 621

L-force | PLC Designer PLC Designer Libraries 656 DMS 3.2 EN 02/2011 TD29  Example in FBD: Example in ST: TPInst(IN := VarBOOL1, PT:= T#5s); VarBO

Page 622

L-force | PLC Designer PLC Designer Libraries  DMS 3.2 EN 02/2011 TD29 657 Example in IL: CAL TONInst(IN := VarBOOL1, PT := T#5s) LD TONInst.Q ST

Page 623

L-force | PLC Designer What is What in PLC Designer 64 DMS 3.2 EN 02/2011 TD29  IEC step Along with the simplified steps the standard IEC steps in

Page 624

L-force | PLC Designer PLC Designer Libraries 658 DMS 3.2 EN 02/2011 TD29  Declaration example: TOFInst : TOF ; Example in IL: CAL TOFInst(IN := Va

Page 625

L-force | PLC Designer PLC Designer Libraries  DMS 3.2 EN 02/2011 TD29 659 19.2 Util.lib library This library contains an additional collection of

Page 626

L-force | PLC Designer PLC Designer Libraries 660 DMS 3.2 EN 02/2011 TD29  Examples in ST: i:=BCD_TO_INT(73); (* Result is 49 *) k:=BCD_TO_INT(151)

Page 627

L-force | PLC Designer PLC Designer Libraries  DMS 3.2 EN 02/2011 TD29 661 PACK Provided by util.lib. This function is capable of delivering back e

Page 628

L-force | PLC Designer PLC Designer Libraries 662 DMS 3.2 EN 02/2011 TD29  19.2.3 Mathematic Auxiliary Functions DERIVATIVE Provided by util.lib.

Page 629

L-force | PLC Designer PLC Designer Libraries  DMS 3.2 EN 02/2011 TD29 663 Block in FBD: Example: Integration of a linear function: LIN_TRAFO Thi

Page 630

L-force | PLC Designer PLC Designer Libraries 664 DMS 3.2 EN 02/2011 TD29  Application example: A temperature sensor provides Volt-values (input IN

Page 631

L-force | PLC Designer PLC Designer Libraries  DMS 3.2 EN 02/2011 TD29 665 19.2.4 Controllers PD The library util.lib provides the following PD co

Page 632

L-force | PLC Designer PLC Designer Libraries 666 DMS 3.2 EN 02/2011 TD29  Y_OFFSET, Y_MIN und Y_MAX are used for the transformation of the manipul

Page 633

L-force | PLC Designer PLC Designer Libraries  DMS 3.2 EN 02/2011 TD29 667 Inputs of the function block: Variable Data type Description ACTUAL R

Page 634

L-force | PLC Designer What is What in PLC Designer  DMS 3.2 EN 02/2011 TD29 65 Whether a newly inserted step is an IEC step depends upon whether t

Page 635

L-force | PLC Designer PLC Designer Libraries 668 DMS 3.2 EN 02/2011 TD29  So besides the P-part also the current change of the controller error (D

Page 636

L-force | PLC Designer PLC Designer Libraries  DMS 3.2 EN 02/2011 TD29 669 When ENABLE is reset to FALSE, output OUT will not be changed, i.e. no f

Page 637

L-force | PLC Designer PLC Designer Libraries 670 DMS 3.2 EN 02/2011 TD29  GEN Provided by util.lib. The function generator generates typical perio

Page 638

L-force | PLC Designer PLC Designer Libraries  DMS 3.2 EN 02/2011 TD29 671 The function generator is again set to 0 as soon as RESET=TRUE. Example

Page 639

L-force | PLC Designer PLC Designer Libraries 672 DMS 3.2 EN 02/2011 TD29  Example in ST: First of all ARRAY P must be defined in the header: VAR

Page 640

L-force | PLC Designer PLC Designer Libraries  DMS 3.2 EN 02/2011 TD29 673 Example in CFC: RAMP_REAL Provided by util.lib. RAMP_REAL functions in

Page 641

L-force | PLC Designer PLC Designer Libraries 674 DMS 3.2 EN 02/2011 TD29  An illustrative example: LIMITALARM Provided by util.lib. This functio

Page 642

L-force | PLC Designer PLC Designer Libraries  DMS 3.2 EN 02/2011 TD29 675 19.3 AnalyzationNew.lib library 19.3.1 Analysis of expressions with th

Page 643

L-force | PLC Designer PLC Designer Libraries 676 DMS 3.2 EN 02/2011 TD29  OutTable: ARRAY [0..15] OF ExpressionResult; e.g.. AnalyseExpressionCo

Page 644

L-force | PLC Designer PLC Designer Libraries  DMS 3.2 EN 02/2011 TD29 677 Library Description SysLibFileAsync.lib This library supports asynchro

Page 645

L-force | PLC Designer What is What in PLC Designer 66 DMS 3.2 EN 02/2011 TD29   Note! When an action has been deactivated it will be executed onc

Page 646

L-force | PLC Designer PLC Designer Libraries 678 DMS 3.2 EN 02/2011 TD29  Library Description SysLibPlcCtrl.lib This library contains the follow

Page 647

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 679 20 PLC Designer Visualization 20.1 Visualization - Overview A visu

Page 648

L-force | PLC Designer PLC Designer Visualization 680 DMS 3.2 EN 02/2011 TD29  20.2 Create a new Visualization A visualization object is a PLC Des

Page 649

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 681 20.3 Visualization Elements, Insert... A visualization element is a

Page 650

L-force | PLC Designer PLC Designer Visualization 682 DMS 3.2 EN 02/2011 TD29  20.3.1 'Insert' 'Rectangle' Symbol: With the

Page 651

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 683 20.3.7 'Insert' 'Pie' Symbol: Use this command

Page 652

L-force | PLC Designer PLC Designer Visualization 684 DMS 3.2 EN 02/2011 TD29  20.3.9 'Insert' 'Visualization' Symbol: With

Page 653

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 685 20.3.12 'Insert' 'Table' Symbol: Use this comm

Page 654

L-force | PLC Designer PLC Designer Visualization 686 DMS 3.2 EN 02/2011 TD29  20.3.15 'Insert' 'Meter' Symbol: Use this comm

Page 655

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 687 20.3.18 'Insert' 'Alarm table' Symbol: Use th

Page 656

L-force | PLC Designer What is What in PLC Designer  DMS 3.2 EN 02/2011 TD29 67 These status flags can be used in each action and transition of the

Page 657

L-force | PLC Designer PLC Designer Visualization 688 DMS 3.2 EN 02/2011 TD29  20.4 Positioning of Visualization Elements... 20.4.1 Selecting Vis

Page 658

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 689 20.4.5 Copying Visual Elements One or more selected elements can b

Page 659

L-force | PLC Designer PLC Designer Visualization 690 DMS 3.2 EN 02/2011 TD29  20.4.8 Grouping Elements Elements can be grouped by selecting all d

Page 660

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 691 20.4.12 'Extras' 'Elementlist' This command ope

Page 661

L-force | PLC Designer PLC Designer Visualization 692 DMS 3.2 EN 02/2011 TD29  Use Configure to get the configuration dialog for the element. Elem

Page 662

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 693 20.6 Visualization Elements, Configure... In the configuration dial

Page 663

L-force | PLC Designer PLC Designer Visualization 694 DMS 3.2 EN 02/2011 TD29  20.6.1 Placeholders in Visualization At each location in the config

Page 664

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 695 Insert visualization 'visu' twice in 'visu1' (tw

Page 665

L-force | PLC Designer PLC Designer Visualization 696 DMS 3.2 EN 02/2011 TD29  • Column Placeholder will list all placeholders, which are currentl

Page 666

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 697 20.6.3 'Extras' 'Configure' With this command,

Page 667

L-force | PLC Designer  DMS 3.2 EN 02/2011 TD29 5 6.3.13 'Project' 'Clean all'______________________________________ 146 6.3.1

Page 668

L-force | PLC Designer What is What in PLC Designer 68 DMS 3.2 EN 02/2011 TD29  SFCError: This Boolean variable is TRUE when a timeout has occurred

Page 669

L-force | PLC Designer PLC Designer Visualization 698 DMS 3.2 EN 02/2011 TD29  Function calls are not possible. Invalid expressions result in an er

Page 670

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 699 20.6.5 Shape In the visualization element configuration dialog box,

Page 671

L-force | PLC Designer PLC Designer Visualization 700 DMS 3.2 EN 02/2011 TD29  In case of multiple definition of an element property consider the s

Page 672

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 701  Stop! If you want to get displayed a percent sign % combined with

Page 673

L-force | PLC Designer PLC Designer Visualization 702 DMS 3.2 EN 02/2011 TD29  %a Abbreviated weekday name %A Full weekday name %b Abbreviate

Page 674

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 703 If you include"%<PREFIX>" into the text, you can ent

Page 675

L-force | PLC Designer PLC Designer Visualization 704 DMS 3.2 EN 02/2011 TD29  The parameters of the dialog: Parameter: Meaning: Example entry of

Page 676

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 705 20.6.8 Line width In the dialog for configuring visualization eleme

Page 677

L-force | PLC Designer PLC Designer Visualization 706 DMS 3.2 EN 02/2011 TD29  20.6.9 Colors In the visualization element configuration dialog bo

Page 678

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 707 Here can to choose the desired hue from the primary colors and the u

Page 679

L-force | PLC Designer What is What in PLC Designer  DMS 3.2 EN 02/2011 TD29 69  Note! Regard also the implicit variables usable for scanning the

Page 680

L-force | PLC Designer PLC Designer Visualization 708 DMS 3.2 EN 02/2011 TD29  The parameters of the dialog: Parameter: Description: Example of a

Page 681

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 709 20.6.11 Motion absolute In the visualization element configuration

Page 682

L-force | PLC Designer PLC Designer Visualization 710 DMS 3.2 EN 02/2011 TD29  20.6.12 Motion relative In the dialog for configuring visualization

Page 683

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 711 20.6.13 Variables Visualization Element Configuration Dialog Box (

Page 684

L-force | PLC Designer PLC Designer Visualization 712 DMS 3.2 EN 02/2011 TD29  Textdisplay: • If you have inserted a "%s" in the Content

Page 685

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 713 20.6.14 Input Dialog for configuring the visualization elements (C

Page 686

L-force | PLC Designer PLC Designer Visualization 714 DMS 3.2 EN 02/2011 TD29  The following entries are allowed: • The name of a visualization o

Page 687

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 715 Execute program: If this option is activated you can enter ASSIGN- o

Page 688

L-force | PLC Designer PLC Designer Visualization 716 DMS 3.2 EN 02/2011 TD29  20.6.15 Text for ToolTip The dialog Text for Tooltip offers an inpu

Page 689

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 717 The access rights for a visualization element and their effect in on

Page 690

L-force | PLC Designer What is What in PLC Designer 70 DMS 3.2 EN 02/2011 TD29  4.2.4 Function Block Diagram (FBD)... The Function Block Diagram i

Page 691

L-force | PLC Designer PLC Designer Visualization 718 DMS 3.2 EN 02/2011 TD29  • Example: If you have defined a Object Name "visu1_line"

Page 692

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 719 Component (+Data type) Effect Example (the Object Name "vis1&

Page 693

L-force | PLC Designer PLC Designer Visualization 720 DMS 3.2 EN 02/2011 TD29  Component (+Data type) Effect Example (the Object Name "vis1&

Page 694

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 721 Component (+Data type) Effect Example (the Object Name "vis1&

Page 695

L-force | PLC Designer PLC Designer Visualization 722 DMS 3.2 EN 02/2011 TD29  Example for a blinking visualization element: Define a global variab

Page 696

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 723 20.6.18 Bitmap You can do the following settings in category '

Page 697

L-force | PLC Designer PLC Designer Visualization 724 DMS 3.2 EN 02/2011 TD29  • If you select the Draw option, the frame will be displayed in the

Page 698

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 725 20.6.19 Table As soon as a table is inserted for the purpose of vis

Page 699

L-force | PLC Designer PLC Designer Visualization 726 DMS 3.2 EN 02/2011 TD29  Category Columns: Dialog for the configuration of a Table, Categor

Page 700

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 727 Editing the column header and the column width: Initially the edit f

Page 701

L-force | PLC Designer What is What in PLC Designer  DMS 3.2 EN 02/2011 TD29 71 Each network consists on the left side of a series of contacts whic

Page 702

L-force | PLC Designer PLC Designer Visualization 728 DMS 3.2 EN 02/2011 TD29  Examples for the use of placeholders in column-templates Example1: Y

Page 703

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 729 This means the following: For the concerned table column • the fie

Page 704

L-force | PLC Designer PLC Designer Visualization 730 DMS 3.2 EN 02/2011 TD29  Category Selection: Dialog for configuring a Table, Category Select

Page 705

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 731 Example: Create a table element visualizing the array of a structure

Page 706

L-force | PLC Designer PLC Designer Visualization 732 DMS 3.2 EN 02/2011 TD29  The table element now should be displayed as shown in the following:

Page 707

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 733 20.6.20 ActiveX-Element The ActiveX-Element serves for displaying a

Page 708

L-force | PLC Designer PLC Designer Visualization 734 DMS 3.2 EN 02/2011 TD29  2. Methodcalls: Dialog Configure ActiveX-Element, Category Methodca

Page 709

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 735 Additional Call: Via a user defined Windows-Dll you can define metho

Page 710

L-force | PLC Designer PLC Designer Visualization 736 DMS 3.2 EN 02/2011 TD29  The method is chosen by the parameter pszId. #include "stdafx.h

Page 711

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 737 3. Display: Dialog Configure ActiveX-Element, Category Display In t

Page 712

L-force | PLC Designer What is What in PLC Designer 72 DMS 3.2 EN 02/2011 TD29  Coil On the right side of a network in LD there can be any number o

Page 713

L-force | PLC Designer PLC Designer Visualization 738 DMS 3.2 EN 02/2011 TD29  20.6.21 Scrollbar The scrollbar element can be used to modify the v

Page 714

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 739 The configuration dialog gets opened by a double-click on the elemen

Page 715

L-force | PLC Designer PLC Designer Visualization 740 DMS 3.2 EN 02/2011 TD29  20.6.22 Meter Dialog for the configuration of a Meter element Thi

Page 716

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 741 Variable/Scale: This button opens the dialog Configure scale and va

Page 717

L-force | PLC Designer PLC Designer Visualization 742 DMS 3.2 EN 02/2011 TD29  Color areas: This button opens the dialog Configure color areas: Her

Page 718

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 743 Additional settings: Frame inside, Frame outside: If one or both of

Page 719

L-force | PLC Designer PLC Designer Visualization 744 DMS 3.2 EN 02/2011 TD29  Alarm color: This button opens the dialog Configure alarm, where yo

Page 720

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 745 20.6.24 Histogram A histogram element can be used to visualize an a

Page 721

L-force | PLC Designer PLC Designer Visualization 746 DMS 3.2 EN 02/2011 TD29  Variable/Scale: This button opens the dialog Configure scale and va

Page 722

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 747 20.6.25 Alarm table The element 'Alarm table' is used to

Page 723

L-force | PLC Designer What is What in PLC Designer  DMS 3.2 EN 02/2011 TD29 73 Starting from such an EN POU, you can create networks similar to FB

Page 724

L-force | PLC Designer PLC Designer Visualization 748 DMS 3.2 EN 02/2011 TD29  Define what you want to get displayed in the alarm table: Change ala

Page 725

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 749 Category Settings for sorting: Dialog for configuration of an alarm

Page 726

L-force | PLC Designer PLC Designer Visualization 750 DMS 3.2 EN 02/2011 TD29  Category Columns: Dialog for configuration of an alarm table, categ

Page 727

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 751 Category Selection settings for alarm table: Dialog for configurati

Page 728

L-force | PLC Designer PLC Designer Visualization 752 DMS 3.2 EN 02/2011 TD29  If you have defined a record file, also there you will find this his

Page 729

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 753 20.6.26 Trend Dialog for configuration of a Trend element The Tr

Page 730

L-force | PLC Designer PLC Designer Visualization 754 DMS 3.2 EN 02/2011 TD29  Axis: Horizontal Axis: Dialog for configuration of the horizontal

Page 731

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 755 Legend: Here you define the display of the legend. Via button Font t

Page 732

L-force | PLC Designer PLC Designer Visualization 756 DMS 3.2 EN 02/2011 TD29  Division lines: corresponding to the horizontal axis (see above) Sca

Page 733

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 757 Enter a project variable in column Variable (mouse-click on the fie

Page 734

L-force | PLC Designer What is What in PLC Designer 74 DMS 3.2 EN 02/2011 TD29  4.3.4 Single step Single step means: • In IL: Execute the program

Page 735

L-force | PLC Designer PLC Designer Visualization 758 DMS 3.2 EN 02/2011 TD29  Curve type: Select one of the options Straight line, Steps or Points

Page 736

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 759 Configuration of a trend element in a visualization: Orientation Lef

Page 737

L-force | PLC Designer PLC Designer Visualization 760 DMS 3.2 EN 02/2011 TD29  The record is running from the left to the right; the latest value i

Page 738

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 761 The Placeholder button leads to the 'Replace placeholder'

Page 739

L-force | PLC Designer PLC Designer Visualization 762 DMS 3.2 EN 02/2011 TD29  In PLC_PRG define two instances of 'fu': inst1_fu : fu; in

Page 740

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 763 20.6.28 Group The configuration dialog for a group of visualization

Page 741

L-force | PLC Designer PLC Designer Visualization 764 DMS 3.2 EN 02/2011 TD29  Enter internal commands in the field Execute program in the category

Page 742

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 765 Command The equivalent in the programming version of »PLC Designer

Page 743

L-force | PLC Designer PLC Designer Visualization 766 DMS 3.2 EN 02/2011 TD29  Command The equivalent in the programming version of »PLC Designer

Page 744

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 767 INTERN CONNECT_TO <PLC name>|<Start-Visu> The PLC (tar

Page 745

L-force | PLC Designer What is What in PLC Designer  DMS 3.2 EN 02/2011 TD29 75 Example for Monitoring of Pointers In the implementations, the val

Page 746

L-force | PLC Designer PLC Designer Visualization 768 DMS 3.2 EN 02/2011 TD29  20.7 Visualization Object, Configure... Besides the configuration o

Page 747

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 769 Setting dialog for visualizations (Category Display) Category Frame

Page 748

L-force | PLC Designer PLC Designer Visualization 770 DMS 3.2 EN 02/2011 TD29  Category Time/Date: Here you can define in which format the date or

Page 749

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 771 h Hours as number, with no leading zero for single-digit hours; 12-

Page 750

L-force | PLC Designer PLC Designer Visualization 772 DMS 3.2 EN 02/2011 TD29  20.7.2 'Extras' 'Select Background Bitmap' Use

Page 751

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 773 In column Key a selection list offers the following keys to which an

Page 752

L-force | PLC Designer PLC Designer Visualization 774 DMS 3.2 EN 02/2011 TD29  In column Action you define what should happen as soon as the key (c

Page 753

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 775 VIS_2: Shift Ctrl Action Key Expression Exec E INTERN LANGUAGE

Page 754

L-force | PLC Designer PLC Designer Visualization 776 DMS 3.2 EN 02/2011 TD29  The descriptions in the xml-file are enclosed by tag <dynamic-tex

Page 755

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 777 Structure of the file: The Header-Section starts with <header>

Page 756

L-force | PLC Designer What is What in PLC Designer 76 DMS 3.2 EN 02/2011 TD29  4.3.8 Simulation During the simulation the created PLC program is

Page 757

L-force | PLC Designer PLC Designer Visualization 778 DMS 3.2 EN 02/2011 TD29  A text entry which is assigned to a Prefix-ID-combination must conta

Page 758

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 779 (4) Create a xml-file, e.g. with name dynamictextsample.xml, accordi

Page 759

L-force | PLC Designer PLC Designer Visualization 780 DMS 3.2 EN 02/2011 TD29  <deutsch>Fehler an Position 4711</deutsch> <engl

Page 760

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 781 <text prefix="MASCHINE" id="2"> <de

Page 761

L-force | PLC Designer PLC Designer Visualization 782 DMS 3.2 EN 02/2011 TD29  20.7.6 Master layout The usage of a "Master layout" in vi

Page 762

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 783 20.8 Images in Visualization Image files can be used in a visualiza

Page 763

L-force | PLC Designer PLC Designer Visualization 784 DMS 3.2 EN 02/2011 TD29  20.8.1 'Extras' 'Bitmap list' In the 'Extr

Page 764

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 785 20.9 Language Switching in Visualization 20.9.1 Language Switching

Page 765

L-force | PLC Designer PLC Designer Visualization 786 DMS 3.2 EN 02/2011 TD29  20.9.2 Static Language Switching For a static switch of the languag

Page 766

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 787 For creating a special language file *.vis for the visualization, pe

Page 767

L-force | PLC Designer We Write a Little Program  DMS 3.2 EN 02/2011 TD29 77 5 We Write a Little Program 5.1 Controlling a Traffic Signal Unit...

Page 768

L-force | PLC Designer PLC Designer Visualization 788 DMS 3.2 EN 02/2011 TD29  20.9.3 Dynamic Language Switching Dynamic texts allow switching bet

Page 769

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 789 In the configuration of a visualization element, for which the text

Page 770

L-force | PLC Designer PLC Designer Visualization 790 DMS 3.2 EN 02/2011 TD29  • Specify the ID (as used in the xml-file) in configuration dialog

Page 771

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 791 In the header section of the file a default language and a default f

Page 772

L-force | PLC Designer PLC Designer Visualization 792 DMS 3.2 EN 02/2011 TD29  Structure of the file: The Header-Section starts with <header>

Page 773

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 793 A text entry which is assigned to a Prefix-ID-combination must conta

Page 774

L-force | PLC Designer PLC Designer Visualization 794 DMS 3.2 EN 02/2011 TD29  (4) Create a xml-file, e.g. with name dynamictextsample.xml, accordi

Page 775

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 795 <text prefix="ERROR" id="4711"> <de

Page 776

L-force | PLC Designer PLC Designer Visualization 796 DMS 3.2 EN 02/2011 TD29  </text> <text prefix="MASCHINE" id="2&qu

Page 777

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 797 20.9.6 Calling up language-dependent Online Help via a visualizatio

Page 778

L-force | PLC Designer 6 DMS 3.2 EN 02/2011 TD29  6.3.45 'Project' 'User group passwords' ___________________________ 171 6.3.

Page 779

L-force | PLC Designer We Write a Little Program 78 DMS 3.2 EN 02/2011 TD29  5.1.5 What does SEQUENCE do? In SEQUENCE all is combined so that the

Page 780

L-force | PLC Designer PLC Designer Visualization 798 DMS 3.2 EN 02/2011 TD29  • If a visualization is used as Target-Visualization, information o

Page 781

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 799  Note! Operation over the keyboard in online mode is of greatest si

Page 782

L-force | PLC Designer PLC Designer Visualization 800 DMS 3.2 EN 02/2011 TD29  Automatic deallocation of write access: If during monitoring it is d

Page 783

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 801 20.12 System Variables in the Visualization The following implicite

Page 784

L-force | PLC Designer PLC Designer Visualization 802 DMS 3.2 EN 02/2011 TD29  Implicit variables as remanent variables: The implicit variables of

Page 785

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 803 20.13 Possible Key Combinations 20.13.1 Possible Key Combinations

Page 786

L-force | PLC Designer PLC Designer Visualization 804 DMS 3.2 EN 02/2011 TD29  no modifier Shift Ctrl Shift+Ctrl comment F7 C / TV / WV C /

Page 787

L-force | PLC Designer PLC Designer Visualization  DMS 3.2 EN 02/2011 TD29 805 no modifier Shift Ctrl Shift+Ctrl comment S C / TV / WV C /

Page 788

L-force | PLC Designer Index 806 DMS 3.2 EN 02/2011 TD29  21 Index —A— Access conflict 169 Access protection 118, 134, 171 Access protection for

Page 789

L-force | PLC Designer Index  DMS 3.2 EN 02/2011 TD29 807 Arc sine 10-26 500 Arc tangent 501 archive 537 Archive ZIP 136 Argument 34, 38 Argum

Page 790

L-force | PLC Designer We Write a Little Program  DMS 3.2 EN 02/2011 TD29 79 5.1.8 "TRAFFICSIGNAL" declaration Let us now turn to the PO

Page 791

L-force | PLC Designer Index 808 DMS 3.2 EN 02/2011 TD29  BOOL_TO Conversions 486 Boot project 103, 108, 115, 119, 146, 221, 240, 537 Box in CFC

Page 792

L-force | PLC Designer Index  DMS 3.2 EN 02/2011 TD29 809 EN/ENO 331 Expand macro 341 Feedback paths 342 Insert Box 328 Insert Comment 329 Ins

Page 793

L-force | PLC Designer Index 810 DMS 3.2 EN 02/2011 TD29  Command entry in the PLC-Browser 456 Command file 537 Command Line 536 Comment I/O Mod

Page 794

L-force | PLC Designer Index  DMS 3.2 EN 02/2011 TD29 811 COS 499 Cosine 499 counter function 651, 652, 653 Create Backup 103 Create boot proje

Page 795

L-force | PLC Designer Index 812 DMS 3.2 EN 02/2011 TD29  automatic 262 New 265 Pragma 267 Declaration 271 Declaration Editor Line numbers 264

Page 796

L-force | PLC Designer Index  DMS 3.2 EN 02/2011 TD29 813 DP Parameters 361 Group Parameters 361 Mode 361 Module parameters 360 DP parameters D

Page 797

L-force | PLC Designer Index 814 DMS 3.2 EN 02/2011 TD29  Ellipse 682 ELSE 55, 56 ELSIF 55 Embed 723 Emergency Telegram 374 EN Input 72, 309,

Page 798

L-force | PLC Designer Index  DMS 3.2 EN 02/2011 TD29 815 Previous difference 162 Zoom to POU 246 Extras Monitoring Options 285 Extras Options

Page 799

L-force | PLC Designer Index 816 DMS 3.2 EN 02/2011 TD29  Start 337 Extras Order End 337 Extras Order Order everything according to data flow 33

Page 800

L-force | PLC Designer Index  DMS 3.2 EN 02/2011 TD29 817 Extras Read Trace 448 Extras Auto Read 448 Extras Stop Trace 449 Extras Cursor Mode 4

Page 801

L-force | PLC Designer We Write a Little Program 80 DMS 3.2 EN 02/2011 TD29  5.1.9 "TRAFFICSIGNAL" body Now we determine the values of t

Page 802

L-force | PLC Designer Index 818 DMS 3.2 EN 02/2011 TD29  —F— F_TRIG 650 F_TRIG in LD 311 F1 244 F4 108 falling edge 650 Falling edge detectio

Page 803

L-force | PLC Designer Index  DMS 3.2 EN 02/2011 TD29 819 Insert 283 instance 38 Function block 37 Function block 38 Function block 281 Functi

Page 804

L-force | PLC Designer Index 820 DMS 3.2 EN 02/2011 TD29  —H— Heartbeat 374 Heartbeat Master 371 HELP Contents 243 Context Sensitive 244 Index

Page 805

L-force | PLC Designer Index  DMS 3.2 EN 02/2011 TD29 821 Input in CFC 328 Input in FBD 300 Input of box in CFC 329 Input Variable 255 Insert A

Page 806

L-force | PLC Designer Index 822 DMS 3.2 EN 02/2011 TD29  Output in FBD 300 Parallel Branch (left) 315 Parallel Branch (right) 315 Parallel Cont

Page 807

L-force | PLC Designer Index  DMS 3.2 EN 02/2011 TD29 823 Jump 69, 298 Jump in CFC 328 Jump in LD 311 Jump in SFC 316 Jump Label 317 —K— key

Page 808 - 21 Index

L-force | PLC Designer Index 824 DMS 3.2 EN 02/2011 TD29  Library Manager Usage 404 Library path 405 library private 279 library public 279 Lic

Page 809

L-force | PLC Designer Index  DMS 3.2 EN 02/2011 TD29 825 Memory location 514 Menu Log 408 Merge 164 message file 537 Message window 101, 167,

Page 810

L-force | PLC Designer Index 826 DMS 3.2 EN 02/2011 TD29  Configuration 394 Definition 399 Network variables 393 Network variables list 398 New

Page 811

L-force | PLC Designer Index  DMS 3.2 EN 02/2011 TD29 827 Step over 224 Stop 222 Toggle Breakpoint 223 Write file to PLC 240 Write values 225

Page 812

L-force | PLC Designer We Write a Little Program  DMS 3.2 EN 02/2011 TD29 81 Finally the network should look like shown in the follwoing: Function

Page 813

L-force | PLC Designer Index 828 DMS 3.2 EN 02/2011 TD29  Parallel Branch in SFC 69, 315 Parallel Contact 308 Parallel Contact (negated) 308 Par

Page 814

L-force | PLC Designer Index  DMS 3.2 EN 02/2011 TD29 829 Placeholder List 695 Placeholders for alarm messages 383 Placeholders in table element

Page 815

L-force | PLC Designer Index 830 DMS 3.2 EN 02/2011 TD29  Profibus Master Bus parameters 363 DP parameters 361 Modul parameters 360 Profibus Mod

Page 816

L-force | PLC Designer Index  DMS 3.2 EN 02/2011 TD29 831 Project source control 122 Project Translate into another language Show project translat

Page 817

L-force | PLC Designer Index 832 DMS 3.2 EN 02/2011 TD29  Variable Configuration 392 Resources 47, 100, 345 Retain 38, 256 Retain variable 256

Page 818

L-force | PLC Designer Index  DMS 3.2 EN 02/2011 TD29 833 Service Data Objects 379 Set 301 Set as project configuration 454 Set coil 72, 309 se

Page 819

L-force | PLC Designer Index 834 DMS 3.2 EN 02/2011 TD29  Show Differences 176, 200 Show grid 450 Show print area margins 108 Show project trans

Page 820

L-force | PLC Designer Index  DMS 3.2 EN 02/2011 TD29 835 string function 639, 640, 641, 642, 643, 644, 645 string length 638 STRING_TO Conversio

Page 821

L-force | PLC Designer Index 836 DMS 3.2 EN 02/2011 TD29  status of a task 417 time flow 417 Template 131, 436 Template for objects 186 Templat

Page 822

L-force | PLC Designer Index  DMS 3.2 EN 02/2011 TD29 837 Values in ASCII file 452 Y-Scaling 450 Trace 448 TRACE 763 Trace Buffer 445, 449 Tra

Page 823

L-force | PLC Designer We Write a Little Program 82 DMS 3.2 EN 02/2011 TD29  5.1.10 Connecting the standard.lib For the timer in the POU WAIT we n

Page 824

L-force | PLC Designer Index 838 DMS 3.2 EN 02/2011 TD29  user level 537 User parameters DP slave 368 user password 537 User-defined Libraries

Page 825

L-force | PLC Designer Index  DMS 3.2 EN 02/2011 TD29 839 Execute program 713 File – Print in online mode 799 Frame 768 Grid 768 Grouping eleme

Page 826

L-force | PLC Designer Index 840 DMS 3.2 EN 02/2011 TD29  Online Mode 428 Read Recipe 429 Rename Watch List 427 Save Watch List 427 Write Recip

Page 828

© 02/2011)Lenze Automation GmbHHans-Lenze-Str. 1D-31855 AerzenGermanyService Lenze Service GmbHBreslauer Straße 3D-32699 ExtertalGermany+49 (0)51 54

Page 829

L-force | PLC Designer We Write a Little Program  DMS 3.2 EN 02/2011 TD29 83 5.1.12 "WAIT" body In order to create the desired timer, th

Page 830

L-force | PLC Designer We Write a Little Program 84 DMS 3.2 EN 02/2011 TD29  5.1.13 "SEQUENCE" first expansion level First we declare th

Page 831

L-force | PLC Designer We Write a Little Program  DMS 3.2 EN 02/2011 TD29 85 The first transition switches through when START is TRUE and all other

Page 832

L-force | PLC Designer We Write a Little Program 86 DMS 3.2 EN 02/2011 TD29  5.1.15 Actions and transition conditions In the action of the step In

Page 833

L-force | PLC Designer We Write a Little Program  DMS 3.2 EN 02/2011 TD29 87 At Switch2 the STATUS of TRAFFICSIGNAL1 changes to 4 (yellow-red), tha

Page 834

L-force | PLC Designer  DMS 3.2 EN 02/2011 TD29 7 6.5.11 Unstructured Display ___________________________________ 212 6.5.12 Structured Display _

Page 835

L-force | PLC Designer We Write a Little Program 88 DMS 3.2 EN 02/2011 TD29  5.1.16 "SEQUENCE" second expansion level In order to ensure

Page 836

L-force | PLC Designer We Write a Little Program  DMS 3.2 EN 02/2011 TD29 89 The new part should look like the part marked with the black border in

Page 837

L-force | PLC Designer We Write a Little Program 90 DMS 3.2 EN 02/2011 TD29  The EXIT transition checks whether the counter is greater than a certa

Page 838

L-force | PLC Designer We Write a Little Program  DMS 3.2 EN 02/2011 TD29 91 Declaration LIGHT1 and LIGHT2 These deliver the Boolean value of each

Page 839

L-force | PLC Designer We Write a Little Program 92 DMS 3.2 EN 02/2011 TD29  Click on the right mouse key in the editor window and select the eleme

Page 840

L-force | PLC Designer We Write a Little Program  DMS 3.2 EN 02/2011 TD29 93 5.1.19 TRAFFICSIGNAL simulation Now test your program in simulation m

Page 841

L-force | PLC Designer We Write a Little Program 94 DMS 3.2 EN 02/2011 TD29  5.2.2 Insert element in Visualization For our TRAFFICSIGNAL visualiza

Page 842

L-force | PLC Designer We Write a Little Program  DMS 3.2 EN 02/2011 TD29 95 • Now click on the button within in the area Alarm color and choose t

Page 843

L-force | PLC Designer We Write a Little Program 96 DMS 3.2 EN 02/2011 TD29  5.2.4 The TRAFFICSIGNAL case Now enter the command 'Insert'

Page 844 - 109 87654321

L-force | PLC Designer We Write a Little Program  DMS 3.2 EN 02/2011 TD29 97 In order to set the variable ON to TRUE with a mouse click on the swit

Commentaires sur ces manuels

Pas de commentaire