论文部分内容阅读
本文提出一种利用微处理机定时非屏蔽中断完成控制仪的例行任务的方法。用非屏蔽中断完成仪表例行任务可以简化硬件结构及用户程序。仪表例行务包括:1.数码显示的扫描;2.模拟量输出的扫描;3.模拟量通道选择、放大倍数的设置及修改、模拟信号极性的设定及修改、模数转换的启动,数据采集及处理;4.开关量输出和输入;5.定时时钟及显示;6.打印输出的管理。用户不问这些任务如何完成的,对用户来说,这相当有另一台处理机在工作,它自动完成这些任务,用户只要把输出的信息送到指定的内存单元便可完成输出任务,当用户需要采集现场数据时,只要在指定的单元读出即可完输入任务。
This paper presents a method of using microprocessor timing non-maskable interrupt routine controller to complete the task. Complete non-maskable instrument routine tasks can simplify the hardware structure and user program. Instrument routine tasks include: 1. Digital display of the scan; 2. Analog output scan; 3. Analog channel selection, magnification settings and changes in analog signal polarity setting and modification of analog-digital conversion start , Data acquisition and processing; 4 digital output and input; 5 timing clock and display; 6 printout management. Users do not ask how to accomplish these tasks, for users, this is quite another processor at work, it automatically complete these tasks, the user simply output the information sent to the specified memory unit can complete the output task, when Users need to collect field data, as long as the specified unit can be read out to complete the task.