加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

ABB_800xA学习笔记290:System_800xA_Control_6.0_AC_800M_Configuration80

(2023-12-29 13:43:40)
标签:

abb

system_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 的执行开始时间会大大延迟。它还会删除一个执行。
ABB_800xA学习笔记290:System_800xA_Control_6.0_AC_800M_Configuration80
Figure 68. Execution of two tasks with the same priority.
图 68. 相同优先级的两个任务执行
In Figure 69, task 1 has higher priority than task 2, and interrupts the execution of task 2. Hence task 1 is not delayed much by task 2.
在图69中,任务1的优先级高于任务2,并中断了任务2 的执行。因此,任务1不会因任务2而延迟太多。
ABB_800xA学习笔记290:System_800xA_Control_6.0_AC_800M_Configuration80
Figure 69. Execution of two tasks with different priorities.
图 69. 执行两个优先级不同的任务



0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有