摘要 |
PURPOSE:To achieve an accurate reading with a short processing time removing noise without use of any soft filter for removing noise by checking to see if data obtained from an interruption processing is a normal value to eliminate abnormal data. CONSTITUTION:An area M1 for taking in a time interval data Ti in the interrupt processing and an area M3 for holding time interval data in the control decision on an RAM. In the program, it is determined whether the time interval data Ti obtained in the interrupt processing is normal or not to prohibit the use of the data as time interval data in the control decision putting up a flag F corresponding to the area M1 when it is abnormal. Namely, the transmission to the area M3 is prohibited. The transmission of data from the area M1-M3 is performed when the control is needed and data held in the area M3 is used when the flag F is put up. |