西门子SIMOTION LAD_FBD编程说明书.pdf

所需积分/C币:50 2019-10-10 12:40:16 4.42MB PDF
20
收藏 收藏
举报

西门子SIMOTION LAD_FBD编程说明书pdf,西门子SIMOTION LAD_FBD编程说明书
Table of contents Preface。。n, Scope 11 1.2 Information in this manual 11 SIMOTION DOCUmentation 12 Hotline and Internet addresses 2 Description. a“ Description 15 2 What is LAD? 15 2.3 What is FbD? 16 2.4 Unit, program organization unit(PoU)and program source 16 3 LAD/FBD editor 17 3.1 The LAD/FBD editor in the workbench 3.2 Maximizing working area and detail view 18 3.3 Enlarging and reducing the editor area for the graphical display 18 3.4 Bringing the LAD/FBD editor to the foreground...... 19 3.5 Hiding and displaying the declaration table……… 3.6 Enlarging/reducing the declaration table 19 3.7 Operation... 20 3.7.1 Operating the LAD/FBD editor 0 3.7.2 Menu bar 3.7.3 Context menu 20 3.74 Toolbars∴ 3.7.5 Key combinations 3.7.6 Drag& Drop of variables 3. 7.7 Drag&drop from the declaration tables 3.7.8 Drag&drop within the declaration table 3 3. 9 Using Drag&Drop for LAD/FBD elements 23 3.7.10 Command call drag&drop 3 3.7.11 Drag&Drop of command names 3.7.12 Using drag&drop for elements in a network 24 3.7.13 Using drag&drop for functions and function blocks from other sources 24 38 Settings 25 3.8. 1 Settings in the LAD/FBd editor 3.8.2 Activating automatic symbo| check and type upe∴…… .... 25 25 3.8.3 Deactivating automatic symbol check and type update 3.8. 4 Perform symbol check and type update at a specified time 3.8.5 Setting the data type list of the declaration table 3.8.6 Modifying the operand and comment fields SIMOTION LAD/FBD Programming and Operating Manual, 08/2008 Table of contents 3.8. 7 Changing fonts 1面画 27 3.88 Changing colors…… 27 3.8.9 Activating on-the-fly variable declaration 28 3.8. 10 Setting the default language .28 3.8.11 Calling online help in the LaD/F BD editor….,…,……, 28 4 LAD/FBD programming……….….…..,,,…,…,……,"…,…,……………29 4.1 Programming software....... 29 4.2 Managing LAD/FBD source file 4.2.1 inserting a new LAD/ FBD source file,.…… 29 4.2.2 Opening an existing LAD/FBD source file 4.2.3 Saving and compiling a LAD/F BD source file 32 4.2.4 Closing a LAD/FBD source file 32 4.2.5 Cut/copy/delete operations in a LAD/FBD source file.. 33 4.2.6 Inserting a cut or copied LAD/FBD source file 33 4.2.7 Know-how protection for LAD/FBD source files 4.3 Exporting and importing LAD/FBD source files 4.3. 1 Exporting a LAD/FBD source file in XML format .34 4.3.2 Importing LAD/FBD source files as XML data .34 4.3.3 Exporting a PoU in XML format 35 4.34 Importing a pou in XML format....,…,…,… 35 4.3.5 Exporting a LAD/FBD source file in EXP format 35 4.3.6 Importing EXP data into a LAD/FBD source file .35 4.4 LAD/FBD source files-defining properties 36 4.4.1 Defining the properties of a LAD/FBD source file 36 4.4.2 Renaming a LAD/FBD source file 37 4.4.3 Using test functions :··:· 37 4.4.4 viewing the current compiler options ,37 4.4.5 Making settings for the compiler 37 4.4.5.1 Global compiler settings 38 4.4.5.2 Local compiler settings 39 Managing LAD/FBD program 41 4.5. 1 Inserting a new LAD/FBD program 41 4.5.2 Opening an existing LAD/F BD program 43 3 Defining the order of the lad/FBd programs in the lad/F Bd source file 4.5.4 Copying the LAD/FBD program 43 4.5.5 Saving and compiling a LAD/F BD program 43 4.5.6 Closing a LAD/F BD program 4.5.7 Deleting the LAD/FBD program 44 4.6 LAD/FBD programs -defining properties 45 4.6.1 Renaming a LAD/ BD program 45 4.6.2 Changing the LAD/FBD program creation type 45 4.7 Printing source files and programs................... 46 4.7 Printing a declaration table 41 47 4.7.2 Printing a network area 4.7.3 Printing comments ..“.“ 4.7.4 Defining print variants 48 4.7.5 Placing networks 49 4.7.6 nk pages 49 LAD/FBD networks and elements 4.8.1 Inserting networks 51 4.8.2 Selecting networks SIMOTION LAD/FBD Programming and Operating Manual, 08/2008 Table of contents 4.8.3 Numbering the networks 面1B 4.8. 4 Enter title/comment 4.8.5 Showing/hiding a jump label 53 4.8.6 Copying/cutting/pasting networks 54 4.8.7 Undo/redo actions 1面面面国 54 4.8. 8 Deleting networks 4.9 Displaying LAD/FBD elements 55 4.9.1 AD diagram 55 4.9.2 Meaning of EN/ENO 4.9.3 FBD diagram 57 4.9.4 Converting between LAD and FBD representation 57 4. 10 Editing LAD/FBD elements 4.10.1 Inserting LAD/FBD elements 60 4.10.2 Syntax check in LAD 4.10.3 Selecting LAD/FBD elements 61 4.10.4 Copy POU 61 4.10.5 Copy/cut/delete operations in LAD/FBD elements B面面面面面 61 4.10.6 LAD/FBD elements-defining parameters(labeling 62 4.10.7 Labeling LAD/FBD elements with the symbol input help dialog 4.10.8 Setting the LAD/FBD element display 63 4.10. 9 Setting the call parameter for an individual parameter 63 4. 10.10 Setting call parameters 64 4. 10.11 Searching in the project 4.10.12 Find and replace in a project 65 4.11 Command library.…… 67 4.11.1 LAD/FBD functions in the command library 1 .67 4.11.2 Inserting elements/functions from the command library 68 4.11.3 Unusable command library functions. 68 4.11.4 Special features of the command library .69 4.12 General information about variables and data types 4. 12.1 Overview of variable types 70 4.12.2 Scope of the declarations 4.12.3 Rules for identifiers 4.12.4 Frequently used arrays in declarations 4. 12.4.1 Array length and array element 4.1242Initial value 4.12.4,3 Comments 74 4.13 Data Types 74 4.13.1 General 74 4.13.2 Elementary data types 5 4.13.2. 1 Value range limits of elementary data types 面面面面 7 4.13.2.2 General data types.... 78 4. 13.2.3 Elementary system data types aa..::a“aaaa 8 4.13.3 Derived data types... 79 4.13.3. 1 Defining user-defined data types(UDT) 9 4.13.3.2 Scope of the data type declaration 4. 13.3.3 Defining structures 4.13. 3.4 Defining enumerations 4.13. 4 Technology object data types 80 4. 1 Description of the technology object data types 80 4. 13.4.2 Inheritance of the properties for axes ........ 82 4.13.5 System data types 画面面 SIMOTION LAD/FBD Programming and Operating Manual, 08/2008 Table of contents 4.14 Variables 面面面 4.14.1 Variables 83 4.14.2 Keywords for variable types 83 4.14.3 Defining variables.. 4.14.3. 1 Defining variables 1国国面面国面面“ 面B面 4. 14.3.2 Use of global device variables 84 4. 14.3.3 Declaring a unit variable in the source file 85 4. 14.3.4 Declaring local variables 4. 14.3.5 Detining global user variables and local variables in the variable declaration dialog box 88 4.14 4 Time of the variable initialization 90 4. 14.4.1 Initialization of retentive global variables 90 4. 14.4.2 Initialization of non-retentive global variables 4. 14.4.3 Initialization of local variables 93 4. 4.4 Initialization of static program variables 93 4.14.4.5 Initialization of instances of function blocks( FBs) 4. 14.4.6 Initialization of system variables of technology objects 95 4.14.4.7 Version id of global variables and their initialization during download 96 4.15 Access to inputs and outputs(process image, I/0 variables) 98 4.15.1 Overview of access to inputs and outputs 98 4.15.2 Important features of direct access and process image access 4.15.3 Direct access and process image of cyclic tasks .101 4. 15.3. 1 Rules for 1/O addresses for direct access and the process image of the cyclical tasks 103 4. 15.3.2 Creating l/O variables for direct access or process image of cyclic tasks 10 4. 15.3.3 Syntax for entering IO addresses .106 4. 3. 4 Possible data types of l/O variables.......... 107 4.15.4 Access to fixed process image of the Background ask.. 107 4.15. 4.1 Absolute access to the fixed process image of the Background Task(absolute Pl access).108 4. 15.4.2 Syntax for the identifier for an absolute process image access 109 4.15.4.3 Defining symbolic access to the fixed process image of the background Task 110 4.15.4. 4 Possible data types for symbolic Pl access 4. 15.4.5 Example: Defining symbolic access to the fixed process image of the Background Task 4. 15.4.6 Creating an IO variable for access to the fixed process image of the Background T ask 4. 15.5 Accessing I/O variables 113 4.16 Connections to other program source files or libraries 114 4.16.1 Defining connections 115 4. 16.1.1 Procedure for defining connections to other units(program source files) 115 4.16.1.2 Procedure for defining connections to libraries 4. 16.2 Using the name space 116 4.17 Subroutin 117 4.17 Limitations with advance signal switching 117 4.17.2 Interface adjustment with FB/FC 118 4. 17.3 Creating a function block instance 120 4.18 Reference data 121 4.18.1 Cross reference list 121 4. 18.1.1 Creating a cross-reference list 4.18.1.2 Content of the cross-reference list 122 4.18.1.3 Working with a cross-reference list 123 4.18.2 Program structure 123 4. 18.2.1 Content of the program structure 124 4.18.3 Code attributes 面面 125 4.18.3.1 Code attribute contents 125 SIMOTION LAD/FBD Programming and Operating Manual, 08/2008 Table of contents 5 Functions,…, ,127 5.1 Lad bit logic instructions 127 5.1.1 No contact 128 5.1.2 |- NC contact....…… 129 5.1.3× OR Linking E× CLUSIVE OR 5.14 NoTl---Invert signal state .131 ) Relay coil, output…… 132 5.1.6 -(#)---Connector(LAD) 133 5.1.7 (R)Reset output(LAD).... 134 5.1.8 S)Set output (LAD) 135 5.1.9 RS Prioritize reset flipflop ..: 136 5.1.10 SR Prioritize set flipflop 137 51.11( N Scan edge1->0(LAD)-…… .138 5.1.12-(P)-Scan edge 0->1 ( LAD) 139 5.1.13 NEG edge detection(falling) 140 5. 1.14 POS edge detection(rising) 141 5.1.15 Open branch 142 5.1.16 Close branch 142 5.2 FBd bit logic instructions 143 5.2.1 and box 144 5.2.2 >=1oR box 145 5.2.3 XOR EXCLUSIVE OR box .1446 6.2. 4 Inserting a binary input 147 5.2.5 -o Negating a binary input 148 5.2.6 =] Assignment 149 5.2.7 Connector(FBD).............. 1画4L国 …150 5.2.8 [R] Reset assignment (FBD 151 5.29s] Set assignment(FBD)…… 5.2. 10 RS Prioritize reset flipflop 153 5.2.11 SR Prioritize set flipflop 154 5.2.12 [N Scan edge 1->0(FBD) 155 5.2.13 [P] Scan edge0->1 (FBD) 156 5.2.14 NEG edge detection(falling 157 6. 2.15 POS edge detection(rising) ..158 Comparison operators 5.3.1 Overview of comparison operations .159 5.3.2 CMP Compare numbers 159 5.4 Conversion instructions 111 162 5.4.1 TRUNC Generate integer 162 5.4.2 Generating numeric data types and bit data types 63 5.4.3 Generating date and time 167 55 Edge detection.… 168 5.5. 1 Detection of rising edgeR_ TRIG 16 5.5.2 Detection of falling edge F_TRIG 169 56 Counter operations 7 5.6.1 Overview of counter operations 5.6.2 CTU up counter 170 5.6.3 CTU_DINT up counter 5.64 CTU UD| NT up counter……… 172 5.6.5 Ctd down counter 173 566 ctd dint down counter. 5.6.7 Ctd DInt down counter 175 SIMOTION LAD/FBD Programming and Operating Manual, 08/2008 Table of contents 5.6.8 CTUD incrementer/decrementer 176 5.6.9 CTUD DINT incrementer/decrementer 177 5.6.10 CTUD UDINT incrementer/decrementer 178 Jump instructions 179 5.7.1 Overview of jump operations 179 5.72 -(JMP )Jump in block if 1(conditional) 179 57.3 MPN) Jump in block ifo (conditional) .180 5.7.4 LABEL Jump label 180 5.8 Non-binary logic 181 5.9 Arithmetic operators 182 5. 10 Numeric standard functions 184 5.10.1 General numeric standard functions 184 5. 10.2 Logarithmic standard functions 185 5.10.3 Trigonometric standard functions 186 187 5.11.1 MOVE Transfer value.…… 187 5.12 Shifting operations 188 5. 12. 1 Overview of shifting operations 5.12.2 SHL Shift bit to the left …188 5. 12. 3 SHR Shift bit to the right 189 5.13 Rotating operations 190 5.13.1 Overview of rotating operations 190 5.13.2 Ro Rotate bit to the left 5.13.3 RoR Rotate bit to the right .191 5.14 Program control instructions 5. 14.1 Calling up an empty box 193 5. 14.2 RET Jump back 194 5.15 Timer instructions 195 5. 15.1 TP pulse 195 5.152 TON oN delay.… 196 5.153 TOF OFF delay…… 面面面 8国面 197 5.16 Selection functions 198 5. 16. 1 SEL Binary selection 198 5. 16.2 MAX Maximum function 199 5.16.3 MIN Minimum function 5. 16.4 LIMIT Limiting function 20 5.16.5 MUX Multiplex function............... 202 6 Commissioning( software)……… 203 6.1 Commissioning 203 6.2 Assigning programs to a task 203 Execution levels and tasks in simotion 205 6.4 Task start sequence................ 207 Downloading LAD/FBD programs into the target system 208 Debugging Software/Error Hand ling.... 209 Modes for program testing 209 7.1.1 Modes of the simotion devices 209 SIMOTION LAD/FBD Programming and Operating Manual, 08/2008 Table of contents 7.1.2 Important information about the life-sign monitoring 211 7.1.3 Life-sign monitoring parameters 213 2 symbol Browse………………………………… sv haracteristics 214 7.2.2 Using the symbol browser 214 7.3 Watch tables .215 7.3.1 Monitoring variables in watch table…… 215 7.4 7.5 Program run .217 7.5.1 Program run: Display code location and call path 217 7.5.2 Parameter call stack program run 218 7.5.3 Program run toolbar 218 7.6 Program status(monitoring program execution 219 7.6.1 Starting and stopping the program execution monitoring 219 Breakpoints(WS)… 221 7. 7.1 General procedure for setting breakpoints 7.7.2 Setting the debug mode 222 7.7.3 Define the debug task group 23 7.7.4 Setting breakpoints 面面 .225 7.7.5 Breakpoints toolbar 227 7.7.6 Defining the call path for a single breakpoint 228 7.7.7 Defining the call path for all breakpoints 230 7.8 Activating breakpoints 7.7.9 Display call stack 234 Application EXamples 235 8.1 E: xamples 235 8.2 Creating sample programs .235 8.3 Blinker program ..236 8.3.1 Insert LAD/FBD source file 236 8.3.2 Insert LAD/FBD program 239 8.3.3 Entering variables in the declaration table 8.3.4 Entering a program title 242 8.3.5 Inserting network 242 8.3.6 Inserting an empty box 243 8.3.7 Selecting box type 243 8.3.8 Parameterizing the ADd call-up 面面留 a-8... 245 8.3.9 Inserting comparator.......... 45 8.3.10 Labeling the comparator.….… 8.3.11 Initializing a coll 247 8.3.12 Inserting next network 248 8.3.13 Details view 248 8.3.14 Compiling 248 83.15 Assigning a sample program to an execution level……… 250 8.3.16 Starting sample program 251 8.4 Position axis program 8.4.1 Insert LAD/FBD source file 253 8.4.2 Insert LAD/FBD program 253 8.4.3 Inserting a to-specific command 255 8.4. 4 Assigning parameters to the to-specific_enableaxis command .258 8.4.5 Setting call parameters for the_pos command 258 SIMOTION LAD/FBD Programming and Operating Manual, 08/2008 Table of contents 8.4.6 Running the sample program 26 8.4.7 Details view.… 26 8.4.8 Compiling 画面1 261 8.4.9 Assigning a sample program to an execution level .261 8. 4.10 Starting sample program 262 A Append.,,,,,,,,,…,,…, 26 A.1 Key combinations… 263 A.2 Protected and reserved identifiers 265 Index 267 SIMOTION LAD/FBD 10 Programming and Operating Manual, 08/2008

...展开详情
试读 127P 西门子SIMOTION LAD_FBD编程说明书.pdf
立即下载 低至0.43元/次 身份认证VIP会员低至7折
一个资源只可评论一次,评论内容不能少于5个字
weixin_38744207 欢迎大家使用并留下宝贵意见
2019-10-10
  • 至尊王者

    成功上传501个资源即可获取
关注 私信 TA的资源
上传资源赚积分or赚钱
    最新推荐
    西门子SIMOTION LAD_FBD编程说明书.pdf 50积分/C币 立即下载
    1/127
    西门子SIMOTION LAD_FBD编程说明书.pdf第1页
    西门子SIMOTION LAD_FBD编程说明书.pdf第2页
    西门子SIMOTION LAD_FBD编程说明书.pdf第3页
    西门子SIMOTION LAD_FBD编程说明书.pdf第4页
    西门子SIMOTION LAD_FBD编程说明书.pdf第5页
    西门子SIMOTION LAD_FBD编程说明书.pdf第6页
    西门子SIMOTION LAD_FBD编程说明书.pdf第7页
    西门子SIMOTION LAD_FBD编程说明书.pdf第8页
    西门子SIMOTION LAD_FBD编程说明书.pdf第9页
    西门子SIMOTION LAD_FBD编程说明书.pdf第10页
    西门子SIMOTION LAD_FBD编程说明书.pdf第11页
    西门子SIMOTION LAD_FBD编程说明书.pdf第12页
    西门子SIMOTION LAD_FBD编程说明书.pdf第13页
    西门子SIMOTION LAD_FBD编程说明书.pdf第14页
    西门子SIMOTION LAD_FBD编程说明书.pdf第15页
    西门子SIMOTION LAD_FBD编程说明书.pdf第16页
    西门子SIMOTION LAD_FBD编程说明书.pdf第17页
    西门子SIMOTION LAD_FBD编程说明书.pdf第18页
    西门子SIMOTION LAD_FBD编程说明书.pdf第19页
    西门子SIMOTION LAD_FBD编程说明书.pdf第20页

    试读结束, 可继续阅读

    50积分/C币 立即下载 >