摘要 |
PURPOSE:To prevent malfunctions of a device due to artificial failures by comparing an absolute command value and an incremental command value, which are inputted simultaneously, with each other and issuing a device moving or execution stop command in accordance with the comparison result. CONSTITUTION:In a main program 1, an initial value is inputted to an absolute command part 2, and command values are inputted to an absolute command variable device 3 and an incremental command variable device 4 simultaneously. In a subprogram 5, command values in variable device 3 and 4 are compared with each other by a comparator 7 after they are converted to absolute extents of movement of the device by an absolute command and incremental command converter 6. If absolute extents of movement of the device based on both command values are different from each other as the comparison result, command values are judged to be erroneous, and an execution stop signal alarm is indicated by an alarm 8, and indication of input conversion 11 is issued to change command values of the program 1. If said absolute extents of movement are equal to each other as the comparison result in the comparator 7, the device is moved through a work command part 10 when command values are confirmed by a command value confirming part 9. |