ABB_800xA学习笔记178:System_800xA_Control_6.0_AC_800M_Getting_Started_18-第三章mydoors12
(2023-11-25 19:50:18)
标签:
abb800xasystem_800xa_ac800m入门手册 |
分类: ABBDCS |
继续学习第三章
Building a Shop Door Project
创建一个商店门项目
At the end of the MyDoors project,
you will test your application in the Control Builder Test mode. By doing so, the
Control Builder helps you to verify,
in a secure
way, how variable values and conditions are changing during a
diagram execution.
在Mydoors项目结尾,你将在Control Builder测试模式测试你的应用程序。通过这样做,Control
Builder帮助你以安全的方式验证变量和条件在图表执行期间的变化情况。
Before you create your project and start
writing code, take a brief moment and
study the given
specifications and the suggested variable definitions
below.
在创建项目和编写代码之前,花点时间学习给定的规范和下面给出的变量定义的建议。
Specifications
规范
This project will simulate the entrance to a
store. The following specifications
are given:
此项目将模拟商店的入口。下面的规范是鉴于:
- The entrance consists of two sliding doors that open when a customer activates a photocell.
- 入口由两个推拉门组成,当客户激活光电管时,推拉门就会打开。
- Each door is opened and closed by its own motor
- 每个门由它自己的电机打开和关闭
- The doors return to default position (closed) five seconds after the last activation of the photocell. Consequently, several customers arriving one after the other will extend the time the door remains open.
- 光电管最后一个动作后5秒,门回到默认位置(关闭状态)。因此客户一个接着一个到达会延长门保持打开的时间。
- The number of customers is recorded for statistics. Manual reset of this counter should be possible.
- 客户的数量被记录统计。可以手动复位此计数器。
- The total number of times the doors have opened since they were last serviced should be recorded.
- 应该记录从上一次维修门之后的打开次数
- Each opening of the doors should increment a counter. When the counter reaches a preset limit, a flag should indicate that service is required. Manual reset of the flag should be possible.
- 每一i打开门将增加计数器。当计数器达到预设的显示,将指示需要维护的标志。应可以手动复位此标志。