摘要 |
PROBLEM TO BE SOLVED: To provide an electronic control device for inspecting monitoring processing for monitoring control processing to a control object in an extremely short time.SOLUTION: An electronic control device is configured to set the initial value of a variable ANS showing an execution result obtained by executing an execution test for inspecting monitoring processing to "OK" indicating that the monitoring processing is normal (S420), and to make a monitoring section execute the test data of a position shown by TP[N] in normal test or abnormal test in which the monitoring result of the monitoring processing is opposite to a logical output value (S424), and to, when the execution result of the monitoring section is not coincident with the logical output value when executing the test data of the position shown by the TP[N] (S426: No), set "NG" showing that the monitoring section is abnormal to the variable ANS (S428), and to, when the execution result of the execution test by the monitoring section is coincident with the logical output value (S426: Yes), return processing to the S424 until all the number of tests of the normal test or abnormal test is executed (S432: Yes). |