Computation unit, output control method, and program
AssigneeOMRON Corporation
InventorsJunji Shimamura, Hiroshi Sawaragi, Takaaki Yamada
Life of this patent
Estimating the term…
Abstract
A CPU unit of PLC executes a motion control and a sequence control. The CPU unit stores a control program for executing the motion control using a CAM table, and a first CAM table and a second CAM table. When a microprocessor receives a predetermined instruction during execution of the control program, the microprocessor switches the CAM table used in the execution of the control program from the first CAM table to the second CAM table. On the basis of the switching of the CAM table, the microprocessor outputs the execution results of the control program using the second CAM table to an apparatus to be controlled.
Claims15
1-11. (canceled)
A computation unit of a programmable logic controller configured to execute a motion control and a sequence control, the computation unit comprising:
- a processor;
- and
- a memory configured to store a program for performing the motion control using a CAM table in which a displacement of a driven shaft of an electronic cam is associated with each phase of a main shaft of the electronic cam, and a first CAM table and a second CAM table serving as the CAM table, wherein
- the processor is configured to:
- execute the program using the first CAM table, and output the execution results to an apparatus to be controlled associated with the driven shaft,
- switch, when receiving a predetermined instruction during the execution of the program, a CAM table used in the execution of the program from the first CAM table to the second CAM table,
- output the execution results of the program using the second CAM table to the apparatus to be controlled on the basis of the switching;
- and
- execute the program using a displacement associated with a phase of the second CAM table greater than a phase in the first CAM table at the time of switching when switching the CAM table used in the execution of the program from the first CAM table to the second CAM table.
A computation unit of a programmable logic controller configured to execute a motion control and a sequence control, the computation unit comprising:
- a processor;
- and
- a memory configured to store a program for performing the motion control using a CAM table in which a displacement of a driven shaft of an electronic cam is associated with each phase of a main shaft of the electronic cam, and a first CAM table and a second CAM table serving as the CAM table, wherein
- the processor is configured to:
- execute the program using the first CAM table, and output the execution results to an apparatus to be controlled associated with the driven shaft,
- switch, when receiving a predetermined instruction in the middle of one period of the motion control during the execution of the program, a CAM table used in the execution of the program from the first CAM table to the second CAM table in the middle of the one period, and
- output the execution results of the program using the second CAM table to the apparatus to be controlled on the basis of the switching.
An output control method in a computation unit of a programmable logic controller configured to execute a motion control and a sequence control,
- the computation unit storing a program for performing the motion control using a CAM table in which a displacement of a driven shaft of an electronic cam is associated with each phase of a main shaft of the electronic cam, and a first CAM table and a second CAM table serving as the CAM table,
- the output control method comprising the steps of:
- a processor of the computation unit executing the program using the first CAM table, and outputting the execution results to an apparatus to be controlled associated with the driven shaft;
- the processor, when receiving a predetermined instruction during the execution of the program, switching a CAM table used in the execution of the program from the first CAM table to the second CAM table;
- the processor outputting the execution results of the program using the second CAM table to the apparatus to be controlled on the basis of the switching;
- and
- the processor executing the program using a displacement associated with a phase of the second CAM table greater than a phase in the first CAM table at the time of switching when switching the CAM table used in the execution of the program from the first CAM table to the second CAM table.
An output control method in a computation unit of a programmable logic controller configured to execute a motion control and a sequence control,
- the computation unit storing a program for performing the motion control using a CAM table in which a displacement of a driven shaft of an electronic cam is associated with each phase of a main shaft of the electronic cam, and a first CAM table and a second CAM table serving as the CAM table,
- the output control method comprising the steps of:
- a processor of the computation unit executing the program using the first CAM table, and outputting the execution results to an apparatus to be controlled associated with the driven shaft;
- the processor, when receiving a predetermined instruction in the middle of one period of the motion control during the execution of the program, switching a CAM table used in the execution of the program from the first CAM table to the second CAM table in the middle of the one period;
- and
- the processor outputting the execution results of the program using the second CAM table to the apparatus to be controlled on the basis of the switching.
A program for controlling a computation unit of a programmable logic controller configured to execute a motion control and a sequence control,
- the computation unit storing a program for performing the motion control using a CAM table in which a displacement of a driven shaft of an electronic cam is associated with each phase of a main shaft of the electronic cam, and a first CAM table and a second CAM table serving as the CAM table,
- the program causing the computation unit to execute the steps of:
- executing the program using the first CAM table, and outputting the execution results to an apparatus to be controlled associated with the driven shaft;
- switching a CAM table used in the execution of the program from the first CAM table to the second CAM table when receiving a predetermined instruction during the execution of the program;
- outputting the execution results of the program using the second CAM table to the apparatus to be controlled on the basis of the switching;
- and
- executing the program using a displacement associated with a phase of the second CAM table greater than a phase in the first CAM table at the time of switching when switching the CAM table used in the execution of the program from the first CAM table to the second CAM table.
A program for controlling a computation unit of a programmable logic controller configured to execute a motion control and a sequence control,
- the computation unit storing a program for performing the motion control using a CAM table in which a displacement of a driven shaft of an electronic cam is associated with each phase of a main shaft of the electronic cam, and a first CAM table and a second CAM table serving as the CAM table,
- the program causing the computation unit to execute the steps of:
- executing the program using the first CAM table, and outputting the execution results to an apparatus to be controlled associated with the driven shaft;
- switching, when receiving a predetermined instruction in the middle of one period of the motion control during the execution of the program, a CAM table used in the execution of the program from the first CAM table to the second CAM table in the middle of the one period;
- and
- outputting the execution results of the program using the second CAM table to the apparatus to be controlled on the basis of the switching.
Dependencies are inferred from the claim text.