Patent classifications
G05B2219/23403
Engineering apparatus, control method of engineering apparatus, and program for generating executable code for controlling target hardware
An engineering apparatus according to the present disclosure generates generating executable code, which causes target hardware to operate, from a control application. The engineering apparatus includes an algorithm converter that converts control logic included in the control application into control logic code, a type management unit that outputs a type definition code corresponding to a data block structure of data held by a function block included in the control application, an instance management unit that outputs a memory allocation code that allocates an instance of the function block to memory, and a build controller that generates the executable code based on the control logic code, the type definition code, and the memory allocation code. Executable code for execution by target hardware is debugged while the executable code is in the form of a control application before conversion to a high-level language.
Engineering apparatus, control method, and program for executing a control application
A portion of executable code generated from a general-purpose high-level language can be changed easily while the executable code is running. An engineering apparatus (10) of the present disclosure includes an instance management unit (103) and a compiler/linker (104). When a control application is edited while the engineering apparatus (10) and target hardware (20) are connected online, the instance management unit (103) generates a list for control application switching and a program for control application switching. The list and the program are generated from the control application and expressed in a second programming language. The compiler/linker (104) generates executable code based on the list, the program, and a control service program. When the executable code is downloaded onto the target hardware (20), the control service program causes the program for control application switching to be executed on the target hardware (20).
ENGINEERING APPARATUS, CONTROL METHOD OF ENGINEERING APPARATUS, AND PROGRAM
An engineering apparatus (10) according to the present disclosure generates generating executable code, which causes target hardware (20) to operate, from a control application. The engineering apparatus (10) includes an algorithm converter (102) that converts control logic included in the control application into control logic code, a type management unit (103) that outputs a type definition code corresponding to a data block structure of data held by a function block included in the control application, an instance management unit (104) that outputs a memory allocation code that allocates an instance of the function block to memory, and a build controller (104) that generates the executable code based on the control logic code, the type definition code, and the memory allocation code. Executable code for execution by target hardware is debugged while the executable code is in the form of a control application before conversion to a high-level language.
ENGINEERING APPARATUS, CONTROL METHOD OF ENGINEERING APPARATUS, AND PROGRAM
A portion of executable code generated from a general-purpose high-level language can be changed easily while the executable code is running. An engineering apparatus (10) of the present disclosure includes an instance management unit (103) and a compiler/linker (104). When a control application is edited while the engineering apparatus (10) and target hardware (20) are connected online, the instance management unit (103) generates a list for control application switching and a program for control application switching. The list and the program are generated from the control application and expressed in a second programming language. The compiler/linker (104) generates executable code based on the list, the program, and a control service program. When the executable code is downloaded onto the target hardware (20), the control service program causes the program for control application switching to be executed on the target hardware (20).
Monitoring device for programmable controller
A monitoring device for a programmable controller can resume continuous operation from an appropriate step, when the equipment is restarted after abnormality handling process. The monitoring device includes: a read device that reads operating state information of equipment from the programmable controller during individual operation; a relationship information storage device that stores relationship information showing relationship between the first step to be executed out of the steps when the equipment is restarted after the individual operation and the operating state information; a selection device that refers to the operating state information and selects the first step to be executed when the equipment is restarted, based on the relationship information; and a command transmission device that transmits a command to change an in-execution flag of the programmable controller which shows the first step to be executed when the equipment is restarted, based on the selection result of the selection device.