<< 点击显示目录 >> 主页
mappServices帮助手册 > mapp IO 管理硬件配置 > 概念 Restoring the hardware configuration |
mapp IO 提供了一种机制,可监控硬件配置是否被外部修改(即不使用 mapp IO),例如通过 AS 下载或使用 AR 工具中心。如果在 mapp IO 激活时以这种方式更改了硬件配置,则 会触发警报。
检查是否应恢复硬件配置
当 mapp IO 激活时,系统会检查备份文件设备的硬件配置和从 ROM 加载的硬件配置是否相同。如果不一致,则说明硬件配置被外部修改(即未使用 mapp IO)。mapp IO 现在必须决定是保留新的硬件配置,还是重新激活通过 mapp IO 导入的最后配置。用户可以使用 MpIOImport上的参数 "ImportAllowed(允许导入)"来控制这一决定 。
如果输入 "ImportAllowed = TRUE",可能会导致控制器重启;重启完成后,导入的硬件配置将再次激活。如果不需要这种自动还原程序,可以使用 MpIOImport 上的 输入 "ImportAllowed = FALSE" 来阻止它 。
这意味着即使在 AS 下载 (1) 后 ,如果配置不匹配 (2),控制器也可以自动重启("ImportAllowed = TRUE")。重启后,将导入备份文件设备的配置 (3)。"ImportAllowed=FALSE"可用于关闭自动恢复功能。
通过 "ImportAllowed(允许导入)"可在 mapp IO 中使用两种不同的功能:
•恢复硬件配置
•导入配置时的安全机制
有关其他信息,请参见此处。
mapp IO provides a mechanism that monitors whether the hardware configuration has been modified externally (i.e. not using mapp IO), for example via an Automation Studio download or using the Runtime Utility Center. If the hardware configuration is changed in this way while mapp IO is active, then an Alarm is triggered.
Check whether hardware configuration should be restored
When mapp IO is activated, the system checks whether the hardware configuration of the backup file device and the hardware configuration loaded from the ROM are identical. If this is not the case, then the hardware configuration was modified externally (i.e. not using mapp IO). mapp IO now must decide whether to keep the new hardware configuration or to reactivate the last configuration imported via mapp IO. The user can control this decision using parameter "ImportAllowed" on MpIOImport.
If input "ImportAllowed = TRUE", this may cause the controller to restart; once this is completed, the imported hardware configuration is active again. If this automatic restore procedure is not desired, it can be prevented using input "ImportAllowed = FALSE" on MpIOImport.
This means that even after an Automation Studio download (1) the controller can automatically restart ("ImportAllowed = TRUE") if the configurations do not match (2). After the restart, the configuration for the backup file device is imported (3). "ImportAllowed=FALSE" can be used to switch automatic recovery off.
Two different functions can be used in mapp IO via "ImportAllowed":
•Restoring the hardware configuration
•Security mechanism when importing a configuration
For additional information, see here.