ABB_800xA学习笔记286:System_800xA_Control_6.0_AC_800M_Configuration77

标签:
abbsystem_800xa_ac800m配置手册功能和组件 |
分类: ABBDCS |
继续学习ABB
800xA配置手册第一章功能和组件,进入第168页。
Connect a Task to a
Program
连接任务到程序
To connect the task SuperFast to
Program1:
要将任务SuperFast 连接到Program1:
1. Right-click
Program1 and select Properties > Task Connection. A ‘Task
Connection’ dialog box opens.
右键点击Program1
,选择属性>任务连接。打开任务连接对话框。
2. Select a task
from the drop-down menu (here SuperFast) and click OK.
从下来菜单选择任务(这里是SuperFast),点击OK按钮
Figure 67. Program1 has changed task
to Superfast.
图 67. Program1修改任务到Superfast
Function Blocks with Different Task
Connections
有不同任务连接的功能块
You can connect function blocks
inside a program to a task different from the
one connected to
the program, (right-click on the function block and select
‘Task Connection’).
你能够连接程序中的功能块到任务,不同于程序连接的任务(右键点击功能块,选择任务连接)也就是程序连接任务A,程序中的功能块可以连接任务B
However, variables inside the function block
that pass values to and from the function block are controlled by the program
task. The code in the function
block will
run according to its task, but the parameters will be updated
according to the program task. This means, in practice, that the
function block in a program can
only run at
a slower, or a least at the same, speed as the program. However, if
you use external variables or connect I/O directly to
the function block, there will be a
direct reference, independent of the task cyclicity of
the function block.
然而,传递给功能块内部的数值,和从功能块传递出的数值由程序任务控制。(意思就是说尽管程序连接任务A,程序中功能块连接任务B,传递给功能块的数值和功能块传递出来的数值由程序连接的任务控制)功能块内部的代码由功能块连接的任务运行,但是功能块的参数根据程序连接的任务更新。
To
set-up specific time intervals and task priority different from the
task connected to
the application whilst for example, designing libraries, can be
done by declaring and using global variables, or by using
parameters.
要设置与连接到应用程序的任务不同的时间间隔和优先级,例如,设计库,可以通过声明和使用全局变量或使用参数来完成。
For
more information, see Control the Execution of Individual Objects
on page 113.
更多信息,见第113页控制执行单个对象。