工业控制机失控后从断点恢复运行的一种方法

来源 :电子技术 | 被引量 : 0次 | 上传用户:ldjlovell
下载到本地 , 更方便阅读
声明 : 本文档内容版权归属内容提供方 , 如果您对本文有版权争议 , 可与客服联系进行内容授权或下架
论文部分内容阅读
工业控制机在工业现场使用时,大量的干扰源虽不会造成硬件系统的损坏,但常常使工业控制机不能正常运行,甚至控制失灵,造成严重后果。微机受干扰后,最常见的问题是程序执行进入一种“跑飞”或“死机”状态,引起程序失控。防止程序运行失控的主要对策是能及时发现程序运行的失控并引导系统正常运行。目前常用的方法是设置一个监视跟踪定时器,定时时间稍大于主控程序正常运行的一个循环周期,让主控程序运行过程中执行一次定时器的刷新操作。这样只要程序正常运行,定时器就不会产生溢出信号而发生中断。但当程序“跑飞”失控后,不能刷新定时器,导致定时器溢出产生中断,再利用定时中断服务程序将系统复位,重新初始化,重新执行主控程序或进入错误处理程序。这种方法在微机监测系统中,效果是明显的,但在某些工业控制系统中,特别在一些生产过程或流水线中,由于生产过程或工序的逻辑顺序性,当程序失控后,常要求系统 Industrial control machine in the industrial site, a large number of sources of interference will not cause damage to the hardware system, but often make the industrial control machine can not operate normally, and even control failure, resulting in serious consequences. After the computer is disturbed, the most common problem is that the program execution enters a state of “running off” or “crashing”, causing the program to run out of control. The main countermeasure to prevent the program from running out of control is to discover the out-of-control of the program running and guide the normal operation of the system in time. At present, a commonly used method is to set a monitoring and tracking timer, the timing time is slightly larger than one cycle of the normal operation of the master program, so that the master program runs and executes a timer refresh operation. So long as the program is running normally, the timer will not produce the overflow signal and cut off. But when the program “runaway” out of control, can not refresh the timer, resulting in timer overflow interrupt, and then use the timer interrupt service routine to reset the system, reinitialize, re-execute the master program or enter the error handler. This method in the computer monitoring system, the effect is obvious, but in some industrial control systems, especially in some production processes or assembly line, due to the logical sequence of the production process or process, when the program out of control, often require the system
其他文献
故障现象IBM—PC/XT硬盘不能自举,可以由A>转入C>,但C盘只能读不能写,如A驱动器引导,自检完内存后机器“嘟……”一声长鸣,A驱动器指示灯不熄,Ctrl—Alt—Del失效。一、分析
自1988~1989年间,我们主要对三年有机无机培肥的定位试验,盆栽试验以及不同肥力水平土壤酶活性进行了分析研究。从其研究结果可初步看出:1、不同肥力水平土壤酶活性不同。一
近期广为流行的CCDOS 2.13F汉字系统,以其功能强支持多类显示卡而深得用户喜爱,但在使用中感到其装入16点阵显示字库的方法不如希望公司的UCDOS 1.0。我们在分析了UCDOS和2.
微机应用系统开发完成后,在现场使用常常不能稳定可靠地运行,这是因为系统在设计、制造及运行环境中存在许多想象不到的不可靠因素。如系统设计不合理、元件质量差、电路不
他没有惊天动地的英雄壮举,也没有掷地有声的豪言壮语,他只是默默地在纪检监察战线上,用自己的实际行动践行着一个共产党员的职责,诠释着一个共产党人崇高的理想信念和高尚的
一、总体改革部署温家宝总理指出“改革决定中国的前途和命运”。国务院总理温家宝9月6日出席首届夏季达沃斯论坛年会开幕式,并回答了现场听众的提问。在回答 First, the ov
提问教学方案是提升初中语文教学质量的重点,依据现阶段初中语文教学提问方案实施的效果,结合近年来初中语文教学情况和实际教学特点,分析其中存在的问题,提出优质的初中语文
千百年来,木船经过江面总伴随着号子声。大船上滩时,纤夫很多,大家齐声呐喊,声音洪亮雄壮,荡气回肠,感觉地动山摇……渐渐地,这种吼声就变成了一种民间艺术——老腔。人们用
何媛姐姐是一位刚满21岁的漂亮女孩。她是我们敬爱的总理温家宝爷爷2004年6月10日到武汉市公安强制戒毒所视察时探望的戒毒学员代表之一。我很有幸与她结成了“不歧视、手拉
2000年以来,辽宁国有企业的生产经营状况有明显好转。国有大中型企业三年改革和脱困的目标基本实现,但这只是一个阶段性目标,真正实现国有企业的根本改革,还需要解决更深层次的症