新浪博客

ABB_800xA学习笔记231:System_800xA_Control_6.0_AC_800M_Configuration21

2023-12-09 20:24阅读:
继续配置手册第一章基本功能和组件,这一篇进入手册第59页内容。
Diagram and Diagram Types
图表和图表类型
Diagrams are created under an application, and diagram types (which can be reused as instances in a diagram) are created under a library or under the same application as the diagram.
图表在应用程序下面创建,图表类型在库下面或者在和图表相同的应用程序下创建。
The FD code blocks in diagrams and diagram types allow mixing of functions, function blocks, control modules, and other diagrams, and graphically connect them to achieve a particular logic.
图表和图表类型的代码块允许混合功能、功能块、控制模块和其他图表,并以图形方式连接它们以实现特定的逻辑。
Figure 17 shows the workflow for using diagrams and diagram types.
图17展示了使用图表和图表类型的工作流程。
ABB_800xA学习笔记231:System_800xA_Control_6.0_AC_800M_Configuration21

Figure 17. Workflow for using Diagrams and Diagram Types
图 17. 使用图表和图表类型的工作流程
Figure 18 shows the editor for a diagram POU under an application.
图18展现了应用程序下的图表程序组织单元
ABB_800xA学习笔记231:System_800xA_Control_6.0_AC_800M_Configuration21
Figure 18. Editor for Diagram POU
图 18. 图表程序组织单元POU的编辑器
The diagram editor consists of declaration pane and code pane. The code pane contains a grid area where you add the objects and create graphical connections.
图表编辑器由声明窗格和代码窗格组成。代码窗格包含网格区域,你可以在其中添加对象并创建图形连接。
The editor for diagram type also looks similar. The editor for a top level diagram (under the application) differs from a Program editor in following ways:
图表类型编辑器看起来类似。顶级图标编辑器(在应用程序下)与程序编辑器在以下方面不一样:
  • The first code tab is always a FD language tab. 第一个代码选项卡总是FD语言选项卡
  • Additional code block tabs can be created, but only for ST and SFC. 可以创建其他代码块选项卡,但仅适用于 ST 和 SFC
  • Two additional tabs – Control Modules and Diagrams – are available in the declaration pane.声明窗格中提供了两个附加选项卡 - 控制模块和图表。

The editor for a diagram type (under the application or library) differs from a diagram editor in following ways:
图表类型的编辑器(在应用程序或库下)与图表编辑器在以下方面有所不同:
  • There is a Parameter tab instead of a Communication Variables tab in the declaration pane 声明窗格中有一个“参数”选项卡,而不是“通信变量”选项卡。
  • There are no I/O Address or Access Variables columns in the Variables tab. “变量”选项卡中没有“I/O 地址”或“访问变量”列。

The diagram editor or diagram type editor has one mandatory FD code block. Only one FD code block is allowed within this POU. It is allowed to have several optional ST and SFC code blocks in the diagram editor or diagram type editor.
图表编辑器或者图标类型编辑器有一个必须的FD代码块。此程序组织单元POU只允许有一个FD代码块。在图表编辑器或者图表类型编辑器中允许有好几个ST或者SFC代码块。
Figure 19 shows the editor for a diagram after it is edited (to create an example logic).
图 19展现了图表编辑器在编辑后的样子(创建一个例子逻辑)
ABB_800xA学习笔记231:System_800xA_Control_6.0_AC_800M_Configuration21
Figure 19. Editor for diagram POU with an example logic created
图 19.逻辑示意图 POU 编辑器,已创建示例逻辑

我的更多文章

下载客户端阅读体验更佳

APP专享