A control device, comprising at least a programmable circuit unit and an arithmetic processing unit connected to the programmable circuit unit, capable of executing a user program in the arithmetic processing unit, wherein the programmable circuit unit comprises: a functional unit configured in the programmable circuit unit including an input and output unit configured for inputting signals from external switches or sensors and outputting signals to external relays or actuators; a storage unit for storing configuration data of the functional unit; and an error detection unit configured for detecting a soft error of the storage unit; wherein the arithmetic processing unit comprises: a memory unit for storing map information including position information in the programmable circuit unit corresponding to the functional unit in the programmable circuit unit; and an abnormality determination unit configured for determining a correspondence between a position of the soft error detected by the error detection unit and the functional unit on the basis of the map information; and wherein the arithmetic processing unit is configured for: continuing an operation of the control device when the abnormality determination unit determines that the position of the soft error corresponds to a portion of the programmable circuit unit unused by the functional unit; and executing a predetermined process when the abnormality determination unit determines that the position of the soft error corresponds to a portion of the programmable circuit unit used by the functional unit; characterized in that the functional unit comprises a first functional unit including a redundant circuit and a second functional unit including a non-redundant circuit, and the arithmetic processing unit is further configured for: stopping only a circuit at the position of the soft error and continuously operating the control device when the abnormality determination unit determines that the position of the soft error corresponds to the first functional unit, executing a process of switching to a degeneration operation in which only the functional unit at the position of the soft error is stopped when the abnormality determination unit determines that the position of the soft error corresponds to the second functional unit, and performing the degeneration operation or starting a backup process based on whether or not the control device can perform the degeneration operation. a functional unit configured in the programmable circuit unit including an input and output unit configured for inputting signals from external switches or sensors and outputting signals to external relays or actuators; a storage unit for storing configuration data of the functional unit; and an error detection unit configured for detecting a soft error of the storage unit; a memory unit for storing map information including position information in the programmable circuit unit corresponding to the functional unit in the programmable circuit unit; and an abnormality determination unit configured for determining a correspondence between a position of the soft error detected by the error detection unit and the functional unit on the basis of the map information; and continuing an operation of the control device when the abnormality determination unit determines that the position of the soft error corresponds to a portion of the programmable circuit unit unused by the functional unit; and executing a predetermined process when the abnormality determination unit determines that the position of the soft error corresponds to a portion of the programmable circuit unit used by the functional unit; stopping only a circuit at the position of the soft error and continuously operating the control device when the abnormality determination unit determines that the position of the soft error corresponds to the first functional unit, executing a process of switching to a degeneration operation in which only the functional unit at the position of the soft error is stopped when the abnormality determination unit determines that the position of the soft error corresponds to the second functional unit, and