Compiler and programming support device
AssigneeMitsubishi Electric Corporation
InventorNobutoshi Watanabe
Life of this patent
Estimating the term…
Abstract
A non-transitory computer readable-medium storing a compiler to cause a computer to perform processing for compiling sequence programs including a declaration of a global variable and generating an execution program to be executed by a PLC. When there is a change in a memory address in the PLC assigned to the global variable between before and after edit of a declaration of the global variable, the compiler gives an execution code to synchronize a first value stored at a memory address assigned to an unedited global variable with a second value stored at a memory address assigned to an edited global variable to an execution program corresponding to the sequence program that references the edited global variable.
Claims10
A non-transitory computer-readable medium storing a compiler to cause a computer to perform processing for compiling a sequence program including a declaration of a global variable and generating an execution program to be executed by a control device, wherein
- when there is a change in a memory address in the control device assigned to the global variable between before and after edit of a declaration of the global variable, the compiler causes the computer to perform processing for giving an execution code to synchronize a first value stored at a memory address assigned to an unedited global variable with a second value stored at a memory address assigned to an edited global variable to an execution program corresponding to a sequence program that references the edited global variable.
A programming support device including a compiler to compile a sequence program including a declaration of a global variable and to generate an execution program to be executed by a control device, the programming support device comprising:
- data obtaining circuitry configured to obtain the global variable declared by a separate programming support device from the programming support device, and a memory address in the control device assigned to the global variable,
- wherein when there is a change in a memory address in the control device assigned to the global variable between before and after edit of a declaration of the global variable, the compiler gives an execution code to synchronize a first value stored at a memory address assigned to an unedited global variable with a second value stored at a memory address assigned to an edited global variable to an execution program corresponding to a sequence program that references the edited global variable.
Dependencies are inferred from the claim text.