欢迎访问瑞昌明盛自动化设备有限公司官网!
关于我们 | 联系我们

+86 15270269218

您的位置:首页>>产品中心 >> foxboro

1747-L532模块备件

型号: 1747-L532  分类: foxboro
  • 1747-L532
  • 1747-L532
  • 1747-L532
  • 1747-L532
  • 1747-L532


1747-L532

控制器可能出现故障操作!
在加载用于安全相关操作的用户程序之前,用户程序必须:
首先编译两次。生成的两个版本必须具有相同的CRC。
通过两次编译用户程序并比较生成代码的校验和,
用户可以检测由零星故障导致的用户程序的潜在损坏
在使用中的PC的硬件或操作系统中。
10.2.5下载和启动用户程序
HIMax系统中的PES在设置为停止状态之前无法下载。
加载过程包括项目配置的所有用户程序。系统监视
确保项目配置已完全加载。之后,可以执行用户程序
已启动,即例程开始循环处理。
HIMA建议在加载后备份项目数据,例如在数据存储介质上
用户程序进入控制器,甚至通过执行重新加载。
这样做是为了确保将与配置相对应的项目数据加载到
即使PADT发生故障,控制器仍然可用。
HIMA建议定期对数据进行备份,也与计划无关
负载
10.2.6重新加载
如果修改了用户程序,则更改可在运行期间传输至PES
活动经过操作系统测试后,修改后的用户程序将被删除
激活,并承担控制任务。
在重新加载梯级链时,我会考虑以下几点:
步骤序列的重新加载信息不考虑当前序列状态
账户步骤序列可以相应地改变并通过以下操作设置为未定义状态:
执行重新加载。
用户对此操作负责。
例如:
ƒ删除活动步骤。因此,梯级链中没有梯级处于活动状态。
ƒ在另一个步骤处于活动状态时重命名初始步骤。
因此,步骤链有两个活动步骤!
在重新加载操作时,我会考虑以下几点:
在重新加载期间,操作将加载相应的数据。全部潜力
在重新加载之前,必须仔细分析后果。
例如:
ƒ如果由于重新加载而删除了计时器操作限定符,则计时器将立即过期。
因此,根据其余设置,Q输出可以设置为真。
ƒ如果为集合元素删除了状态动作限定符(例如,S动作限定符),则
元素保持不变。
ƒ删除设置为TRUE的P0动作限定符会启动触发器。
10用户程序HIMax
48页,共64页HI 801 003 E版本4.00
在执行重新加载之前,操作系统会检查所需的其他任务是否已完成
将当前用户程序的周期时间增加到这样的程度
超过定义的看门狗时间。在这种情况下,重新加载过程因错误而中止
并且控制器继续使用先前的项目配置进行操作。
控制器可以中断重新加载。
通过在以下情况下为重新加载规划足够的储备,确保成功重新加载:
确定看门狗时间或暂时增加控制器看门狗的时间
储备
看门狗时间的任何临时增加必须与负责人协调
测试权威。
此外,超过目标循环时间也可能导致重新加载中断。
仅当允许重新加载系统参数设置为ON和ON时,才能执行重新加载
重新加载停用系统变量设置为OFF。
i用户负责确保看门狗时间包括足够的储备
时间这应允许PES管理以下情况:
ƒ用户程序周期时间的变化
ƒ突发、强循环负载,例如,由于通信。
ƒ通信期间的时间限制到期
有关看门狗时间的更多详细信息,请参阅3.2.2章。
10.2.7在线测试
在线测试字段(OLT字段)可在用户程序逻辑中用于显示变量
当控制器工作时。
有关如何使用OLT字段的更多信息,请将OLT字段用作SILworX的关键字
在线帮助,请参阅SILworX一步手册(HI 801 103 E)。
10.2.8单步模式
为了在在线测试期间诊断故障,用户程序可以在单个步骤中运行。,
一个循环一个循环。每个循环由来自PADT的命令触发。
仅当在中将“允许冻结”系统参数设置为“开”时,才能使用此功能
对应的用户程序。
状态描述
关闭单步模式是不可能的
可能采用单步模式(默认设置)
表14:允许用户程序开关冻结

安全相关操作可能出现故障!
单步模式不得用于安全相关操作!
10.2.9运行期间更改系统参数
某些系统参数可能在运行期间发生变化(在线)。提供了一个应用案例
临时增加看门狗时间以执行重新加载。
HIMax 10用户程序
HI 801 003 E版本4.00 Pa

1747-L532

1747-L532模块备件

1747-L532

Faulty operation of controller possible! Before loading a user program for safety-related operation, the user program must be first compiled twice. Both versions generated must have the same CRC. By compiling the user program twice and comparing the checksums of the generated code, the user can detect potential corruptions of the user program resulting from sporadic faults in the hardware or operating system of the PC in use . 10.2.5 Downloading and Starting the User Program A PES in the HIMax system cannot be downloaded until it is set to the STOP state. A load process includes all user programs of the project configuration. The system monitors that the project configuration is loaded completely. Afterwards, the user program can be started, i.e., the routine begins to be processed in cycles. i HIMA recommends backing up project data, e.g., on a data storage medium, after loading user programs into the controller, even by performing a reload. This is done to ensure that the project data corresponding to the configuration loaded into the controller remains available even if the PADT fails. HIMA recommends a data back up on a regular basis also independently from the program load. 10.2.6 Reload If user programs were modified, the changes can be transferred to the PES during operation. After being tested by the operating system, the modified user programs are activated and it assumes the control task. i Take the following point into account when reloading step chains: The reload information for step sequences does not take the current sequence status into account. The step sequence can be accordingly changed and set to an undefined state by performing a reload. The user is responsible for this action. Examples: ƒ Deleting the active step. As a result, no step of the step chain has the active state. ƒ Renaming the initial step while another step is active. As a result, a step chain has two active steps! i Take the following point into account when reloading actions: During the reload, actions are loaded with their corresponding data. All potential consequences must be carefully analyzed prior to performing a reload. Examples: ƒ If a timer action qualifier is deleted due to the reload, the timer expires immediately. Depending on the remaining settings, the Q outputs can therefore be set to TRUE. ƒ If the status action qualifier (e.g., the S action qualifier) is deleted for a set element, the element remains set. ƒ Deleting a P0 action qualifier set to TRUE actuates the trigger. 10 User Program HIMax Page 48 of 64 HI 801 003 E Rev. 4.00 Prior to performing a reload, the operating system checks if the required additional tasks would increase the cycle time of the current user programs to such an extent that the defined watchdog time is exceeded. In this case, the reload process is aborted with an error message and the controller continues operation with the previous project configuration. i The controller can interrupt a reload. A successful reload is ensured by planning a sufficient reserve for the reload when determining the watchdog time or temporarily increasing the controller watchdog time by a reserve. Any temporary increases in the watchdog time must be coordinated with the responsible test authority. Also exceeding the target cycle time can result in a reload interruption. The reload can only be performed if the Reload Allowed system parameter is set to ON and the Reload Deactivation system variable is set to OFF. i The user is responsible for ensuring that the watchdog time includes a sufficient reserve time. This should allow the PES to manage the following situations: ƒ Variations in the user program's cycle time ƒ Sudden, strong cycle loads, e.g., due to communication. ƒ Expiration of time limits during communication For more details on the watchdog time, refer to Chapter 3.2.2. 10.2.7 Online Test Online test fields (OLT fields) can be used in the user program logic to display variables while the controller is operating. For more information on how to use OLT fields, use OLT field as keyword for the SILworX online help and refer to the SILworX First Steps Manual (HI 801 103 E). 10.2.8 Single Step Mode To diagnose faults during the online test, the user program can be run in single steps, i.e., cycle for cycle. Each cycle is triggered by a command from the PADT. This function can only be used if the Freeze Allowed system parameter is set to ON in the corresponding user program. State Description OFF Single step mode impossible ON Single step mode possible (default setting) Table 14: User Program Switch Freeze Allowed NOTE Failure of safety-related operation possible! The single step mode must not be used in safety-related operation! 10.2.9 Changing the System Parameters during Operation Some system parameters may be changed during operation (online). An application case is the temporary increase of the watchdog time to be able to perform a reload. HIMax 10 User Program HI 801 003 E Rev. 4.00 Page 49 of 64 Prior to using an online command to set parameters, make sure that this change will not result in a dangerous state. If required, organizational and/or technical measures must be taken to exclude the accident. The safety time and watchdog time values must be checked and compared to the safety time required by the application and to the actual cycle time. These values cannot be verified by the PES! Table 11 specifies the parameters that can be changed during operation. 10.2.10 Program Documentation for Safety-Related Applications SILworX allows the user to automatically print the documentation for a project. The most important documentation includes: ƒ Interface declaration ƒ Signal list ƒ Logic ƒ Description of data types ƒ Configurations for system, modules and system parameters ƒ Network configuration ƒ List of signal cross-references This documentation is required for the acceptance test of a system subjected to approval by a test authority (e.g., TÜV). 10.2.11 Multitasking Multitasking refers to the capability of the HIMax system to process up to 32 user programs within the processor module. The individual user programs can be started, stopped and loaded (even reloaded) independently from one another. A user program cycle can take multiple processor module cycles. This can be controlled with the parameters of the resource and user program. SILworX uses these parameters to calculate the user program watchdog time: Watchdog timeuser program = watchdog timeprocessor module * maximum number of cycles Usually, the individual user programs run concurrently in a non-reactive manner. However, reciprocal influence can be caused by: ƒ Use of the same global variables in several user programs. ƒ Unpredictably long runtimes can occur in individual user programs if no limit is configured with Max Duration for Each Cycle. ƒ The distribution of user program cycle over processor module cycles strongly affects the user program response time and the response time of the variables written by the user program! ƒ A user program evaluates global variables written by another user program after at least one processor module cycle. In the worst case, the evaluation is performed with a delay of 32 processor module cycles. The reaction to changes performed to such global variables is thus delayed!



更多
查看更多 >>

推荐产品