Patent ID: 7076641

Claim:
A programmable controller that carries out a pipeline processing of sequence programs, comprising: at least a first storage unit and a second storage unit, the first storage unit storing the sequence programs, device information used for a sequence processing, task information of a microprocessor, and the second storage unit storing the device information; a pipeline register that sequentially reads and latches the sequence programs from the first storage unit; a selecting unit that selects whether the device information is to be read/written from/to the first storage unit or the second storage unit based on the sequence programs; and a control unit that controls to interrupt the pipeline processing during the reading/writing of the device information, prohibits the reading of the sequence program until the completion of the reading/writing of the device information when a sequence program to be read/written from/to the first storage unit has been input, and controls to carry out the reading/writing of the device information and the reading of a sequence program simultaneously when a sequence program to be read/written from/to the second storage unit has been input.