Control device with second processing unit that accesses variable via first processing unit
AssigneeOMRON Corporation
InventorsKei Yasuda, Taku Oya, Hidehiko Sekimoto
Life of this patent
Estimating the term…
Abstract
A control device includes a first processing unit and a second processing unit. One processing unit of the first processing unit and the second processing unit is configured to retain a predetermined variable available in both a calculation by the first processing unit and a calculation by the second processing unit, and the other processing unit of the first processing unit and the second processing unit is configured to access the predetermined variable via the one processing unit.
Claims3
A control device comprising a memory storing a first program that is executable according to a first executable form in which the first program is executed in its entirety in each execution and a second program that is executable according to a second executable form in which the second program is sequentially executed, the control device comprising:
- a first processing unit configured to execute the first program in its entirety to calculate a first command value for controlling a first controlled object in each control cycle determined in advance;
- a second processing unit configured to execute the second program to calculate a second command value for controlling a second controlled object in the each control cycle according to an intermediate code generated by an interpreter interpreting at least a part of the second program;
- and
- an output unit configured to output the first command value and the second command value in the each control cycle, wherein
- the first processing unit is configured to retain a predetermined variable used in both a calculation by the first processing unit and a calculation by the second processing unit, and the second processing unit is configured to access the predetermined variable via the first processing unit.
Dependencies are inferred from the claim text.