ABB_800xA学习笔记188:System_800xA_Control_6.0_AC_800M_Getting_Started_28-第四章硬件配置2
标签:
abbsystem_800xa_ac800m入门手册 |
分类: ABBDCS |
继续学习第四章硬件配置
Connect Variables to I/O
Channels
连接变量到IO通道
Communication between I/O channels
and code is established by connecting variables to I/O channels. Therefore, Control
Builder provides you with two different connection methods of choice. If this
is your first occasion with
Control Builder, you are advised to try both methods
for learning. The previous
MyDoors project will not be completed unless you follow
both methods.
通过连接变量到IO通道来建立IO通道和代码之间的通信。因此,Control
Builder为你提供了两种不同的方法。如果这是你首次使用Control Builder,建议你尝试两种学习方法。除非你同时执行两种方法,否则前面的MyDoors两无法完成。
Method 1, will connect the variable Photo_Cell
to the IO module DI810 by using dot notation. Method 2 - Using a Path Selector
on page 70, will connect the variables Motor_1 and Motor_2, to the IO module
DO814 via a path selector menu.
方法1,将使用点表示法连接变量Photo_Cell 到IO模板DI810。方法2,使用70页所示的路径选择器,通过路径选择菜单将连接变量 Motor_1和Motor_2到IO模板DO814
Method 1 - Using Dot
Notation
方法1 ,使用点表示法
Connecting the Photo cell to a DI810
Channel
连接 Photo_Cell到DI8410通道
Under the Controllers in Project
Explorer:
在项目浏览器中控制器下面
1. Double-click DI810 I/O module. The DI810
hardware editor opens
双击DI810 IO模板。打开DI810硬件编辑器
2. Select the Connections tab and place the cursor
in the first empty white cell.
选择连接选项卡,将光标置于第一个空白单元格
3. Type A (for Application_1) and observe how the
editor fills in the rest.
键入A(为Application_1),观察编辑器如何填充剩余部分。
4. Press “.” (dot) to move to the next level. All
three Programs will be displayed
键入"."(点)移动到下一级。所有的3个图表将显示出来
5. Select Diagram2, and press “.” (dot) again. A
list of variables will open.
选择Diagram2,再次键入"."(点)。将打开变量表
6. Select Photo_Cell in the list.
在列表中选择Photo_Cell
7. Press the ENTER key. The Photo_Cell variable
has been connected to the first channel in DI810.
按下回车键,Photo_Cell变量已经连接到DI810的第一通道。
Figure 36. The variable Photo_Cell
connected to first IO Channel.
图 36.
变量Photo_Cell 连接到第一通道
Method 2 - Using a Path
Selector
方法2 -
使用路径选择器
Connecting the Motors to DO814
Channels
连接Motors到DO814通道
From
the Controllers in Project Explorer:
从项目浏览器的控制器:
1. Double-click the DO814 I/O module. The hardware
editor for DO814 opens
双击DO81 IO模板。打开DO814硬件编辑器。
2. Select the Connections tab and place the cursor
in the first empty white cell (Channel QX0.11.1.1 in the Variable
column).
选择连接选项卡,将光标置于第一个空白单元格(在变量列QX0.11.1.1通道)
3. Right-click Insert > Insert Path From Tree
from the context menu. A list box opens.
右键点击插入>从关联菜单插入路径。打开列表框
The
Menu bar action Insert > Insert Path From Tree can also be done
by clicking the
icon
located in the hardware editor, or by pressing
CTRL+T inside the cell.
菜单栏动作插入>从树形插入路径,也可以通过点击硬件编辑上的插入图标来执行,或者通过在单元格按下CTRL+T。
4. Expand
Application_1 > Diagram2. Double-click Motor_1 to insert the
full path, see Figure 37.
展开 Application_1 >
Diagram2.双击 Motor_1插入完整路径,见图37
Figure 37. The path for Motor_1
variable selected in the tree.
图 37. 在树形中Motor_1变量路径
5. Place the cursor
in the second empty white cell (Channel QX0.11.1.2 in the Variable
column) and connect Motor_2, by yourself. Use the
icon
放置鼠标到第二个空白单元格(变量列QX0.11.1.2通道),连接变量 Motor_2,使用插入图标。

加载中…