ABB_800xA学习笔记290:System_800xA_Control_6.0_AC_800M_Configuration80

标签:
abbsystem_800xa_ac800m配置手册功能和组件 |
分类: ABBDCS |
继续学习ABB 800xA 配置手册第一章功能和组件,进入第172页。
Interval Time
间隔时间
The interval time, during which the program is executed, is
set in the Task Properties dialog box. Default values are 50 ms
(Fast), 250 ms (Normal) and
1000 ms
(Slow). You can change these values at any time. For a
time-critical task, the interval time can be as short as 1 ms. The
interval time of tasks of priority 1–
5 cannot be
less than 10 ms. The resolution is 1 ms.
执行任务的间隔时间是在人物属性对话框设置的。默认值是50ms(快速任务),250ms(普通任务),1000ms(慢速任务)。你可以在任何时间修改这些数值。对于时间关键任务,间隔时间可以短至1ms.任务的间隔时间。优先级为1-5的任务的间隔时间不能短于10ms。分辨率为1ms。
If two tasks have the same
priority, and they both wait for execution, the task
with the shortest
interval time will be executed first.
如果两个任务有相同的优先级,它们同时等待执行,间隔时间短的那个最先执行。
All task intervals must be
multiples of each other. The shortest interval is the "time
base".
所有任务间隔必须是彼此的倍数。最短的间隔是“时基”。
Execution
Example
执行例子
Figure 68 shows two tasks
executing in the same system. Task 1 and task 2
have interval
times of 30 and 200 ms, and execution times of 10 and 50 ms,
respectively.
图
68显示了同意系统中两个任务执行。任务1和任务2的间隔时间为30ms和200ms,执行时间分别为10ms和50ms。
When the tasks have been
assigned the same priority, the execution start time of
task 1 is very
much delayed. It also drops one execution.
当任务被分配了相同的优先级时,任务 1
的执行开始时间会大大延迟。它还会删除一个执行。
Figure 68. Execution of two tasks with the same
priority.
图 68. 相同优先级的两个任务执行