摘要 |
A field device includes a first program area storing a first program, a second program area storing a second program designed such that if a program execution portion executes each of the first and second programs using the same data, a result of a calculation performed according to the second program is the same as a result of a calculation performed according to the first program, a first calculation result storage buffer storing a result of the calculation performed by the program execution portion according to the first program, and a second calculation result storage buffer storing a result of the calculation performed by the program execution portion according to the second program, and a calculation result comparator comparing the calculation result stored in the first calculation result storage buffer with the calculation result stored in the second calculation result storage buffer. |
主权项 |
1. A field device comprising:
a program execution portion configured to perform a calculation using a detected value; a memory comprising
a data buffer area configured to store data based on the detected value,a first program area configured to store a first program causing the program execution portion to perform a calculation using the data,a second program area configured to store a second program causing the program execution portion to perform a calculation using the data, the second program designed such that if same data is used for the calculation, a result of the calculation performed according to the second program is the same as a result of the calculation performed according to the first program,a first program buffer area configured to store intermediate data when the program execution portion executes the first program,a second program buffer area configured to store intermediate data when the program execution portion executes the second program,a first calculation result storage buffer configured to store a result of the calculation performed by the program execution portion according to the first program, anda second calculation result storage buffer configured to store a result of the calculation performed by the program execution portion according to the second program; and a calculation result comparator configured to compare the calculation result stored in the first calculation result storage buffer with the calculation result stored in the second calculation result storage buffer. |