WO2018198439A1 - 産業用コントローラ及び産業用コントローラにおけるデータ共有方法 - Google Patents

産業用コントローラ及び産業用コントローラにおけるデータ共有方法 Download PDF

Info

Publication number
WO2018198439A1
WO2018198439A1 PCT/JP2017/047400 JP2017047400W WO2018198439A1 WO 2018198439 A1 WO2018198439 A1 WO 2018198439A1 JP 2017047400 W JP2017047400 W JP 2017047400W WO 2018198439 A1 WO2018198439 A1 WO 2018198439A1
Authority
WO
WIPO (PCT)
Prior art keywords
shared
program
storage area
variable
shared storage
Prior art date
Application number
PCT/JP2017/047400
Other languages
English (en)
French (fr)
Inventor
天野 隆
光洋 今井
Original Assignee
株式会社日立産機システム
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社日立産機システム filed Critical 株式会社日立産機システム
Priority to EP17907828.2A priority Critical patent/EP3617819B1/en
Priority to US16/487,538 priority patent/US10955809B2/en
Priority to CN201780085749.2A priority patent/CN110249274B/zh
Publication of WO2018198439A1 publication Critical patent/WO2018198439A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/056Programming the PLC
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0426Programming the control sequence
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/052Linking several PLC's
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/73Program documentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/15Plc structure of the system
    • G05B2219/15118Shared memory
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/23Pc programming
    • G05B2219/23334Use of table with addresses for different modules, write new table if modified

Definitions

  • the present invention relates to an industrial controller as a device incorporating a so-called programmable logic controller, and is particularly suitable for application to a data sharing method in an industrial controller related to a technology for sharing data in a shared storage area.
  • the information program recognizes such a device because the address of a device such as a motor is unknown. I can't. For this reason, conventionally, the device address of the programmable logic controller and the peripheral device can be communicated by manually assigning the device address (see Patent Document 1).
  • the present invention has been made in view of the above points, and intends to propose an industrial controller and a data sharing method in the industrial controller that can improve development efficiency without requiring manual assignment work.
  • the present invention is an industrial controller in which a control program for a device to be controlled and an information program for executing a predetermined process share data in a shared storage area using a shared variable. Extracting a variable information of the shared variable included in the control program, and creating a map file related to the shared storage area and a header file used when accessing the shared storage area; A program creation unit that generates the information program using the header file, and the information program accesses the shared storage area using the map file.
  • a data sharing method in an industrial controller in which a control program for a device to be controlled and an information program for executing a predetermined process share data in a shared storage area using a shared variable.
  • the industrial controller extracts variable information of the shared variable included in the control program, and creates a map file related to the shared storage area and a header file used when accessing the shared storage area
  • FIG. 1 shows an example of a hardware configuration of an industrial controller (hereinafter also referred to as “controller”) 103 and a program development environment according to the first embodiment. Indicates.
  • the control program development PC 101, the information program development PC 102, and the industrial controller (hereinafter simply referred to as “controller”) 103 basically have substantially the same hardware configuration, and the software for the purpose operates as described later. ing.
  • the network 105 connects the control program development PC 101, the information program development PC 102, and the controller 103.
  • the network 106 connects the controller 103 and the control target device 104.
  • the control program development PC 101 is a computer for developing a control program.
  • the control program development PC 101 includes an EPROM 107, a CPU 108, a main memory 109, a peripheral control device 110, a network I / F 111, a nonvolatile storage device 112, and a user I / F device 113.
  • Peripheral control device 110 connects various devices to each other via bus 114.
  • the network I / F 111 is an interface for connecting to the network 105.
  • the non-volatile storage device 112 is a device that stores various programs and files.
  • the user I / F device 113 is a device for inputting data necessary for the user.
  • the information program development PC 102 is a computer for developing an information program.
  • the information program development PC 102 includes an EPROM 115, a CPU 116, a main memory 117, a peripheral control device 118, a network I / F 119, a nonvolatile storage device 120, and a user I / F device 121.
  • Peripheral control device 118 connects various devices to each other via bus 132.
  • the network I / F 119 is an interface for connecting to the network 105.
  • the non-volatile storage device 120 is a device that stores various programs and files.
  • the user I / F device 121 is a device for inputting data necessary for the user.
  • the controller 103 includes an EPROM 122, a CPU 123, a main memory 124, a peripheral control device 126, a network I / F 125, a network I / F 127, a non-volatile storage device 128, and a user I / F device 129.
  • Peripheral control device 126 connects various devices to each other via bus 133.
  • the network I / Fs 125 and 127 are interfaces for connecting to the corresponding networks 105 and 106, respectively.
  • the non-volatile storage device 128 is a device that stores various programs and files.
  • the user I / F device 129 is a device for inputting data necessary for the user.
  • the controller 103 executes various operations using the CPU 123 by expanding the operating system (OS), various programs, and various files stored in the EPROM 122 or the nonvolatile storage device 128 in the main memory 124.
  • OS operating system
  • programs various programs
  • files stored in the EPROM 122 or the nonvolatile storage device 128 in the main memory 124.
  • the control target device 104 includes a sensor 130 and an actuator 131.
  • the sensor 130 is, for example, a manual switch, a relay, a photoelectric switch, a proximity switch, a limit switch, a weight meter, a temperature sensor, a pressure sensor, a vibration sensor, a sound wave sensor, a flow meter, a flow meter, a gas sensor, a speed sensor, a tachometer, and a current.
  • a device such as a meter, voltmeter, power meter, water quality sensor, color discrimination sensor, or camera.
  • the actuator 131 is a device such as a motor, a generator, a heater, a control valve, a cylinder, a solenoid, a lamp, a display, a buzzer, a speaker, a pump, a compressor, an air conditioner, a refrigerator, or a conveyor. .
  • FIG. 2 shows an example of the software configuration of the controller 103 and the program development environment according to the first embodiment.
  • the control target device 104 in FIG. 1 is omitted.
  • the shared access unit 208 accesses the shared storage area 224 at the end of the task processing that executes the control program 207 is illustrated.
  • the highest priority task writes the global variable in the shared storage area 224.
  • the source file 201 is a file in which the source code of the control program 207 is described.
  • the editor 202 is a program for creating the source file 201.
  • the compiler 203 creates an intermediate language file from the source file 201.
  • the linker 204 combines the intermediate language file and the library 205 to generate an execution file.
  • the library 205 is an intermediate language file prepared in advance for reusing the program functions.
  • the IDE control unit 206 is a program that controls the editor 202, the compiler 203, the linker 204, and the like.
  • the editor 202, the compiler 203, the linker 204, the library 205, and the IDE control unit 206 are collectively referred to as an integrated development environment program (IDE).
  • IDE integrated development environment program
  • the control program development PC 101 further includes a shared access unit 208, a header file 209, a map file 210, a shared area access unit 211, and a linkage file generation unit 212.
  • the shared area access unit 211 is a source file of the shared access unit 208 for the control program 207 to access the shared storage area 224.
  • the cooperation file generation unit 212 generates a header file 209 and a map file 210.
  • the source file 213 is a file in which the source code of the information program 219 is described.
  • the editor 214 is a program for creating the source file 213.
  • the compiler 215 creates an intermediate language file from the source file 213.
  • the linker 216 combines the intermediate language file and the library 217 to generate an execution file.
  • the library 217 is an intermediate language file prepared in advance for reusing program functions.
  • the controller 103 described above may require data processing such as complicated arithmetic operations, SCADA, MES, and transmission / reception of information with the cloud system. Such data processing may be difficult to program in the language specific to the control device described above, and is described using a programming language used in the information communication field such as C language or Java (registered trademark) language. There is. A program for executing such data processing is called an “information program”. This information program corresponds to the information program 219, for example.
  • the IDE control unit 218 is a program that controls the editor 214, the compiler 215, the linker 216, and the like.
  • the editor 214, the compiler 215, the linker 216, the library 217, and the IDE control unit 218 are collectively referred to as an integrated development environment program.
  • the information program development PC 102 further includes a shared access unit 220, a header file 209, and a linked file access unit 222.
  • the shared access unit 220 is a program for the information program 219 to access the shared storage area 224.
  • the cooperative file access unit 222 acquires the header file 209 from the controller 103, and transmits the information program 219 and the shared access unit 220 to the controller.
  • controller 103 is also called a sequence control device, a motion control device, or a programmable logic controller (PLC).
  • the controller 103 controls such as ladder logic (LD language), sequential function chart (FC language), function block (FBD language), structured text (ST language), or instruction list (LD language).
  • LD language ladder logic
  • FC language sequential function chart
  • BFD language function block
  • ST language structured text
  • LD language instruction list
  • control program 207 A program that can execute such control contents is called a “control program”.
  • control program 207 a series of processing is called a task, and a cycle for repeatedly processing each task can be set.
  • Variables used in the control program 207 include input-only variables and output-only variables.
  • the controller 103 executes not only such a control program 207 but also an information program 219.
  • the shared access unit 208 is a program for the control program 207 to access the shared storage area 224.
  • the library 223 executes shared function processing necessary for the control program 207 and the shared access unit 208 to execute.
  • the library 226 executes access function processing with reference to the map file 210 in order for the information program 219 to access the shared storage area 224.
  • the configuration access unit 229 transmits the header file 209 to the cooperative file access unit 222 and receives the information program 219 and the shared access unit 220 from the cooperative file access unit 222.
  • the task scheduler 228 executes a task. The task executes a program registered in the task at a set cycle.
  • the task executes the control program 207 and the shared access unit 208 in accordance with the execution cycle.
  • the shared storage area 224 stores variable data shared by the control program 207 and the information program 219.
  • the shared access unit 220 accesses the shared storage area 224 via the library 226, for example, reads data into the reading structure 401 of the information program 219, and writes data in the writing structure 402 in the shared storage area 224. Write to a continuous address area.
  • the header file 209 is a header file used when creating the information program 219 generated by the linkage file generation unit 212.
  • the map file 210 is a file used by the information program 219 generated by the linkage file generation unit 212 to access the shared storage area 224.
  • the container processing unit 227 is a program for preventing the control program 207 and the information program 219 from affecting each other.
  • FIG. 3 shows an example of the shared variable setting unit 301 as a shared variable setting screen according to the first embodiment.
  • the shared variable setting unit 301 is a setting reception screen displayed by the control program development PC 101.
  • the shared variable setting unit 301 is a GUI (Graphic Use Interface) for setting a variable to be shared with the information program 219, and is generated by the cooperation file generation unit 212.
  • the sharing check column 302 indicates that the variable is shared with the information program 219 for the variable indicated by the variable name 303 when checked, and that the variable is not shared with the information program 219 when not checked.
  • a variable name 303 is a variable name shared with the information program.
  • the type 304 is a variable type.
  • a period 305 is a column for setting a period for storing variable data shared in the shared storage area 224.
  • An access right 308 represents an access right to be given to the information program.
  • the information program can read the data of the variable corresponding to the variable name 303 if the access authority 308 is “Read”, and can write it if it is “Write”.
  • FIG. 4 shows an example of the header file 209 for creating the information program 219.
  • the read structure 401 is a structure in which data read from the read offset value (read area) in the shared storage area 224 by the information program 219 is stored.
  • the writing structure 402 is a structure in which data to be written by the information program 219 to the writing offset value (writing area) in the shared storage area 224 is stored.
  • declarations of variables that can be used in programming languages as well as structures may be described. If there is no variable to be shared, the declaration of the target access variable is not described.
  • the whole read access function 403 is a function for the information program 219 to read all read variable data. Data is read from the reading area of the shared storage area 224 to prData when the function is called.
  • the entire write access function 404 is a function for the information program 219 to write all write variable data. Data is written from pwData to the write area of the shared storage area 224 when the function is called.
  • the read access function 405 for the entire write is a function for the information program 219 to read all write variable data. The read access function 405 reads data from the write area of the shared storage area 224 to pwData when the function is called.
  • the individual read access function 406 is a function for the information program 219 to read data of individual reading variables.
  • the individual write access function 407 is a function for the information program 219 to write individual write variable data in the write area.
  • the read access function 408 for individual write is a function for the information program 219 to read data of individual write variables from the write area.
  • Map File FIG. 5 shows an example in which the map file 210 is generated in the CSV format.
  • the map file 210 is used when the shared access unit 220 accesses the shared storage area 224.
  • the shared storage area name 501 is a name for identifying the shared storage area 224. For example, if the OS is Linux (registered trademark), a file is created as a shared storage area. Therefore, an absolute path indicating the storage location of the file is set as a shared storage area name 501.
  • the size 502 is the size of data stored in the shared storage area 224.
  • the read offset 503 represents the difference between the start address of the shared storage area 224 and the start address of the area in which data to be read by the shared access unit 220 is stored.
  • the write offset 504 represents the difference between the start address of the shared storage area 224 and the start address of the area where the shared access unit 220 writes data.
  • a type 505 is a type of data used in the control program 207 that writes to the shared storage area 224.
  • the variable name 506 is the name of a variable used in the control program 207 in which data to be written to the shared storage area 224 is stored.
  • the variable offset 507 represents the difference between the start address of the area where the data to be read by the shared access unit 220 is stored and the start address of the area where the data of the target variable is stored.
  • a type 508 is a type of data used in the control program 207 read from the shared storage area 224.
  • the variable name 509 is the name of a variable used in the control program 207 that stores data read from the shared storage area 224.
  • the variable offset 510 represents the difference between the start address of the area where the data to be read by the shared access unit 220 is stored and the start address of the area where the data of the target variable is stored.
  • the information on the variable offset 510 from the type 505 is used to access only individual variables or to adjust the alignment of structures as necessary. For example, when there are a plurality of information programs 219 and the programming languages are different, the structure of the area where the members of the structure are stored may be different from the map file 210.
  • the library 226 created for the target language calculates an offset value in accordance with the alignment of the structure of the target language, and accesses the shared storage area 224.
  • the type size and size conversion table may be held in the library 226, or the type size may be described in the map file 210.
  • FIG. 6 is an image diagram of a container for the control program 207 and a container for the information program 219.
  • the configurations denoted by the same reference numerals as those in FIG. 2 have substantially the same functions, and therefore, different points will be mainly described below.
  • the container processing unit 227 creates containers for the control program 207 and the information program 219 so that the control program 207 and the information program 219 do not influence each other.
  • the container processing unit 227 creates a process, file system, and network name space dedicated to the control program 207 and the information program 219, and resources of the CPU 123 and the main memory 124, respectively.
  • the container for the control program 207 is called a “control container”, while the container for the information program 219 is called an “information container”. A specific method for creating a container will be described later.
  • FIG. 7 shows an example of processing related to the control program 207.
  • the container processing unit 227 creates a control container for the control program 207 and an information container for the information program 219, as shown in FIG.
  • the container processing unit 227 creates a shared directory by mounting the directory in which the shared storage area 224 is created on the file system of the control container and the information container (corresponding to the dotted line in the figure), and creates the control program 207 and the information Make it accessible from the program 219.
  • the container processing unit 227 also creates a shared directory for storing the header file 209 and the map file 210 and a shared directory for storing the information program 219 and the shared access unit 220. At this time, the container processing unit 227 mounts and shares the latter shared directory only on the file system of the information container.
  • the control program 207 is executed in the control container, and the information program 219 is executed in the information container.
  • step S601 the user creates a control program 207 by using the control program development PC 101 to create a project for collectively managing source codes using the above-described IDE.
  • step S602 the user selects a menu corresponding to the above-described IDE in order to activate the shared variable setting unit 301.
  • the linkage file generation unit 212 extracts variables from the source file 201.
  • step S603 the linkage file generation unit 212 generates and displays the shared variable setting unit 301 (see FIG. 3).
  • the user checks the variable sharing check field 302 shared with the information program 219 and sets the access authority 308 and the period 305.
  • the cooperation file generation unit 212 stores the setting content in the memory.
  • step S604 the cooperation file generation unit 212 acquires the set value from the memory.
  • step S605 the linkage file generation unit 212 generates the header file 209 and the map file 210.
  • the linkage file generation unit 212 defines a variable for which the access authority 308 is set to “Read” in the header file 209 as a read structure 401.
  • the linkage file generation unit 212 defines a variable in which the access authority 308 is set to “Write” as the writing structure 402 in the header file 209.
  • the cooperative file generation unit 212 headers the entire read access function 403, the entire write access function 404, the entire write read access function 405, the individual read access function 406, the individual write access function 407, and the individual write read access function 408. Define in file 209.
  • the linkage file generation unit 212 generates the map file 210 so that the information program 219 can access the shared storage area 224 with the structure of the structure variable defined in the header file 209. Specifically, the cooperative file generation unit 212 outputs the shared storage area name 501, the file size 502 generated with the shared storage area name, the read offset 503, and the write offset 504 to the map file 210.
  • the linked file generation unit 212 stores the variables set to “Read” sequentially from the top address of the shared storage area 224, and accesses the shared storage area 224 so that the variables set to “Write” can be continuously stored.
  • a map file 210 is generated for this purpose.
  • the linkage file generation unit 212 calculates a size 502, a read offset 503, and a write offset 504 from the size of the structure defined in the header file 209. Next, the linkage file generation unit 212 outputs the variable type 505, variable name 506, and variable offset 507 defined in the reading structure 401 to the map file 210. Next, the linkage file generation unit 212 outputs the variable type 508, the variable name 509, and the variable offset 510 defined in the writing structure 402 to the map file 210. The linkage file generation unit 212 calculates and outputs the variable offset (507 and 510) in consideration of the definition order of the variable, the size of the variable, and the alignment of the structure of the information program 219.
  • step S606 the cooperative file generation unit 212 determines the name of the shared storage area 224, creates the shared storage area 224, and in this shared storage area 224, the source code that can access the area for storing the data of the shared variable (shared A region access unit 211) is generated. Specifically, the cooperative file generation unit 212 is set to “Read” in the shared variable setting unit 301 based on the order of the structure variables defined in the header file 209 and the offset output to the map file 210. The source code for writing the read variable data into the shared storage area 224 and the source code for reading the write variable data set to “Write” from the shared storage area 224 into the variable of the control program 207 are generated.
  • the cooperation file generation unit 212 registers the control program 207 in the task, and sets the cycle 305 as the task execution cycle.
  • the task execution cycle may be manually set by a control program creator or the like.
  • the linked file generation unit 212 registers the shared access unit 208 that accesses the shared storage area 224 so as to be executed next to the control program 207 in the same task.
  • step S607 when the user selects the execution menu using the above-described IDE, the IDE control unit 206 builds the source code and generates the control program 207 and the shared access unit 208.
  • step S608 the IDE control unit 206 in the control program development PC 101 transmits the control program 207 and the shared access unit 208 to a location other than the shared directory in the control container, and the header file 209 and the map file 210 are transmitted to the control container. To the shared directory.
  • step S609 the IDE control unit 206 executes the task scheduler 228 of the controller 103.
  • step S610 the task scheduler 228 executes the task, and the task executes the control program 207 at the set execution cycle.
  • the control program 207 executes control processing. The task once started is not executed again from the task scheduler because the program registered periodically is executed.
  • step S611 the task executes the shared access unit 208 after executing the control program 207.
  • step S612 the shared access unit 220 opens the shared storage area 224 by specifying the shared storage area name 501 and size 502 while utilizing the processing of the library 223 (accessible state), and outputs it to the map file 210. Based on the information, the data of the variable of Read authority is written, while the data of the variable of Write authority is read.
  • step S610 is executed.
  • FIG. 8 shows an example of related processing of the information program 219.
  • a user executes a wizard for creating a project for managing source codes collectively using the above-described IDE.
  • step S702 when the wizard is executed, the IDE control unit 218 executes the cooperation file access unit 222 to communicate with the configuration access unit 229 of the controller 103, and acquires the header file 209.
  • step S703 the linked file access unit 222 inputs the declaration of the header file 209 at the position of the header file declaration unit of the file that is the source code of the information program 219, and the creation of the project is completed.
  • step S704 the user creates the information program 219 and the source code of the shared access unit 220 for accessing the shared storage area 224.
  • the user creates the source code of the shared access unit 220 based on the function defined in the header file 209.
  • step S705 when the user selects the execution menu using the aforementioned IDE, the IDE control unit 218 builds the source code and generates the information program 219 and the shared access unit 220.
  • the shared access unit 220 may be included in the information program 219.
  • the cooperative file access unit 222 transmits the information program 219 and the shared access unit 220 to the configuration access unit 229.
  • the container processing unit 227 may create an information container when the configuration access unit 229 receives the information program 219 and the shared access unit 220.
  • the container processing unit 227 may delete the information container when the information program 219 ends.
  • the configuration access unit 229 stores the information program 219 and the shared access unit 220 in a shared directory that can be accessed from within the information container.
  • the information program 219 and the shared access unit 220 are stored in the information container via the configuration access unit 229, but the linked file access unit 222 communicates with an FTP server or the like in the information container to
  • the information program 219 and the shared access unit 220 may be stored.
  • the IDE control unit 218 executes the information program 219 by logging into the information container by, for example, SSH connection.
  • step S708 the information program 219 executes data processing.
  • step S709 the information program 219 executes the shared access unit 220.
  • step S710 the shared access unit 220 calls the library 226 in order to execute the access function.
  • the library 226 acquires the map file 210 from the shared directory.
  • the library 226 holds a path name for acquiring the map file 210 in advance.
  • step S711 the shared access unit 220 executes access to the shared storage area 224 via the library 226.
  • (1-6) Access method (1-6-1) Whole read access: The library 226 obtains the top address of the reading structure 401 from the function argument. The library 226 calculates the data size to be read from the difference between the write offset 504 and the read offset 503. The library 226 specifies the shared storage area name 501, opens the shared storage area 224, reads data for the size calculated from the position of the read offset 503, and sequentially reads from the top address of the acquired read structure 401. Write data.
  • the library 226 obtains the start address of the writing structure 402 from the function argument.
  • the library 226 calculates the data size to be written from the difference between the size 502 and the write offset 504.
  • the library 226 specifies the shared storage area name 501, opens the shared storage area 224, reads data of the size calculated from the position of the start address of the writing structure 402, and sets the write offset 503 of the shared storage area 224. The data read from the position is written in order.
  • the library 226 obtains the start address of the writing structure 402 from the function argument.
  • the library 226 calculates the data size to be read from the difference between the size 502 and the write offset 504.
  • the library 226 specifies the shared storage area name 501, opens the shared storage area 224, reads data for the size calculated from the position of the write offset 503, and sequentially reads from the start address of the acquired writing structure 402. Write data.
  • the library 226 obtains the start address of the reading structure 401 and the start address of the individual variable from the function arguments.
  • the library 226 calculates the offset value of the individual variable by calculating the difference between the acquired addresses.
  • the library 226 refers to the map file 210 and identifies a variable with a matching variable offset 507.
  • the library identifies the size from the identified variable type 505.
  • the library 226 designates the shared storage area name 501 and opens the shared storage area 224, reads data of a specified size from a position that is offset from the position of the reading offset 503, and reads the acquired individual variable The read data is written in order from the start address.
  • the library 226 obtains the start address of the writing structure 402 and the start address of the individual variable from the function arguments. The library 226 adds the acquired address difference and the write offset 504 to calculate the offset value of the individual variable.
  • the library 226 refers to the map file 210 and identifies a variable of the variable offset 510 that matches the calculated offset value.
  • the library 226 identifies the size from the identified variable type 508.
  • the library 226 opens the shared storage area 224 by specifying the shared storage area name 501, reads data of the specified size from the start address of the individual variable, and is separated by the offset calculated from the start address of the shared storage area 224 The data read from the start address of the individual variable is written from the specified position.
  • the library 226 obtains the start address of the writing structure 402 and the start address of the individual variable from the function arguments.
  • the library 226 calculates the offset value of the individual variable by adding the write offset 504 to the acquired address difference.
  • the library 226 refers to the map file 210 and identifies variables that match the variable offset 510.
  • the library 226 identifies the size from the identified variable type 508.
  • the library 226 designates the shared storage area name 501 and opens the shared storage area 224, reads the data of the specified size from the position separated by the calculated offset, and reads sequentially from the start address of the acquired individual variable. Write data.
  • step S708 is executed.
  • the process in which the shared access unit 208 and the library 226 write to the shared storage area 224 is an atomic process that is a continuous process without being interrupted.
  • FIG. 9 shows an example of processing related to the control program.
  • the cooperative file generation unit 212 determines the name of the shared storage area 224, creates the shared storage area 224, and source code (shared area access unit 211) that can access the shared variable data to the shared storage area 224. Is generated.
  • the linked file generation unit 212 creates a shared access task different from the task of the control program 207, and sets the cycle acquired from the shared variable setting unit 301 as the cycle to be executed.
  • the linked file generation unit 212 sets the execution priority of the shared access task to be lower than the priority of the task that executes the control program 207.
  • step S802 the task scheduler 228 executes the task, and the task executes the control program 207 registered at the set execution cycle.
  • the control program 207 executes control processing.
  • step S803 is executed.
  • This task repeatedly executes the control program 207 at the set execution cycle.
  • step S803 the task scheduler 228 executes the shared access task, and executes the shared access unit 208 in which the shared access task is registered.
  • step S612 is executed. This shared access task repeatedly executes step 803 and step 612 at the set execution cycle.
  • the shared access unit 208 independent of the task of the control program 207 accesses the shared storage area 224 in a state where the execution priority is lower than that of the control program 207. It can be made difficult to receive.
  • the present invention can be widely applied to an industrial controller as a device incorporating a so-called programmable logic controller and a data sharing method in the industrial controller.
  • Control program development PC 101: Control program development PC, 102: Information program development PC, 103: Controller, 104: Control target device, 130: Sensor, 131: Actuator

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Library & Information Science (AREA)
  • Programmable Controllers (AREA)

Abstract

本発明の課題は、手動による割り当て作業を必要とせず開発効率を向上することができる産業用コントローラにおけるプログラムの開発支援システム及び当該システムにおけるデータ共有方法を提供することである。制御プログラム開発PC(101)の連携ファイル生成部(212)は、制御プログラム(207)の変数名を抽出してマップファイル(210)及びヘッダファイル(209)を作成する。情報プログラム開発PC(102)において、作成されたヘッダファイル(209)を使用してユーザにより情報プログラム(219)が作成される。産業用コントローラ(103)において、情報プログラム(219)は共有アクセス部(220)によりマップファイル(210)を用いて共有記憶領域(224)にアクセスし、共有変数を用いてデータにアクセスする。

Description

産業用コントローラ及び産業用コントローラにおけるデータ共有方法
 本発明は、いわゆるプログラマブルロジックコントローラを組み込んだ機器としての産業用コントローラに関し、特に、共有記憶領域においてデータを共有する技術に関する産業用コントローラにおけるデータ共有方法に適用して好適なものである。
 一般的に、プログラマブルロジックコントローラにおいて高レベル言語プログラム(以下「情報プログラム」という)を実行しようとした場合、情報プログラムは、モータなどのデバイスのアドレスが不明であるため、このようなデバイスを認識することができない。そのため、従来は、手動でデバイスのアドレスを割り当てることにより、プログラマブルロジックコントローラのデバイスと周辺機器との間において通信を可能としている(特許文献1参照)。
特許5079166号公報
 しかしながら、デバイスの数が膨大な場合、手動によるそのような割り当て作業自体がそもそも困難となる。
 本発明は以上の点を考慮してなされたもので、手動による割り当て作業を必要とせず開発効率を向上することができる産業用コントローラ及び産業コントローラにおけるデータ共有方法を提案しようとするものである。
 かかる課題を解決するため、本発明においては、制御対象機器のための制御プログラムと、所定の処理を実行する情報プログラムとが共有変数を用いて共有記憶領域でデータを共有する産業用コントローラであって、前記制御プログラムに含まれる前記共有変数の変数情報を抽出し、前記共有記憶領域に関するマップファイルと、前記共有記憶領域へのアクセスの際に使用されるヘッダファイルとを作成するファイル作成部と、前記ヘッダファイルを用いて前記情報プログラムを生成するプログラム作成部と、を備え、前記情報プログラムは、前記マップファイルを用いて前記共有記憶領域にアクセスすることを特徴とする。
 また、本発明においては、制御対象機器のための制御プログラムと、所定の処理を実行する情報プログラムとが共有変数を用いて共有記憶領域でデータを共有する産業用コントローラにおけるデータ共有方法であって、前記産業用コントローラが、前記制御プログラムに含まれる前記共有変数の変数情報を抽出し、前記共有記憶領域に関するマップファイルと、前記共有記憶領域へのアクセスの際に使用されるヘッダファイルとを作成するファイル作成ステップと、前記産業用コントローラが前記ヘッダファイルを用いて前記情報プログラムを生成するプログラム作成ステップと、前記情報プログラムが前記マップファイルを用いて前記共有記憶領域にアクセスするデータアクセスステップと、を有することを特徴とする。
 本発明によれば、手動による割り当て作業を必要とせず開発効率を向上することができる。
第1の実施の形態による産業用コントローラ及びプログラム開発環境のハードウェア構成の一例を示す図である。 第1の実施の形態による産業用コントローラ及びプログラム開発環境のソフトウェア構成の一例を示す図である。 第1の実施の形態による共有変数の設定画面の一例を示す図である。 第1の実施の形態によるヘッダファイルの一例を示す図である。 第1の実施の形態によるマップファイルの一例を示す図である。 第1の実施の形態によるコンテナの一例を示すイメージ図である。 第1の実施の形態による制御プログラム関連の処理の一例を示すフローチャートである。 第1の実施の形態による情報プログラム関連の処理の一例を示すフローチャートである。 第2の実施の形態による制御プログラム関連の処理の一例を示すフローチャートである。
 以下、図面について、本発明の一実施の形態について詳述する。
 (1)第1の実施の形態
 (1-1)ハードウェア構成
 図1は、第1の実施の形態による産業用コントローラ(以下「コントローラ」とも呼ぶ)103及びプログラム開発環境のハードウェア構成の一例を示す。制御プログラム開発PC101、情報プログラム開発PC102、及び産業用コントローラ(以下単に「コントローラ」という)103は、基本的にほぼ同様のハードウェア構成を有し、後述するように目的に応じたソフトウェアが動作している。
 ネットワーク105は、制御プログラム開発PC101、情報プログラム開発PC102及びコントローラ103を接続する。ネットワーク106は、コントローラ103及び制御対象機器104を接続する。
 制御プログラム開発PC101は、制御プログラムを開発するためのコンピュータである。制御プログラム開発PC101は、EPROM107、CPU108、メインメモリ109、周辺制御装置110、ネットワークI/F111、不揮発性記憶装置112及びユーザI/F装置113を備えている。
 周辺制御装置110は、バス114を介して各種装置を相互に接続する。ネットワークI/F111は、ネットワーク105に接続するためのインターフェースである。不揮発性記憶装置112は、各種プログラムやファイルを格納する装置である。ユーザI/F装置113は、ユーザが必要なデータの入力等を行う装置である。
 情報プログラム開発PC102は、情報プログラムを開発するためのコンピュータである。情報プログラム開発PC102は、EPROM115、CPU116、メインメモリ117、周辺制御装置118、ネットワークI/F119、不揮発性記憶装置120及びユーザI/F装置121を備えている。
 周辺制御装置118は、バス132を介して各種装置を相互に接続する。ネットワークI/F119は、ネットワーク105に接続するためのインターフェースである。不揮発性記憶装置120は、各種プログラムやファイルを格納する装置である。ユーザI/F装置121は、ユーザが必要なデータの入力等を行う装置である。
 コントローラ103は、EPROM122、CPU123、メインメモリ124、周辺制御装置126、ネットワークI/F125、ネットワークI/F127、不揮発性記憶装置128及びユーザI/F装置129を備えている。
 周辺制御装置126は、バス133を介して各種装置を相互に接続する。ネットワークI/F125、127は、各々対応するネットワーク105、106に接続するためのインターフェースである。不揮発性記憶装置128は、各種プログラムやファイルを格納する装置である。ユーザI/F装置129は、ユーザが必要なデータの入力等を行う装置である。
 コントローラ103では、EPROM122又は不揮発性記憶装置128に格納されているオペレーティングシステム(OS)、各種プログラム及び各種ファイルをメインメモリ124に展開することにより、CPU123を用いて各種の演算等を実行する。
 制御対象機器104は、センサ130及びアクチュエータ131を含んでいる。センサ130は、例えば、手動スイッチ、リレー、光電スイッチ、近接スイッチ、リミットスイッチ、重量計、温度センサ、圧力センサ、振動センサ、音波センサ、流量計、流速計、ガスセンサ、速度センサ、回転計、電流計、電圧計、電力計、水質センサ、色判別センサ、またはカメラのようなデバイスである。
 一方、アクチュエータ131は、例えば、モータ、発電機、ヒーター、制御弁、シリンダ、ソレノイド、ランプ、表示器、ブザー、スピーカー、ポンプ、圧縮機、空調機、冷凍機、またはコンベアのようなデバイスである。
 (1-2)ソフトウェア構成
 図2は、第1の実施の形態によるコントローラ103及びプログラム開発環境のソフトウェア構成の一例を示す。なお、図示の例では、図1における制御対象機器104が省略されている。
 本実施の形態では、制御プログラム207を実行するタスク処理の最後に共有アクセス部208が共有記憶領域224にアクセスする場合を例示している。なお、制御プログラムにグローバル変数が含まれる場合は、最高優先度のタスクがこのグローバル変数を共有記憶領域224に書き込む。
 (1-2-1)制御プログラム開発PC
 まず、制御プログラム開発PC101について説明する。ソースファイル201は、制御プログラム207のソースコードが記述されたファイルである。エディタ202は、ソースファイル201を作成するためのプログラムである。コンパイラ203は、ソースファイル201から中間言語ファイルを作成する。リンカ204は、中間言語ファイルとライブラリ205を結合して実行ファイルを生成する。ライブラリ205は、プログラムの関数を再利用するために予め準備されている中間言語ファイルである。
 IDE制御部206は、エディタ202、コンパイラ203及びリンカ204等を制御するプログラムである。なお、エディタ202、コンパイラ203、リンカ204、ライブラリ205及びIDE制御部206をまとめて、統合開発環境プログラム(IDE:Integrated Development Environment)と呼ぶ。
 さらに制御プログラム開発PC101は、共有アクセス部208、ヘッダファイル209、マップファイル210、共有領域アクセス部211及び連携ファイル生成部212を備えている。共有領域アクセス部211は、制御プログラム207が共有記憶領域224へアクセスするための共有アクセス部208のソースファイルである。連携ファイル生成部212は、ヘッダファイル209及びマップファイル210を生成する。
 (1-2-2)情報プログラム開発コンピュータ
 次に、情報プログラム開発PC102について説明する。ソースファイル213は、情報プログラム219のソースコードが記述されたファイルである。エディタ214は、ソースファイル213を作成するためのプログラムである。コンパイラ215は、ソースファイル213から中間言語ファイルを作成する。リンカ216は、中間言語ファイルとライブラリ217を結合して実行ファイルを生成する。ライブラリ217は、プログラムの関数を再利用するために予め準備されている中間言語ファイルである。
 なお、上述したコントローラ103においては、複雑な算術演算、SCADA、MES、クラウドシステムとの情報の送受信のようなデータ処理が必要な場合がある。このようなデータ処理は、前述の制御装置特有の言語でプログラミングすることが困難な場合があり、C言語やJava(登録商標)言語などの情報通信分野で使われるプログラミング言語を用いて記述する場合がある。このようなデータ処理を実行するプログラムを「情報プログラム」と呼ぶ。この情報プログラムは、例えば情報プログラム219に相当する。
 IDE制御部218は、エディタ214、コンパイラ215及びリンカ216等を制御するプログラムである。なお、エディタ214、コンパイラ215、リンカ216、ライブラリ217及びIDE制御部218をまとめて、統合開発環境プログラムと呼ぶ。
 さらに情報プログラム開発PC102は、共有アクセス部220、ヘッダファイル209及び連携ファイルアクセス部222を備えている。共有アクセス部220は、情報プログラム219が共有記憶領域224へアクセスするためのプログラムである。連携ファイルアクセス部222は、ヘッダファイル209をコントローラ103から取得したり、情報プログラム219と共有アクセス部220をコントローラへ送信したりする。
 (1-2-3)コントローラ
 一方、コントローラ103は、シーケンス制御装置、モーション制御装置またはプログラマブル・ロジック・コントローラ(PLC)とも呼ばれる。コントローラ103は、ラダー・ロジック(LD言語)、シーケンシャル・ファンクション・チャート(FC言語)、ファンクション・ブロック(FBD言語)、ストラクチャード・テキスト(ST言語)、またはインストラクション・リスト(LD言語)のような制御装置特有のプログラミング言語で制御内容が記述されたプログラムを実行する。
 このような制御内容が実行可能なプログラムを「制御プログラム」と呼ぶ。制御プログラム207においては一連の処理をタスクと呼び、タスクごとに繰り返し処理する周期を設定できる。制御プログラム207において使用する変数には、入力専用変数及び出力専用変数が存在する。コントローラ103は、このような制御プログラム207のみならず、情報プログラム219も実行する。
 共有アクセス部208は、制御プログラム207が共有記憶領域224へアクセスするためのプログラムである。ライブラリ223は、制御プログラム207や共有アクセス部208が実行するために必要な共有関数の処理を実行する。ライブラリ226は、情報プログラム219が共有記憶領域224にアクセスするために、マップファイル210を参照してアクセス関数の処理を実行する。構成アクセス部229は、連携ファイルアクセス部222へヘッダファイル209を送信したり、連携ファイルアクセス部222から情報プログラム219と共有アクセス部220を受信したりする。タスクスケジューラ228は、タスクを実行する。タスクは、設定されている周期でそのタスクに登録されているプログラムを実行する。タスクに制御プログラム207と共有アクセス部208が登録されている場合、タスクは、実行周期に合わせて制御プログラム207と共有アクセス部208を実行する。共有記憶領域224は、制御プログラム207と情報プログラム219が共有する変数のデータを保存する。共有アクセス部220は、ライブラリ226を経由して共有記憶領域224にアクセスし、例えば、情報プログラム219の読み込み用構造体401にデータを読み込んだり、書き込み用構造体402のデータを共有記憶領域224の連続したアドレスの領域に書き込んだりする。
 ヘッダファイル209は、連携ファイル生成部212が生成する情報プログラム219を作成する際に用いられるヘッダファイルである。マップファイル210は、連携ファイル生成部212が生成する情報プログラム219が共有記憶領域224へアクセスするために使用するファイルである。
 コンテナ処理部227は、制御プログラム207と情報プログラム219とが互いに影響を及ぼさないようにするためのプログラムである。
 (1-3)共有変数の設定画面
 図3は、第1の実施の形態による共有変数の設定画面としての共有変数設定部301の一例を示す。なお、この共有変数設定部301は、制御プログラム開発PC101によって表示される、設定受け付け画面である。
 共有変数設定部301は、情報プログラム219と共有する変数を設定するためのGUI(Graphic Use Interface)で、連携ファイル生成部212が生成する。共有チェック欄302は、チェックした場合には、変数名303に示す変数について情報プログラム219と変数を共有し、チェックしない場合にはそれについて情報プログラム219と変数共有しないことを表す。変数名303は、情報プログラムと共有する変数名である。型304は、変数の型である。周期305は、共有記憶領域224において共有される変数データを保存する周期を設定するための欄である。
 キャンセルボタン306は、押下すると、共有変数設定部301での作業を破棄し終了する一方、OKボタン307は、押下すると、設定された情報を基にヘッダファイル209及びマップファイル210を生成する。アクセス権限308は、情報プログラムに付与するアクセス権限を表している。情報プログラムは、このアクセス権限308が「Read」であれば、変数名303に対応する変数のデータを読み込むことができる一方、「Write」であればそれを書き込むこともできる。
 (1-4)ヘッダファイル
 図4は、情報プログラム219を作成するためのヘッダファイル209の一例を示す。読み込み用構造体401は、情報プログラム219が共有記憶領域224の読み込みオフセット値(読み込み領域)から読み込んだデータが格納される構造体である。書き込み用構造体402は、情報プログラム219が共有記憶領域224の書き込みオフセット値(書き込み領域)に書き込むデータが格納される構造体である。ヘッダファイルには、構造体に限らずプログラム言語で使用可能な変数の宣言を記載してもよい。共有すべき変数がない場合は、対象となるアクセス用変数の宣言は記載されない。
 全体readアクセス関数403は、情報プログラム219がすべての読み込み用変数のデータを読み込むための関数である。関数の呼び出し時に共有記憶領域224の読み込み領域からprDataにデータを読み込む。全体writeアクセス関数404は、情報プログラム219がすべての書き込み用変数のデータを書き込むための関数である。関数の呼び出し時にpwDataから共有記憶領域224の書き込み領域にデータを書き込む。全体writeのreadアクセス関数405は、情報プログラム219がすべての書き込み用変数のデータを読み込むための関数である。readアクセス関数405は、関数の呼び出し時に共有記憶領域224の書き込み領域からpwDataにデータを読み込む。個別readアクセス関数406は、情報プログラム219が個々の読み込み用変数のデータを読み込むための関数である。個別writeアクセス関数407は、情報プログラム219が個々の書き込み用変数のデータを書き込み領域に書き込むための関数である。個別writeのreadアクセス関数408は、情報プログラム219が個々の書き込み用変数のデータを書き込み領域から読み込むための関数である。
 (1-5)マップファイル
 図5は、マップファイル210をCSV形式で生成した一例である。マップファイル210は、共有アクセス部220が共有記憶領域224にアクセスする際に使用される。
 共有記憶領域名501は、共有記憶領域224を識別するための名称である。例えばOSがLinux(登録商標)であれば共有記憶領域としてファイルを作成するため、そのファイルの保存位置を表す絶対パスを共有記憶領域名501とする。
 サイズ502は、共有記憶領域224で保存しているデータのサイズである。読み込みオフセット503は、共有記憶領域224の先頭アドレスと、共有アクセス部220が読み込むためのデータが格納されている領域の先頭アドレスとの差を表す。
 書き込みオフセット504は、共有記憶領域224の先頭アドレスと、共有アクセス部220がデータを書き込むための領域の先頭アドレスとの差を表す。型505は、共有記憶領域224に書き込む制御プログラム207で使用しているデータの型である。
 変数名506は、共有記憶領域224に書き込むデータが格納されている、制御プログラム207で使用している変数の名前である。変数オフセット507は、共有アクセス部220が読み込むためのデータが格納されている領域の先頭アドレスと、対象の変数のデータが格納されている領域の先頭アドレスとの差を表す。型508は、共有記憶領域224から読み込む制御プログラム207で使用しているデータの型である。
 変数名509は、共有記憶領域224から読み込んだデータを格納する制御プログラム207で使用している変数の名称である。変数オフセット510は、共有アクセス部220が読み込むためのデータが格納されている領域の先頭アドレスと、対象の変数のデータが格納されている領域の先頭アドレスとの差を表す。型505から変数オフセット510の情報は、個別の変数のみにアクセスする場合や、必要に応じて構造体のアライメントの調整に使用する。例えば、複数の情報プログラム219がありプログラミング言語が異なる場合、構造体のメンバが保存される領域の構造がマップファイル210と異なる場合ある。その場合、対象言語用に作成されるライブラリ226は、対象言語の構造体のアライメントに合わせてオフセット値を算出し、共有記憶領域224にアクセスする。型のサイズは、ライブラリ226で型名とサイズの変換テーブルを保持していてもよいし、マップファイル210に記載しておいてもよい。
 図6は、制御プログラム207用のコンテナ及び情報プログラム219用のコンテナのイメージ図である。図示の例では、図2の各構成と同一の符号が付してある構成は、ほぼ同様の機能を有しているため、以下では異なる点を中心として説明する。
 コンテナ処理部227は、制御プログラム207と情報プログラム219とが互いに影響を及ぼさないようにするために、制御プログラム207及び情報プログラム219のためのコンテナを作成する。
 具体的には、コンテナ処理部227は、制御プログラム207と情報プログラム219とがそれぞれ専用で使用するプロセス、ファイルシステム及びネットワークの名前空間と、CPU123とメインメモリ124とのリソースを作成する。
 本実施の形態では、制御プログラム207用のコンテナを「制御コンテナ」と呼ぶ一方、情報プログラム219用のコンテナを「情報コンテナ」と呼ぶことにする。コンテナの具体的な作成方法については後述する。
 図7は、制御プログラム207に関連する処理の一例を示す。まず、ステップS600では、コンテナ処理部227が、図6に示すように、制御プログラム207用の制御コンテナ及び情報プログラム219用の情報コンテナを作成する。
 図6は、コンテナ処理部227は、共有記憶領域224が作成されるディレクトリを制御コンテナ及び情報コンテナのファイルシステムにマウント(図示の点線に相当)して共有ディレクトリを作成し、制御プログラム207と情報プログラム219からアクセスできるようにする。また、コンテナ処理部227は、ヘッダファイル209とマップファイル210を保存するための共有ディレクトリと、情報プログラム219及び共有アクセス部220を保存するための共有ディレクトリも作成する。その際、コンテナ処理部227は、後者の共有ディレクトリについては、情報コンテナのファイルシステムにのみマウントして共有する。制御プログラム207は制御コンテナ内で実行され、情報プログラム219は情報コンテナ内で実行される。
 ステップS601では、ユーザが、制御プログラム開発PC101を用いて、既述のIDEを使用してソースコードをまとめて管理するためのプロジェクトを作成し、制御プログラム207を作成する。ステップS602では、ユーザが、共有変数設定部301を起動するために、既述のIDEの該当するメニューを選択する。選択されると、連携ファイル生成部212がソースファイル201から変数を抽出する。
 ステップS603では、連携ファイル生成部212が、共有変数設定部301(図3参照)を生成して表示する。ユーザは、情報プログラム219と共有する変数の共有チェック欄302にチェックし、アクセス権限308及び周期305を設定する。設定が完了した後、ユーザがOKボタン307を押下すると、連携ファイル生成部212は、設定内容をメモリに保存する。
 ステップS604では、連携ファイル生成部212が、設定された値をメモリから取得する。
 ステップS605では、連携ファイル生成部212がヘッダファイル209及びマップファイル210を生成する。連携ファイル生成部212は、アクセス権限308が「Read」に設定された変数を読み込み用構造体401としてヘッダファイル209に定義する。次に連携ファイル生成部212は、アクセス権限308が「Write」に設定された変数を書き込み用構造体402としてヘッダファイル209に定義する。そして、連携ファイル生成部212は、全体readアクセス関数403、全体writeアクセス関数404、全体writeのreadアクセス関数405、個別readアクセス関数406、個別writeアクセス関数407および個別writeのreadアクセス関数408をヘッダファイル209に定義する。
 次に連携ファイル生成部212は、情報プログラム219がヘッダファイル209に定義された構造体変数の構造で共有記憶領域224にアクセスできるようにマップファイル210を生成する。具体的には、連携ファイル生成部212は、共有記憶領域名501、共有記憶領域名で生成するファイルのサイズ502、読み込みオフセット503、及び書き込みオフセット504をマップファイル210に出力する。連携ファイル生成部212は、共有記憶領域224の先頭アドレスから順に「Read」に設定された変数を保存し、連続して「Write」に設定された変数を保存できるように共有記憶領域224にアクセスするためのマップファイル210を生成する。連携ファイル生成部212は、ヘッダファイル209で定義した構造体のサイズからサイズ502、読み込みオフセット503、書き込みオフセット504を算出する。次に連携ファイル生成部212は、読み込み用構造体401定義されている変数の型505、変数名506、変数オフセット507をマップファイル210に出力する。次に連携ファイル生成部212は、書き込み用構造体402定義されている変数の型508、変数名509、変数オフセット510をマップファイル210に出力する。連携ファイル生成部212は、変数オフセット(507と510)を変数の定義順序、変数のサイズ、および情報プログラム219の構造体のアライメントを考慮して算出して出力する。
 ステップS606では、連携ファイル生成部212は、共有記憶領域224の名前を決定して共有記憶領域224を作成し、この共有記憶領域224で共有変数のデータを保存する領域にアクセスできるソースコード(共有領域アクセス部211)を生成する。具体的には、連携ファイル生成部212は、ヘッダファイル209に定義する構造体の変数の順番、マップファイル210に出力したオフセットを基にして、共有変数設定部301において、「Read」に設定された読み込み用変数のデータを共有記憶領域224に書き込むソースコードと、「Write」に設定された書き込み用変数のデータを共有記憶領域224から制御プログラム207の変数に読み込むソースコードを生成する。
 連携ファイル生成部212は、制御プログラム207をタスクに登録し、タスクの実行周期として周期305を設定する。タスクの実行周期は、制御プログラム作成者等により手動で設定されてもよい。連携ファイル生成部212は、制御プログラム207の次に実行されるように共有記憶領域224にアクセスする共有アクセス部208を同じタスクに登録する。
 ステップS607では、ユーザが既述のIDEで実行メニューを選択すると、IDE制御部206はソースコードをビルドし、制御プログラム207及び共有アクセス部208を生成する。
 ステップS608では、制御プログラム開発PC101においてIDE制御部206が、制御プログラム207及び共有アクセス部208を既述の制御コンテナ内の共有ディレクトリ以外の場所に送信し、ヘッダファイル209及びマップファイル210を制御コンテナ内の共有ディレクトリに送信する。
 ステップS609では、IDE制御部206が、コントローラ103のタスクスケジューラ228を実行する。ステップS610では、タスクスケジューラ228がタスクを実行し、タスクは設定された実行周期で制御プログラム207を実行する。制御プログラム207は、制御処理を実行する。一度起動したタスクは、周期的に登録されたプログラムを実行するため再度タスクスケジューラからは実行されない。
 ステップS611では、タスクが制御プログラム207の実行後に共有アクセス部208を実行する。ステップS612では、共有アクセス部220が、ライブラリ223の処理も活用しつつ共有記憶領域名501とサイズ502を指定して共有記憶領域224をオープン(アクセス可能な状態)し、マップファイル210に出力した情報を基にRead権限の変数のデータを書き込む一方、Write権限の変数のデータを読み込む。次にステップS610が実行される。
 図8は、情報プログラム219の関連処理の一例を示す。ステップS701では、ユーザが既述のIDEを使用してソースコードをまとめて管理するためのプロジェクトを作成するウィザードを実行する。
 ステップS702では、ウィザードが実行されると、IDE制御部218は、連携ファイルアクセス部222を実行してコントローラ103の構成アクセス部229と通信し、ヘッダファイル209を取得する。
 ステップS703では、連携ファイルアクセス部222が、情報プログラム219のソースコードとなるファイルのヘッダファイル宣言部の位置にヘッダファイル209の宣言を入力してプロジェクトの作成が完了する。
 ステップS704では、ユーザが、情報プログラム219と、共有記憶領域224へアクセスするための共有アクセス部220のソースコードとを作成する。ユーザは、ヘッダファイル209に定義された関数を基にして、共有アクセス部220のソースコードを作成する。
 ステップS705では、ユーザが既述のIDEで実行メニューを選択すると、IDE制御部218はソースコードをビルドし、情報プログラム219及び共有アクセス部220を生成する。共有アクセス部220は、情報プログラム219に含まれていてもよい。
 ステップS706では、連携ファイルアクセス部222が、情報プログラム219及び共有アクセス部220を構成アクセス部229に送信する。コンテナ処理部227は、構成アクセス部229が情報プログラム219及び共有アクセス部220を受信したときに、情報コンテナを作成してもよい。コンテナ処理部227は、情報プログラム219が終了したときに情報コンテナを削除してもよい。構成アクセス部229は、情報プログラム219及び共有アクセス部220を情報コンテナ内からアクセスできる共有ディレクトリに保存する。本実施の形態では、構成アクセス部229を介して情報コンテナ内に情報プログラム219と共有アクセス部220を保存したが、連携ファイルアクセス部222が情報コンテナ内のFTPサーバ等と通信して情報コンテナ内に情報プログラム219と共有アクセス部220を保存してもよい。ステップS707では、IDE制御部218が、例えばSSH接続で情報コンテナ内にログインして情報プログラム219を実行する。
 ステップS708では、情報プログラム219がデータ処理を実行する。ステップS709では、情報プログラム219が共有アクセス部220を実行する。ステップS710では、共有アクセス部220がアクセス関数を実行するために、ライブラリ226を呼び出す。ライブラリ226は、共有ディレクトリからマップファイル210を取得する。ライブラリ226は、あらかじめマップファイル210を取得するためのパス名を保持している。
 ステップS711では、共有アクセス部220が、ライブラリ226経由で共有記憶領域224へのアクセスを実行する。
 (1-6)アクセス方法
 (1-6-1)全体readアクセス:
 ライブラリ226は、関数の引数から読み込み用構造体401の先頭アドレスを取得する。ライブラリ226は、書き込みオフセット504と読み込みオフセット503の差から読み込むデータサイズを算出する。ライブラリ226は、共有記憶領域名501を指定して共有記憶領域224をオープンし、読み込みオフセット503の位置から算出したサイズ分のデータを読み込み、取得した読み込み用構造体401の先頭アドレスから順に読み込んだデータを書き込む。
 (1-6-2)全体writeアクセス:
 ライブラリ226は、関数の引数から書き込み用構造体402の先頭アドレスを取得する。ライブラリ226は、サイズ502と書き込みオフセット504の差から書き込むデータサイズを算出する。ライブラリ226は、共有記憶領域名501を指定して共有記憶領域224をオープンし、書き込み用構造体402の先頭アドレスの位置から算出したサイズ分のデータを読み込み、共有憶領域224の書き込みオフセット503の位置から読み込んだデータを順に書き込む。
 (1-6-3)全体writeのreadアクセス:
 ライブラリ226は、関数の引数から書き込み用構造体402の先頭アドレスを取得する。ライブラリ226は、サイズ502と書き込みオフセット504の差から読み込むデータサイズを算出する。ライブラリ226は、共有記憶領域名501を指定して共有記憶領域224をオープンし、書き込みオフセット503の位置から算出したサイズ分のデータを読み込み、取得した書き込み用構造体402の先頭アドレスから順に読み込んだデータを書き込む。
 (1-6-4)個別readアクセス:
 ライブラリ226は、関数の引数から読み込み用構造体401の先頭アドレスと個別変数の先頭アドレスを取得する。ライブラリ226は、取得したアドレスの差を計算して個別変数のオフセット値を算出する。ライブラリ226は、マップファイル210を参照し、一致する変数オフセット507の変数を特定する。ライブラリは、特定した変数の型505からサイズを特定する。ライブラリ226は、共有記憶領域名501を指定して共有記憶領域224をオープンし、読み込みオフセット503の位置から算出したオフセット分だけ離れた位置から特定したサイズ分のデータを読み込み、取得した個別変数の先頭アドレスから順に、読み込んだデータを書き込む。
 (1-6-5)個別writeアクセス:
 ライブラリ226は、関数の引数から書き込み用構造体402の先頭アドレスと個別変数の先頭アドレスを取得する。ライブラリ226は、取得したアドレスの差と書き込みオフセット504を足して個別変数のオフセット値を算出する。ライブラリ226は、マップファイル210を参照し、算出したオフセット値と一致する変数オフセット510の変数を特定する。ライブラリ226は、特定した変数の型508からサイズを特定する。ライブラリ226は、共有記憶領域名501を指定して共有記憶領域224をオープンし、個別変数の先頭アドレスから特定したサイズ分のデータを読み込み、共有記憶領域224の先頭アドレスから算出したオフセット分だけ離れた位置から、個別変数の先頭アドレスから読み込んだデータを書き込む。
 (1-6-6)個別writeのreadアクセス:
 ライブラリ226は、関数の引数から書き込み用構造体402の先頭アドレスと個別変数の先頭アドレスを取得する。ライブラリ226は、取得したアドレスの差に書き込みオフセット504を足して個別変数のオフセット値を算出する。ライブラリ226は、マップファイル210を参照し、変数オフセット510の差が一致する変数を特定する。ライブラリ226は、特定した変数の型508からサイズを特定する。ライブラリ226は、共有記憶領域名501を指定して共有記憶領域224をオープンし、算出したオフセット分だけ離れた位置から特定したサイズ分のデータを読み込み、取得した個別変数の先頭アドレスから順に、読み込んだデータを書き込む。
 次にステップS708を実行する。共有アクセス部208とライブラリ226が共有記憶領域224に書き込む処理は、書き込み処理が中断されず連続した処理となるアトミック処理とする。
 (1-7)本実施の形態の作用効果等
 以上のような構成によれば、制御プログラム207に含まれる共有変数の変数情報が抽出され、共有記憶領域224に関するマップファイル210と、共有記憶領域224へのアクセスの際に使用されるヘッダファイル209とが作成される。また、ヘッダファイル209を用いて情報プログラム219が生成される。この情報プログラム219は、マップファイル210を用いて共有記憶領域224にアクセスする。このようにすると、制御プログラム207と情報プログラム219との間で同一の共有変数名が自動的に生成されることになり、管理者の手動による、制御プログラム209の制御対象機器であるデバイスのアドレスの割り当て作業を必要としなくなるため、開発効率を向上することができる。
 (2)第2の実施の形態
 第2の実施の形態では、第1の実施の形態と同様の構成及び動作については説明を省略し、異なる点を中心として説明する。第2の実施の形態では、第1の実施の形態とは異なり、制御プログラム207のタスクとは別のタスクとして共有アクセス部208が実行され、共有記憶領域224にアクセスする。
 図9は、制御プログラム関連の処理の一例を示す。ステップS801では、連携ファイル生成部212が、共有記憶領域224の名前を決定し、共有記憶領域224を作成し、共有変数のデータを共有記憶領域224にアクセスできるソースコード(共有領域アクセス部211)を生成する。連携ファイル生成部212は、制御プログラム207のタスクとは別の共有アクセスタスクを作成し、実行する周期として共有変数設定部301から取得した周期を設定する。連携ファイル生成部212は、制御プログラム207を実行するタスクの優先度よりも共有アクセスタスクの実行優先度を低く設定する。
 ステップS802では、タスクスケジューラ228が、タスクを実行し、タスクは設定された実行周期で登録されている制御プログラム207を実行する。制御プログラム207は、制御処理を実行する。次にステップS803が実行される。このタスクは、設定された実行周期で制御プログラム207を繰り返し実行する。ステップS803では、タスクスケジューラ228が共有アクセスタスクを実行し、共有アクセスタスクが登録されている共有アクセス部208を実行する。次にステップS612を実行する。この共有アクセスタスクは、設定された実行周期でステップ803とステップ612を繰り返し実行する。
 以上のような構成によれば、制御プログラム207のタスクとは独立した共有アクセス部208が、制御プログラム207より実行優先度が低い状態で共有記憶領域224にアクセスするため、制御プログラム207の影響を受けにくくすることができる。
 (3)その他の実施形態
 上記実施形態は、本発明を説明するための例示であり、本発明をこれらの実施形態にのみ限定する趣旨ではない。本発明は、その趣旨を逸脱しない限り、様々な形態で実施することができる。例えば、上記実施形態では、各種プログラムの処理をシーケンシャルに説明したが、特にこれにこだわるものではない。従って、処理結果に矛盾が生じない限り、処理の順序を入れ替え又は並行動作するように構成しても良い。
 本発明は、いわゆるプログラマブルロジックコントローラを組み込んだ機器としての産業用コントローラ及び産業用コントローラにおけるデータ共有方法に広く適用することができる。
 101……制御プログラム開発PC、102……情報プログラム開発PC、103……コントローラ、104……制御対象機器、130……センサ、131……アクチュエータ。

Claims (8)

  1.  制御対象機器のための制御プログラムと、所定の処理を実行する情報プログラムとが共有変数を用いて共有記憶領域でデータを共有する産業用コントローラであって、
     前記制御プログラムに含まれる前記共有変数の変数情報を抽出し、前記共有記憶領域に関するマップファイルと、前記共有記憶領域へのアクセスの際に使用されるヘッダファイルとを作成するファイル作成部と、
     前記ヘッダファイルを用いて前記情報プログラムを生成するプログラム作成部と、を備え、
     前記情報プログラムは、
     前記マップファイルを用いて前記共有記憶領域にアクセスする
     ことを特徴とする産業用コントローラ。
  2.  前記プログラム作成部は、
     前記共有記憶領域にアクセスするための共有アクセス部を作成して前記情報プログラムを生成し、
     前記情報プログラムは、
     前記共有アクセス部を呼び出して前記共有記憶領域へのアクセスを行う
     ことを特徴とする請求項1に記載の産業用コントローラ。
  3.  前記ヘッダファイルは、
     前記情報プログラムが前記共有記憶領域から読み込んだデータが格納される読み込み用変数宣言と、
     前記情報プログラムが前記共有記憶領域に書き込むデータが格納される書き込み用変数宣言と、
     前記情報プログラムが前記共有変数に対してアクセスするためのアクセス関数と、
     を含むことを特徴とする請求項1に記載の産業用コントローラ。
  4.  前記マップファイルは、
     少なくとも1つの前記共有記憶領域を互いに識別するための共有記憶領域名と、
     少なくとも1つの前記共有記憶領域のサイズと、
     少なくとも1つの前記共有記憶領域の先頭アドレスと、前記共有アクセス部が読み込むためのデータが格納されている領域の先頭アドレスとの差である読み込みオフセットと、
     少なくとも1つの前記共有記憶領域の先頭アドレスと、前記共有アクセス部がデータを書き込むための領域の先頭アドレスとの差である書き込みオフセットと、
     前記共有変数のうち読み込み変数に関する読み込み変数情報と、
     前記共有変数のうち書き込み変数に関する書き込み変数情報と、
     を含むことを特徴とする請求項2に記載の産業用コントローラ。
  5.  前記情報プログラムを開発可能な情報プログラム開発コンピュータと、
     前記制御プログラムを開発可能な制御プログラム開発コンピュータと、
     を備え、
     前記制御プログラム開発コンピュータは、
     前記共有変数に関する設定を受付可能な画面を表示することを特徴とする請求項1に記載の産業用コントローラ。
  6.  前記情報プログラムと前記制御プログラムとを隔離するコンテナを備えることを特徴とする請求項1に記載の産業用コントローラ。
  7.  制御対象機器のための制御プログラムと、所定の処理を実行する情報プログラムとが共有変数を用いて共有記憶領域でデータを共有する産業用コントローラにおけるデータ共有方法であって、
     前記産業用コントローラが、前記制御プログラムに含まれる前記共有変数の変数情報を抽出し、前記共有記憶領域に関するマップファイルと、前記共有記憶領域へのアクセスの際に使用されるヘッダファイルとを作成するファイル作成ステップと、
     前記産業用コントローラが前記ヘッダファイルを用いて前記情報プログラムを生成するプログラム作成ステップと、
     前記情報プログラムが前記マップファイルを用いて前記共有記憶領域にアクセスするデータアクセスステップと、
     を有することを特徴とする産業用コントローラにおけるデータ共有方法。
  8.  前記プログラム作成ステップでは、
     前記産業用コントローラが、前記共有記憶領域にアクセスするための共有アクセス部を作成して前記情報プログラムを生成し、
     前記情報プログラムは、
     前記共有アクセス部を呼び出して前記共有記憶領域へのアクセスを行う
     ことを特徴とする請求項7に記載の産業用コントローラにおけるデータ共有方法。
PCT/JP2017/047400 2017-04-27 2017-12-28 産業用コントローラ及び産業用コントローラにおけるデータ共有方法 WO2018198439A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP17907828.2A EP3617819B1 (en) 2017-04-27 2017-12-28 Industrial controller and data sharing method in an industrial controller
US16/487,538 US10955809B2 (en) 2017-04-27 2017-12-28 Industrial controller and data sharing method of industrial controller
CN201780085749.2A CN110249274B (zh) 2017-04-27 2017-12-28 工业用控制器的程序开发系统和其数据共享方法

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017088962A JP6821497B2 (ja) 2017-04-27 2017-04-27 産業用コントローラのプログラム開発システム及び産業用コントローラのプログラム開発システムにおけるデータ共有方法
JP2017-088962 2017-04-27

Publications (1)

Publication Number Publication Date
WO2018198439A1 true WO2018198439A1 (ja) 2018-11-01

Family

ID=63920357

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2017/047400 WO2018198439A1 (ja) 2017-04-27 2017-12-28 産業用コントローラ及び産業用コントローラにおけるデータ共有方法

Country Status (5)

Country Link
US (1) US10955809B2 (ja)
EP (1) EP3617819B1 (ja)
JP (1) JP6821497B2 (ja)
CN (1) CN110249274B (ja)
WO (1) WO2018198439A1 (ja)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020008855A1 (ja) * 2018-07-03 2020-01-09 オムロン株式会社 コンパイル装置およびコンパイル方法
WO2020008867A1 (ja) * 2018-07-03 2020-01-09 オムロン株式会社 制御装置および制御方法

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6922583B2 (ja) * 2017-09-15 2021-08-18 オムロン株式会社 情報処理装置、情報処理方法、および、情報処理プログラム
JP6922793B2 (ja) * 2018-03-12 2021-08-18 オムロン株式会社 制御装置、制御方法、および制御プログラム
JP6969460B2 (ja) * 2018-03-15 2021-11-24 オムロン株式会社 プログラム開発支援システム、プログラム開発支援方法及びプログラム開発支援プログラム
JP7141939B2 (ja) * 2018-12-13 2022-09-26 株式会社日立産機システム 産業用コントローラ
CN111913426B (zh) * 2019-05-08 2023-05-05 创升益世(东莞)智能自控有限公司 一种应用于工业自动化控制系统的软件容器方法
JP7294078B2 (ja) * 2019-11-12 2023-06-20 オムロン株式会社 制御装置
JP6829505B1 (ja) * 2020-04-20 2021-02-10 株式会社オプトン 制御プログラム生成装置、制御プログラム生成方法、プログラム
JP6787616B1 (ja) * 2020-01-28 2020-11-18 株式会社オプトン 制御プログラム生成装置、制御プログラム生成方法、プログラム
CN112596918A (zh) * 2020-12-04 2021-04-02 广东嘉腾机器人自动化有限公司 系统内各程序间共享变量的方法及存储装置
CN116710857B (zh) * 2021-06-25 2024-06-25 三菱电机株式会社 输入单元、控制系统、通信方法及记录介质
CN113268043A (zh) * 2021-06-28 2021-08-17 华能鹤岗发电有限公司 实现plc与dcs系统信息交换的方法及装置
CN114167845B (zh) * 2021-12-23 2023-12-05 广东嘉腾机器人自动化有限公司 一种plc与设备的通讯离线诊断方法和系统
CN116483597B (zh) * 2023-06-25 2024-01-05 广东科伺智能科技有限公司 一种数据共享方法、装置、设备和存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH043205A (ja) * 1990-04-20 1992-01-08 Yokogawa Electric Corp データ・アクセス・システム
JP2000132208A (ja) * 1998-10-28 2000-05-12 Omron Corp コントロール制御装置
WO2007110953A1 (ja) * 2006-03-29 2007-10-04 Mitsubishi Denki Kabushiki Kaisha プログラム作成支援装置、プログラム作成支援方法とその方法をコンピュータに実行させるプログラムおよびそれを記録した記録媒体
JP5079166B1 (ja) 2011-07-01 2012-11-21 三菱電機株式会社 シンボルテーブル生成方法、周辺機器との通信方法およびプログラマブルロジックコントローラ
JP2015215865A (ja) * 2014-04-24 2015-12-03 富士電機株式会社 プログラマブルコントローラシステム、その支援装置、プログラマブルコントローラ

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4570217A (en) * 1982-03-29 1986-02-11 Allen Bruce S Man machine interface
CN101231525A (zh) * 2008-02-21 2008-07-30 四方电气(集团)有限公司 分布式控制系统dcs控制器实时数据库的实现方法
WO2012156775A1 (en) * 2011-05-16 2012-11-22 Abb Research Ltd A method and a system for online and dynamic distribution and configuration of applications in a distributed control system
US8832670B2 (en) * 2011-07-01 2014-09-09 Mitsubishi Electric Corporation Programmable controller and programming tool for communication with legacy equipment
CN107703878B (zh) * 2015-11-27 2019-06-28 中工科安科技有限公司 一种plc分布式远程io扩展模块

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH043205A (ja) * 1990-04-20 1992-01-08 Yokogawa Electric Corp データ・アクセス・システム
JP2000132208A (ja) * 1998-10-28 2000-05-12 Omron Corp コントロール制御装置
WO2007110953A1 (ja) * 2006-03-29 2007-10-04 Mitsubishi Denki Kabushiki Kaisha プログラム作成支援装置、プログラム作成支援方法とその方法をコンピュータに実行させるプログラムおよびそれを記録した記録媒体
JP5079166B1 (ja) 2011-07-01 2012-11-21 三菱電機株式会社 シンボルテーブル生成方法、周辺機器との通信方法およびプログラマブルロジックコントローラ
JP2015215865A (ja) * 2014-04-24 2015-12-03 富士電機株式会社 プログラマブルコントローラシステム、その支援装置、プログラマブルコントローラ

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3617819A4

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020008855A1 (ja) * 2018-07-03 2020-01-09 オムロン株式会社 コンパイル装置およびコンパイル方法
WO2020008867A1 (ja) * 2018-07-03 2020-01-09 オムロン株式会社 制御装置および制御方法
JP2020008941A (ja) * 2018-07-03 2020-01-16 オムロン株式会社 制御装置および制御方法
JP2020008942A (ja) * 2018-07-03 2020-01-16 オムロン株式会社 コンパイル装置およびコンパイル方法
US11157297B2 (en) 2018-07-03 2021-10-26 Omron Corporation Control device and control method for preventing unintentional overwriting of data
US11226814B2 (en) 2018-07-03 2022-01-18 Omron Corporation Compiler device and compiling method

Also Published As

Publication number Publication date
EP3617819A4 (en) 2020-12-02
CN110249274A (zh) 2019-09-17
EP3617819A1 (en) 2020-03-04
US20190369588A1 (en) 2019-12-05
JP2018185772A (ja) 2018-11-22
US10955809B2 (en) 2021-03-23
CN110249274B (zh) 2022-04-19
JP6821497B2 (ja) 2021-01-27
EP3617819B1 (en) 2022-03-02

Similar Documents

Publication Publication Date Title
WO2018198439A1 (ja) 産業用コントローラ及び産業用コントローラにおけるデータ共有方法
US9235381B2 (en) Method and device for the programming and configuration of a programmable logic controller
KR102233353B1 (ko) 자동화 애플리케이션들을 위한 추상화 계층들
EP3647941B1 (en) Engineering apparatus, control method of engineering apparatus, and program
US10162328B2 (en) Controller and control system
JP2018129020A (ja) インダストリアル・インターネットオペレーティングシステムに基づくインダストリアル・プロセス制御管理方法と装置
US7237223B2 (en) Apparatus and method for real-time caution and warning and system health management
JP2009146229A (ja) プログラマブルコントローラシステム
JP6135247B2 (ja) 情報処理装置および情報処理プログラム
US11169510B2 (en) Engineering system and method for planning an automation system
EP3767411A1 (en) Control system, development assistance device, and development assistance program
US20240004688A1 (en) Control system and control method
US20220291903A1 (en) Information processing device, recording medium, and support system
WO2020246097A1 (ja) サポート装置およびサポートプログラム
CN112685051A (zh) 自动执行shell脚本的方法、装置、平台及存储介质
JP4301976B2 (ja) プログラミングツール
JP4877257B2 (ja) プログラマブルコントローラ、プログラマブルコントローラ支援装置、及びプログラマブルコントローラシステム
JP2009157534A (ja) プログラム作成支援システム、そのプログラマブルコントローラ支援装置、プログラマブル表示器支援装置
JP2012093979A (ja) OSGiバンドル及びデプロイメントパッケージ自動作成システム、自動作成方法及び自動作成ツール
US20220206455A1 (en) Information providing system, server, and information providing method
US10977032B2 (en) Assistance device, design assistance method and program
CN113892065A (zh) 支持装置以及支持程序
CN115061403A (zh) 一种软件定义的控制器及其编程方法和运动控制方法
Di Trapani et al. Ntgsim: A graphical user interface for the nonlinear trajectory generation algorithm
AN-IND Using MATLAB with CANoe

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17907828

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2017907828

Country of ref document: EP

Effective date: 20191127