Programmable controller
AssigneeOMRON Corporation
InventorTakeshi Jinkawa
Life of this patent
Estimating the term…
Abstract
A user program stored in a user program memory of a programmable controller includes a control program from which a description defining interlock conditions is excluded and an interlock program defining interlock conditions for the result of processing conforming to the control program and described separately from the control program. The control program is first read out of the user program memory, and operation processing is executed in accordance with the control program. The result of the operation is written into an I/O memory. Thereafter, the interlock program is read out of the user program memory, and operation processing conforming to the interlock program is executed. The result of the operation conforming to the interlock program is overwritten on the I/O memory.
Claims10
A programmable controller comprising:
- a user program memory storing a user program including a control program from which a description defining interlock conditions is excluded and an interlock program defining said interlock conditions for a result of processing conforming to said control program and described separately from said control program;
- an I/O memory storing data relating to an input for said user program and an output obtained by processing conforming to said user program;
- and
- a processor for first reading out said control program from said user program memory, performing processing conforming to the control program and writing a result thereof into said I/O memory, and then reading out said interlock program from said user program memory, performing processing conforming to the interlock program and writing the result thereof into said I/O memory.
A storage medium storing a user program for controlling a programmable controller, which is executable by the programmable controller, the user program comprising:
- a control program from which a description defining interlock conditions is excluded;
- and
- an interlock program defining said interlock conditions for a result of processing conforming to said control program and described separately from said control program, and having a structure ensuring that said interlock program is executed after said control program is executed.
A storage medium storing a user program for controlling a programmable controller, which is executable by the programmable controller, said user program comprising:
- a control program, from which a description defining interlock conditions is excluded, comprising a plurality of control program modules sharing control of a controlled system;
- and
- an interlock program defining said interlock conditions for results of processing conforming to said plurality of control program modules and described separately from said control program modules, and has a structure ensuring that said interlock program is executed after all said control program modules are executed.
A method of executing a user program for controlling a programmable controller, stored in a storage medium the user program being executable by the programmable controller, the user program comprising a control program from which a description defining interlock conditions is excluded, and an interlock program defining said interlock conditions for a result of processing conforming to said control program and described separately from said control program, and having a structure ensuring that said interlock program is executed after said control program is executed the method comprising the steps of:
- first reading out said control program from said storage medium, performing processing conforming to the control program and writing the result thereof into an I/O memory in accordance with said ensuring;
- and
- reading out said interlock program from said storage medium, performing processing conforming to the interlock program and writing the result thereof into said I/O memory after performing the whole of said control program.
A programming device, comprising an input device and a storage device, for accepting input of a control program from which a description defining interlock conditions is excluded by said input device, accepting input of an interlock program describing said interlock conditions for a result of processing conforming to said control program separately from the input of said control program, and storing the control program and the interlock program which have been accepted in said storage device in correlation with each other in a form ensuring that said interlock program is executed only after said control program is executed.
A method of executing a user program for controlling a programmable controller, stored in a storage medium the user program being executable by the programmable controller, said user program comprising a control program, from which a description defining interlock conditions is excluded, comprising a plurality of control program modules sharing control of a controlled system, and an interlock program defining said interlock conditions for results of processing conforming to said plurality of control program modules and described separately from said control program modules, and has a structure ensuring that said interlock program is executed after all said control program modules are executed, the method comprising the steps of:
- first reading out said control program from said storage medium, performing processing conforming to the control program and writing the result thereof into an I/O memory in accordance with said ensuring;
- and
- reading out said interlock program from said storage medium, performing processing conforming to the interlock program and writing the result thereof into said I/O memory after performing the whole of said control program.
Dependencies are inferred from the claim text.