论文部分内容阅读
在微处理机系统中,显示数据的方法有许多种。本文叙述了作控制应用的一个例行程序。在用微处理机进行过程控制的大多数情况中,微处理机都是运算来自传感器测得的各物理参数的数据。通常的情况是,当系统没有故障时,各个物理参数都在规定值范围内,即在上限和下限之间。若传感器输出超过上限或低于下限,即指示出系统故障。在这种系统中,在实现任何下一步处理之前,最好检查传感器输出是否在合适的范围内,发现超出范围时即给出直观指示。本文叙述TMS9900的一个例行程序,它可使八个传感器中每一个的输出状态都以经济而直观有效的方式显示出来。
There are many ways to display data in a microprocessor system. This article describes a routine for control applications. In the majority of cases where microprocessors are used for process control, the microprocessors compute data from the various physical parameters measured by the sensors. Normally, each physical parameter is within a specified value, ie, between the upper and lower limits, when there is no system failure. If the sensor output exceeds the upper limit or lower than the lower limit, it indicates that the system is faulty. In such a system, it is best to check that the sensor output is within the proper range before any further processing is done and to provide a visual indication of out of range. This article describes a routine for the TMS9900 that shows the output status of each of the eight sensors in an economical and intuitive way.