加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

ABB_800xA学习笔记183:System_800xA_Control_6.0_AC_800M_Getting_Started_23-第三章mydoors7

(2023-11-26 19:24:10)
标签:

abb

system_800xa_ac800m

入门手册

分类: ABBDCS
继续学习入门手册第三章
Door Timer and Customer Counter with Function Blocks
使用功能块的门计时器和客户计数器
Timers and counters in Control Builder are normally represented as function block types and located in the Basic library. This example will declare one Timer (TOf), and two Counters (CTU) from the Basic library.
Control Builder 中的计时器和计数器通常表示为功能块类型,位于基本库当中。这个例子将从基本库声明一个计时器(Tof),和两个计数器(CTU)。
Declaring Function Blocks using Diagram Editor
使用图表编辑器声明功能块

Make sure the diagram editor for Diagram2 is open. The default code block (named Code) is the FD (Function Diagram) code block, which is a graphical editor (with visible grids) for adding graphical objects.
确认图表2的图表编辑器已经打开。默认代码块(命名为code)是FD代码块(功能图表),为用于添加图形对象的图形编辑器(有可见表格)。
The code block – Code – consists of a default page, named 1.
代码块-代码-名字为1的默认页组成
To start creating the logic in the editor for Diagram2:
为在图表2的编辑器开始创建逻辑:
1. Rename the default page as Motors_Doors:
重命名默认页为Motors_Doors
ABB_800xA学习笔记183:System_800xA_Control_6.0_AC_800M_Getting_Started_23-第三章mydoors7
Figure 21. Page 1 renamed as Motors_Doors
图 21. 第一页重新命名为Motors_Doors

2. In the grid area of the Motors_Doors page, right-click to open the context menu, and select New > Object. The New Object dialog opens.
Motors_Doors页的表格区域,鼠标右键点击,打开关联菜单,选择新建>对象。打开新建对象对话框。
ABB_800xA学习笔记183:System_800xA_Control_6.0_AC_800M_Getting_Started_23-第三章mydoors7
Figure 22. Opening the New Object dialog
图 22. 打开新建对象对话框
3. In the New Object dialog, select the TOf function block type from any of the two tabs:
在新建对象对话框,从下面两个u安详卡任一选择TOf功能块:
The List tab contains alphabetical list of all objects available in the inserted libraries in Project Explorer. Select TOf
列表选项卡包含项目资源管理器当中的按照字母顺序排序的所有可用对象,选择TOf
The Tree tab displays a tree structure to navigate to the required object. Go to Connected Libraries > BasicLib > Function Block Types, and select TOf.
树形选项卡显示用于导航所需要的树形结构,选择TOf
4. After selecting TOf, enter OpenDoors in the Name field as shown in Figure 23.
选择Of后,如图23所示,在名字框输入 OpenDoors 
ABB_800xA学习笔记183:System_800xA_Control_6.0_AC_800M_Getting_Started_23-第三章mydoors7
Figure 23. New Object dialog
图 23. 新建对象对话框
5. Click Insert, and then click Close to close the dialog. OpenDoors function block is inserted as in the Figure 24.
点击插入,然后点击关闭,关闭对话框。如图24,插入了OpenDoors功能块。
6. In the declaration pane for Function Blocks, add the description ‘Timer for Motor’ corresponding to the OpenDoors row.
在功能块声明页,给OpenDoors 添加描述‘Timer for Motor’。
ABB_800xA学习笔记183:System_800xA_Control_6.0_AC_800M_Getting_Started_23-第三章mydoors7
Figure 24. Declare TOf Function Block Type in Motors_Doors page
图 24.  Motors_Doors 页声明TOf功能块类型
7. Add a page, by selecting Insert > New Page or, right-click on the grid area and select Pages > Add New Page. Rename the new page as Number_of_customers.
添加一个页面,通过选择插入>新建页面,或者右键点击网格区域,然后选择页面>添加新页面。重新命名新页面为 Number_of_customers
8. Open the Number_of_customers page in the diagram editor. In the grid area of code pane, right-click and select New > Object from the context menu. The New Object dialog opens.
在图表编辑器打开Number_of_customers。在代码面板的网格区域,右键点击,从关联菜单选择新建>对象。打开新建对象对话框。
9. Select CTU from the list and enter Customer_Count_Up in the Name field. Click Insert and close the dialog.
从列表选择CTU,在名字框输入Customer_Count_Up。点击插入,然后点击关闭对话框。
10. Customer_Count_Up function block is created as in the Figure 25. Add the description according to Figure 25.
如图25创建Customer_Count_Up功能块。按照图25添加描述.
ABB_800xA学习笔记183:System_800xA_Control_6.0_AC_800M_Getting_Started_23-第三章mydoors7
Figure 25. Declare CTU Function Block Type in Number_of_Customers page
图 25. 在Number_of_Customers页面声明CTU功能块类型
11. Add a third page, by selecting Insert > New Page or, right-click on the grid area and select Pages > Add New Page. Rename the new page as Service_On_Doors.
添加第3页,通过选择插入>新建页面,或者右键点击网格区域,选择页面>新建页。重命名页为Service_On_Doors
12. Open the Service_On_Doors page in the diagram editor. In the grid area of code pane, right-click and select New > Object from the context menu. The New Object dialog opens.
在图表编辑器打开Service_On_Doors页。在代码面板的网格区域,右键点击,从关联菜单选择新建对象。打开新建对象对话框。
13. Select CTU from the list and enter Service_Count_Doors in the Name field. Click Insert and close the dialog.
从列表选择CTU,在名字框输入Service_Count_Doors。点击插入,然后点击关闭对话框。
14. Service_Count_Doors function block is created as in the Figure 26. Add the description according to Figure 26.
如图26创建Service_Count_Doors功能块。按照图26添加描述。
ABB_800xA学习笔记183:System_800xA_Control_6.0_AC_800M_Getting_Started_23-第三章mydoors7
Figure 26. Declare CTU Function Block Type in Service_On_Doors page
图 26. 在Service_On_Doors 页面声明CTU功能块类型
For more information about the TOf and the CTU function blocks, open the Control Builder Online Help. Simply place the cursor in the Function Block Type cell (for example TOf), and press F1.
更多关于TOf和CTU的信息,打开Control Builder在线帮助。只需将光标放在功能块类型单元格(例如 TOf)中,然后按 F1。
15. Click Check ABB_800xA学习笔记183:System_800xA_Control_6.0_AC_800M_Getting_Started_23-第三章mydoors7 to check for errors
点击检查图标检查错误。

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有