描述
如果在Calculate H Parameters对话框中输入用于特殊处理的循环中断的循环时间,在“Update Reserve: Calculation of Monitoring Times”中的“Time interval of high priority cyclic interrupt or cyclic interrupt with special handling”值会保持。只有当参数手动复位后,H参数才能重新计算成其他的值(比如,如果循环中断OB改变,或者所使用的循环中断OB的循环时间修改)。n
这种现象存在于PCS 7 V7.1和 PCS 7 V7.1 SP1中。n
步骤
按照如下操作来计算一个不同的或者是修改了的循环中断OB:
序号. |
步骤 |
1 |
复位当前值 n
- 打开CPU的“Properties”对话框,选择“H Parameters”菜单项。n
- 在“Cyclic interrupt OB with special handling:”中输入0。n
- 取消选择“Use only calculated values”。
图. 01: 复位 OB 号n
- 点击“Calculate…”按钮。n
- 在“Update Reserve…”对话框中,在“Time interval of high priority cyclic interrupt…”和“Runtime of the cyclic interrupt concerned”中输入0。n
- 点击”OK”按钮。
图. 02: 复位 “User program information”
|
2 | 在新的循环中断OB中计算 n
- 在“Cyclic interrupt OB with special handling…”中输入所需OB(OB30到OB38).n
- 点击“Calculate…”按钮。n
- 现在,在“Update Reserve…”对话框中,正确值是在“Time interval of high priority cyclic interrupt…”中。这时可以做其它设置,重新计算监视时间。
图. 03: 重新计算监视时间
|
n
创建环境
此FAQ中的画面创建于PCS 7 V7.1 SP1中。n
原创文章,作者:ximenziask,如若转载,请注明出处:https://www.zhaoplc.com/plc332526.html