摘要 |
PURPOSE: A PLC command test device and method are provided to reduce costs and time for testing a PLC command by automatically testing a PLC command error. CONSTITUTION: An input data is inputted to a PLC address(S51). A command stated in a test case database is executed(S52). An output result about the execution of the command and an expected output data are compared. The expected output data is stored in the data case database. Errors is determined(S53). [Reference numerals] (AA) Error; (BB, DD) Normality; (CC) Error; (EE) Return; (S45) PLC command test; (S51) Writing input data on PLC; (S52) Command execution; (S53) Command error determination; (S54) PLC error detection?; (S55) PLC reset; (S56) PCL reconnection; (S57) Final data?; (S58) Number reset |