Patent ID: 11822425

Abstract:
The operational continuity of a programmable device, and a controller using the same is enhanced. A programmable device is configured with: an error check mechanism that detects, and notifies an error from redundantized user logic blocks; a previous value retaining section that is connected to an output terminal of a last user logic block, and takes in, and outputs an output value of the user logic blocks in each control period; a CRAM check section that receives a scan interrupt due to an error occurrence notification received from the error check mechanism, reads a scan region on the CRAM, implements error detection, and error correction, and notifies a success or failure of the error correction; and an error handling section that transmits an instruction for retaining a previous output of the user logic blocks to the previous value retaining section when the error occurrence notification is received, transmits an instruction for cancelling previous-value retention to the previous value retaining section, and also transmits a logical reset instruction to a user logic block relevant to an error when a notification of a success of the error correction is received from the CRAM check section.