ABB_800xA学习笔记184:System_800xA_Control_6.0_AC_800M_Getting_Started_24-第三章mydoors8
标签:
abbsystem_800xa_ac800m入门材料 |
分类: ABBDCS |
继续学习入门手册第三章
Creation of Logic
创建逻辑
The creation of logic in the diagram
editor involves inserting and connecting
the graphical
objects, which can be also be moved freely in the grid
area.
图表编辑器中逻辑的创建涉及插入和连接图形对象,它们可以在网格中自由的移动。
Making a Function Block Call in
Motors_Doors
在Motors_Doors页面进行功能块调用
1. Open the Motors_Doors page. In the grid area
right-click and select Insert > Variable. From the variable
list, select Photo_Cell and click Insert.
打开Motors_Doors 页面。在网格区域点击鼠标右键,选择插入>变量。从变量列表选择 Photo_Cell,点击插入。
2. Drag one port of Photo_Cell and connect to In
parameter of the OpenDoors function block graphically.
拖拽Photo_Cell 的端口,连接到 OpenDoors功能块图形的输入参数。
3. The variables can also be inserted by drag and
drop method. From the Variables tab, click the DoorsOpen_Time
variable and drag it to the grid area.
变量还可以通过拖放方法插入。从变量选项卡,点击DoorsOpen_Time变量,拖入到网格区域。
4. Insert the variables Motor_1 and Motor_2 using
any of the methods. The variable DoorsOpen_ET is already present in
the grid area. Connect these three variables to the parameters as
in Figure 27.
使用任一方法插入变量Motor_1和Motor_2。按照图27变量DoorsOpen_ET已经存在于网格区域。连接这三个变量到参数。
Figure 27. Variable connections to
OpenDoors Function Block
图 27. 变量连接到OpenDoors功能块
The variables can also be connected
by right-clicking the port and selecting Connect. In the Connect
dialog, enter the first few characters of the variable to select
the variable from the list. Click OK.
变量还可以通过右键点击端口,选择连接来连接。在连接对话框,输入变量的前几个字母,从列表选择变量。点击OK
If the variable is not declared
earlier, after entering the variable name in the Connect dialog, a
Declare Variable dialog is shown. Select Variable or Communication
Variable, and click Declare.
如果前面没有声明变量,在连接对话框输入变量后,显示声明变量对话框。选择变量或者通讯变量,点击声明。
点击保存和关闭
What About the Q parameter in
TOf?
TOf的Q参数呢?
The output Q parameter is a Boolean
signal, which represents the status on the
door position
(open or closed) and is passed on to the motors. For both doors to
open, the Q
signal must be passed to both motors. The variables Motor_1 and
Motor_2 are connected as in the Figure 27.
输出Q参数是一个布尔信号,它代表们的位置状态(打开或者关闭),传递给电机。门都打开,Q信号必须传递给全部电机。变量 variables
Motor_1和 variables Motor_2如图27连接。

加载中…