ImageVerifierCode 换一换
格式:DOCX , 页数:13 ,大小:60KB ,
资源ID:22823043      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/22823043.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(ABB DCS 系统 培训课程 系列讲座 Control ModulesWord文件下载.docx)为本站会员(b****8)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

ABB DCS 系统 培训课程 系列讲座 Control ModulesWord文件下载.docx

1、 Connect Control Modules to parameters/variables. Use Control Modules in the graphics. Modify a Control Module. Create Control Modules using other Control Modules, in a new library. Visualizing the program using graphics. Describe the idea of object orientation. Describe the advantages/drawbacks of

2、connecting to I/O in different depths (to global variables, to program variables, to FB variables, using an I/O-record etc.). Create simple interaction windows associated to Function Blocks or Control Modules.17.1.3 Reference DocumentationUse the online help: Contents tab, Control Module Diagram Edi

3、tor17.2 Lesson 1 - Using Control Modules17.2.1 DescriptionThis lesson describes the advantages of the ABB Control Modules and is an introduction to how an Application can be organized when using them.17.2.2 ObjectivesOn completion of this lesson you will be able to:17.2.3 GeneralThe Control Module i

4、s the main structuring element for controller application programming. It is a self-executable container for application program code and graphics. Because a Control Module involves graphical objects, you create it by using not only the POU Editor, but also the Control Module editor. Control Modules

5、 are suitable for representing complex process objects and control of large applications. Working with Control Modules involves thorough object oriented programming, as much of the object control as possible should be encapsulated in the Control Module and the outward dependency should be minimized.

6、 Apart from conventional programming, the Control Module design may involve implementation of graphical interactivity.The compiler determines the application data flow and execution order of Control Modules automatically. Therefore, the final application gets flexible and easy to maintain as integra

7、tion of future additional Control Modules are done automatically. Control Modules can be structured hierarchically in a number of levels. You can use the same Control Module Type for several Control Modules, each performing different tasks depending on parameter connections.17.2.4 Difference between

8、 Function Block and Control Module17.2.4.1 General ComparisonThe most important differences between Control Modules and Function Blocks are summarized in the table below.PropertyControl ModuleFunction BlockExecution order*Automatic; compiler determined, based on data flow.Manual; code statements, ba

9、sed on program flow.Execution per scanThe code blocks are always executed once per scan according to data flow analysis.A function block can be called and executed, zero, one, or several times per scan.Static parameter connections*Yes. A most important feature: A static parameter connection does not

10、 change during execution; it can only be changed via code changes and recompilation. The static connections are set at compile time and yields efficient code generation; powerful, compiler-based program analysis; and better performance.No. Parameters are copied each time the Function Block is execut

11、ed according to the IEC61131-3 standard. For deep and complex hierarchies, the parameter copying of function blocks costs significant CPU time.Graphics*Yes, in three different ways; free-layout programming, supervision, and interaction.Indirectly via inclusion of sub Control Modules.ParametersIn_out

12、, can be connected to graphics. Connections cannot be inverted: NOT actual parameter name is invalid.).In, Out, or In_out, only In- and Out parameters can be connected to sub control modules.Together, the properties marked with * facilitate design of application libraries and re-use of complex appli

13、cation building blocks.17.2.4.2 GraphicsYou can design a Control Module to include interactive and supervisory process pictures (such as command buttons, input fields and trend curves). In addition, Control Modules can be represented by certain interactive icons which facilitates the process control

14、 and supervision.17.2.4.3 Execution and code sortingThe main difference between Control Modules and Function Blocks is that Control Modules are executed in an order based on optimal data flow, as determined by the compiler. The execution order of Function Blocks follows the program flow as implement

15、ed by the programmer. Control Modules are only executed once per scan whereas Function Blocks may be executed several times per scan.17.2.5 When is it suitable to use Control ModulesBefore you start to design an application, you should decide whether to use traditional (sequential) program code and

16、function blocks or an object-oriented solution based on control modules. Apart from personal preferences, the choice would typically depend on application size and the need for re-usable objects.As a general guideline, traditional programming is typically suitable for small applications whereas cont

17、rol modules are recommended for large applications. Control modules support object-oriented programming and code re-use to a greater extent and therefore make a large application more flexible and easier to maintain.The subsequent implementation will follow one of the branches in the figure below.Th

18、e figure shows that also the object-oriented solution typically involves function blocks. This is because object orientation below a certain complexity level is not justifiable. In this case, traditional programming with function blocks constitutes the most rational alternative.In summary, it is rec

19、ommended to use control modules rather than function blocks in the following cases: For large applications (increased performance) For process objects (code sorting facilitates application structuring) When a flexible solution is needed (object orientation; re-use is desired) When there is a need to

20、 concentrate the control of a certain object to one code location (facilitates maintenance) 17.2.5.1 The Control Module editorsThe Control Module editor is a combined tool for drawing and programming, it allows you to create and edit the graphical objects of a Control Module and then connect variabl

21、es to these objects. It also gives you direct access to the POU editor, in which you write the Control Module code and declare variables and parameters.You can both create new Control Modules and edit already existing ones with the Control Module editor. The drawing functions include not only basic

22、auto shapes (lines, rectangles, etc.), but also ready to use interaction objects (Option Buttons, Check Boxes, etc.) and composite objects (History Graphs, String Selectors, etc.). The graphical objects are dynamic, that is points can move with changing variable values, colors can change, numerical

23、values can be presented, etc.17.2.6 Creating a Control Module17.2.6.1 IntroductionA Control Module can be created either from the Project Explorer directly (text generated) or from a Control Modules Window (graphics generated). The following general properties apply: A Control Module always has a pa

24、rent POU. This POU Type can be a Control Module Type, Function Block Type, or an application. A Control Module can be shown graphically inside the graphic of the parent (if the parent is a module type or an application). A Control Module can also be shown (stand alone) in an interaction window (in o

25、nline mode only).17.2.6.2 Create a New, Graphics-Generated Control ModuleRight-click on a control module type in the project tree and select the Graphics entry to open the Control Module Type Window. Double-click in the drawing area to activate the grid. Select CreateControl Module. to open the Crea

26、te a Control Module dialog box in which you specify the Control Module name and associated Type. Except for that a graphics-generated Control Module by default becomes graphically visible, the above principles apply.17.2.7 ConnectionsControl Modules can be connected to each other in two different wa

27、ys; via graphics and via text. You implement graphical connections in the control modules window or the control module type window and text-based connections in the Connection Editor.You can reach the Connection Editor via the Connections entry, accessible when a control module is selected, choose (

28、ObjectsConnections) or Connections from right-click pop-up menu. A control module designed to be graphically connected have to be built with the nodes in place, ready for later connection. Graphical connections are suitable for obtaining a comprehensive view of main flows, for example in a PID Contr

29、oller comprising an input control module, a main control module, and an output control module. (Yet, observe that abundant use of graphical connections may slow down the system.)17.2.7.1 Textual connectionParameters can be connected to actual variables in the connection list of the Connection Editor. It is not possible to connect the same parameter both graphically and textually. Textual connection is the only way to connect parameters when the control module is subordinate to a Function Block, as no surrounding graphics then exist.17.2.7.2 Graphical connectionGraphical

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1