摘要 |
PROBLEM TO BE SOLVED: To provide a sequence controller capable of quickly and easily correcting errors of an A/D converter of an analog input unit. SOLUTION: A sequence controller 10 includes an analog input unit 11 and a CPU unit 12. A CPU 15 of the CPU unit 12 sends a signal of an ideal voltage value to a D/A converter 16, and the D/A converter 16 sends a reference analog voltage to an A/D converter 14, and the A/D converter 14 converts the reference analog voltage to a reference digital voltage on the basis of actual conversion characteristic data A. Thereafter, the CPU 15 calculates an error value on the basis of the reference digital voltage and the ideal voltage value and stores the error value in a storage memory 17. The CPU 15 corrects a digital value resulting from converting an analog voltage input to an analog input part 13 by the A/D converter 14, on the basis of two error values stored in the storage memory 17. COPYRIGHT: (C)2008,JPO&INPIT
|