WO2020213059A1 - プログラム作成支援装置、プログラム作成支援方法およびプログラム - Google Patents

プログラム作成支援装置、プログラム作成支援方法およびプログラム Download PDF

Info

Publication number
WO2020213059A1
WO2020213059A1 PCT/JP2019/016329 JP2019016329W WO2020213059A1 WO 2020213059 A1 WO2020213059 A1 WO 2020213059A1 JP 2019016329 W JP2019016329 W JP 2019016329W WO 2020213059 A1 WO2020213059 A1 WO 2020213059A1
Authority
WO
WIPO (PCT)
Prior art keywords
memory
program
unit
area
cpu
Prior art date
Application number
PCT/JP2019/016329
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 US17/434,012 priority Critical patent/US20220155746A1/en
Priority to JP2019554570A priority patent/JP6628951B1/ja
Priority to CN201980095308.XA priority patent/CN113661451B/zh
Priority to PCT/JP2019/016329 priority patent/WO2020213059A1/ja
Publication of WO2020213059A1 publication Critical patent/WO2020213059A1/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
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/1605Handling requests for interconnection or transfer for access to memory bus based on arbitration
    • G06F13/1652Handling requests for interconnection or transfer for access to memory bus based on arbitration in a multiprocessor architecture
    • G06F13/1657Access to multiple memories
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • G06F15/167Interprocessor communication using a common memory, e.g. mailbox
    • 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/13Plc programming
    • G05B2219/13004Programming the plc
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/54Link editing before load time
    • 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
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • 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
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/454Multi-language systems; Localisation; Internationalisation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • the present invention relates to a program creation support device that supports the creation of a program executed in a programmable logic controller (Programmable Logic Controller, hereinafter referred to as PLC), a program creation support method, and a program.
  • PLC programmable logic controller
  • the PLC includes a CPU (Central Processing Unit) unit and a network unit for communication that operates in cooperation with the CPU unit.
  • a communication network is constructed by using a network unit, and communication between a CPU unit and a sensor or the like in a remote place is realized by using the communication network.
  • One network consists of a network unit installed in a remote location (hereinafter referred to as a remote station) for collecting sensor values in a remote location, and a network unit attached to a base unit to communicate with the remote station (hereinafter referred to as a remote station). , Called the master station).
  • the remote station and the master station have a memory (hereinafter referred to as a network side memory).
  • a device such as a sensor can be connected to the remote station, and the remote station collects measured values such as sensor values from the connected device and holds them in its own network side memory.
  • the master station collects the measured values collected by each remote station by receiving the measured values collected by each remote station at a predetermined timing and holding them in its own network side memory.
  • the CPU unit can read the measured values output from the devices connected to each remote station by acquiring the measured values stored in the network side memory of the master station.
  • the time required when the CPU constituting the CPU unit acquires the data stored in the network side memory of the master station is the memory required by the CPU constituting the CPU unit in the CPU unit (hereinafter, referred to as the CPU side memory). ) Is long compared to the time required to acquire the data stored in. This is because when the CPU of the CPU unit acquires the value of the memory on the network side, communication between the units occurs via the base unit. Even if the CPU unit and the network unit (master station) are mounted on the base unit and do not communicate via the base unit, but the CPU unit and the master station can directly communicate with each other, the CPU unit is configured. The time required for the CPU to acquire the data stored in the network side memory of the master station is longer.
  • the PLC has a function of synchronizing the data stored in the designated area of the CPU side memory with the data stored in the designated area of the network side memory.
  • This function is also called the refresh function.
  • the refresh function the process of duplicating the data stored in the designated area of the CPU side memory and transferring it to the designated area of the network side memory is repeatedly executed at a predetermined cycle.
  • the data stored in the designated area of the network-side memory is updated to the same data as the data stored in the designated area of the network-side memory at a predetermined cycle (see, for example, Patent Document 1).
  • the memory allocation work that is, the work of associating the value of which area of the CPU side memory with the value of which area of the network side memory.
  • a worker who creates a program executed by PLC needs to be aware of the state of memory allocation when programming. That is, the worker can determine in which area of the network side memory the value output from which device connected to the remote station is stored, and in which area of the network side memory and which area of the CPU side memory. It is necessary to program while being aware of whether the values are synchronized. Therefore, there is a problem that the workload of the program creator becomes large.
  • the present invention has been made in view of the above, and an object of the present invention is to obtain a program creation support device capable of reducing the workload of a worker who creates a program executed by a PLC.
  • the present invention is provided with a first memory internally and a control unit for controlling the operation of the entire programmable logic controller, and a second memory internally provided and programmable.
  • a refresh function that synchronizes the value of a specific area of the first memory with the value of a specific area of the second memory, including a network unit that acquires data from the controlled device of the logic controller and stores it in the second memory.
  • From the pre-conversion sequence program to the second memory which is a program creation support device that supports the creation of the sequence program executed by the programmable logic controller, which is the sequence program before the programmable logic controller is converted into an understandable format.
  • the program creation support device has a storage unit that stores memory allocation setting information indicating the correspondence relationship between the specific area of the first memory and the specific area of the second memory, and a memory allocation setting information stored in the storage unit. Based on the above, a program replacement unit for replacing the description indicating the access to the second memory of the pre-conversion sequence program with the description indicating the access to the first memory is provided.
  • the program creation support device has an effect that the workload of the worker who creates the program executed by the PLC can be reduced.
  • FIG. 1 is a diagram showing an example of a PLC using a program created by the program creation support device according to the present invention.
  • the PLC1000 shown in FIG. 1 includes a CPU unit 1100 which is a control unit that controls the operation of the entire PLC1000, a network unit 1200 that forms a communication network, and a base unit 1300 to which the CPU unit 1100 and the network unit 1200 are connected. Including.
  • the CPU unit 1100 and the network unit 1200 are mounted at predetermined mounting positions of the base unit 1300, respectively.
  • an input unit, an output unit, and the like are mounted on the base unit 1300 according to the application, but the description of units other than the CPU unit 1100 and the network unit 1200 is omitted here.
  • the network unit 1200 is connected to another network unit (not shown in FIG. 1) via a communication line.
  • a device to be controlled by the PLC 1000 is connected to the other network unit.
  • the PLC 1000 has a refresh function, and can synchronize the data stored in the designated area of the CPU side memory with the data stored in the designated area of the network side memory.
  • the CPU unit 1100 holds the CPU program 1101 which is a sequence program described in a ladder language or the like, and realizes the control operation of the entire PLC1000 by operating according to the program code described in the CPU program 1101. Further, the CPU unit 1100 has a CPU parameter 1102 that sets the operation of the CPU (not shown), and a CPU side memory 1103 that stores the result of an operation performed according to the CPU program 1101.
  • the CPU parameter 1102 includes the memory allocation setting information 1121 which is information used in the refresh function, the device on the communication network managed by the network unit 1200 mounted on the base unit 1300, and the network side memory 1201 which can be referred to by the CPU unit 1100. Includes network configuration setting information 1122 indicating the area of.
  • the CPU side memory 1103 is the first memory of the PLC 1000.
  • the network unit 1200 is a master station and has a network side memory 1201.
  • the network-side memory 1201 collects information acquired from devices such as sensors in the communication network by the remote station, which is another network unit described above.
  • the network side memory 1201 is a second memory of the PLC 1000.
  • FIG. 2 is a diagram showing a configuration example of the program creation support device according to the first embodiment.
  • the program creation support device 1 according to the first embodiment includes a storage unit 10 that holds a CPU parameter 11 and a CPU program 12, and a change processing unit 20 that changes the CPU program 12.
  • the CPU program 12 is a sequence program similar to the CPU program 1101 shown in FIG. 1, but is a sequence program before the CPU unit 1100 of the PLC 1000 is converted into an understandable format.
  • the program creation support device 1 receives an operation from a programming operator and creates a CPU parameter 11 and a CPU program 12 according to the operation content.
  • the program creation support device 1 automatically creates the memory allocation setting information 111 of the CPU parameter 11.
  • the CPU program 12 shown in FIG. 2 is a program code created by an operator using a ladder language or the like, and is a sequence program similar to the CPU program 1101 shown in FIG. However, the CPU program 12 is in a state before the CPU of the CPU unit 1100 is converted into an understandable format by executing compilation.
  • the CPU program 12 is a pre-conversion sequence program.
  • the CPU program 12 is compiled, converted into a format that the CPU of the CPU unit 1100 can understand, and then transferred to the CPU unit 1100 of the PLC 1000 shown in FIG.
  • the CPU unit 1100 holds the program received from the program creation support device 1 as the CPU program 1101.
  • FIG. 2 describes a means for realizing a process of receiving an operation from an operator and creating a CPU program 12, a means for transferring a converted program obtained by compiling the CPU program 12 to the CPU unit 1100, and the like. It is omitted.
  • These means are the same as the program creation means, the compilation means, the program transfer means, and the like provided in the general program creation device used for the programming work of the sequence program for PLC.
  • the program creation means for creating the CPU program 12 may exist outside the program creation support device 1. That is, the program creation support device 1 may be configured to receive the CPU program created by the other device before the compilation is executed from the other device.
  • the program creation support device 1 holds the CPU program 12 whose creation has been completed. Further, it is assumed that the CPU program 12 includes an instruction for instructing access to the network side memory 1201.
  • the CPU parameter 11 corresponds to the CPU parameter 1102 held by the CPU unit 1100 of the PLC1000 shown in FIG. Further, the memory allocation setting information 111 corresponds to the memory allocation setting information 1121 held by the CPU unit 1100, and the network configuration setting information 112 corresponds to the network configuration setting information 1122 held by the CPU unit 1100.
  • the memory allocation setting information 111 and the network configuration setting information 112 are created for each communication network. For example, when three remote stations are connected to the network unit 1200 of the PLC1000, memory allocation setting information 111 and network configuration setting information 112 are created for each of the three remote stations.
  • the CPU parameter 11 is transferred to the CPU unit 1100 together with the converted program obtained by compiling the CPU program 12.
  • the change processing unit 20 includes a program extraction unit 21, a memory allocation unit 22, and a program replacement unit 23.
  • the program extraction unit 21 analyzes the CPU program 12 and extracts from the CPU program 12 a part in which the content indicating access to the network side memory 1201 is described.
  • the memory allocation unit 22 updates the memory allocation setting information 111 based on the description contents of the portion extracted by the program extraction unit 21.
  • the update of the memory allocation setting information 111 also includes a process of newly creating the memory allocation setting information 111 when the memory allocation setting information 111 to be updated does not exist.
  • the program replacement unit 23 replaces the CPU program 12 based on the memory allocation setting information 111 updated by the memory allocation unit 22. Specifically, the program replacement unit 23 rewrites the description indicating the access to the network side memory 1201 included in the CPU program 12 to the description indicating the access to the CPU side memory 1103.
  • the memory allocation setting information 111 includes information indicating that the area of the address B1 of the network side memory 1201 is associated with the area of the address A1 of the CPU side memory 1103.
  • the program replacement unit 23 rewrites the description indicating the access to the area of the address B1 of the network side memory 1201 included in the CPU program 12 to the description indicating the access to the area of the address A1 of the CPU side memory 1103. .
  • FIG. 3 is a diagram showing a configuration example of hardware capable of realizing the program creation support device 1 according to the first embodiment.
  • the hardware shown in FIG. 3 is, for example, a personal computer, which includes a processor 91, a memory 92, a display device 93, and an input device 94.
  • the processor 91 is a CPU, and is also called a central processing unit, a processing unit, an arithmetic unit, a microprocessor, a microcomputer, or a DSP (Digital Signal Processor).
  • DSP Digital Signal Processor
  • the memory 92 is non-volatile or volatile such as RAM (Random Access Memory), ROM (Read Only Memory), flash memory, EPROM (Erasable Programmable Read Only Memory), EEPROM (registered trademark) (Electrically Erasable Programmable Read Only Memory). These include sex semiconductor memories, magnetic disks, optical disks, compact disks, mini disks, and DVDs (Digital Versatile Disk).
  • the display device 93 is a liquid crystal monitor, a display, or the like.
  • the input device 94 is a keyboard, a mouse, or the like.
  • the storage unit 10 of the program creation support device 1 is realized by the memory 92.
  • the change processing unit 20 of the program creation support device 1 is realized by the processor 91 and the memory 92. That is, in the program extraction unit 21, the memory allocation unit 22, and the program replacement unit 23 of the change processing unit 20, the memory 92 holds a program for realizing the functions of each of these units, and the processor 91 stores this program in the memory. It is realized by reading from 92 and executing it.
  • the above program for realizing each part of the change processing unit 20 may be provided to the user in a state of being stored in the memory 92 in advance, or may be a CD (Compact Disc) -ROM, a DVD (Digital Versatile Disc). ) -It may be supplied to the user in a state of being written on a computer-readable recording medium such as a ROM, and installed in the memory 92 by the user. Further, the above program may be provided to the user via a communication line such as the Internet.
  • a communication line such as the Internet.
  • FIG. 4 is a flowchart showing an example of the operation of the program creation support device 1 according to the first embodiment, specifically, a flowchart showing an example of the operation of the change processing unit 20.
  • the predetermined operations include operations for instructing the creation of the memory allocation setting information 111, operations for instructing the compilation execution of the CPU program 12, and the like.
  • the program creation support device 1 executes the compilation after the operation shown in FIG. 4 is completed.
  • the change processing unit 20 extracts the part where the access to the network side memory 1201 is described from the CPU program 12 (step S11). Specifically, the program extraction unit 21 reads the CPU program 12 from the storage unit 10 and analyzes it, and extracts a description indicating access to the network side memory 1201.
  • the CPU program 12 includes the program block 121 shown in FIG.
  • FIG. 5 is a diagram showing an example of a program block included in the CPU program 12 created by the program creation support device 1 according to the first embodiment.
  • the descriptions "J1 ⁇ SB0" and "J1 ⁇ RX0" indicate the internal memory (network side memory 1201) of the network unit that manages the network having the network identifier "J1".
  • the program extraction unit 21 extracts the descriptions "J1 ⁇ SB0" and "J1 ⁇ RX0".
  • "SB0" and “RX0" after "J1 ⁇ ” indicate a specific area of the network side memory 1201.
  • “SB” and "RX” indicate the type of value stored in the area, and are also called a device name.
  • the size of the data stored in the area to which each device name is allocated is fixed.
  • a specific area of the CPU side memory 1103 is indicated by a combination of a device name and a numerical value.
  • the program extraction unit 21 extracts a description indicating access to the network side memory 1201 from a portion of the CPU program 12 other than the program block 121.
  • the change processing unit 20 allocates the CPU side memory 1103 to the network side memory 1201 corresponding to the location extracted in step S11 (step S12). Specifically, the memory allocation unit 22 allocates the area of the CPU side memory 1103 to each area of the network side memory 1201 indicated by each description extracted by the program extraction unit 21. Hereinafter, this process is referred to as "memory allocation process". In the memory allocation process, the memory allocation unit 22 allocates which area of the CPU side memory 1103 to the network side memory 1201 so that the same area of the CPU side memory 1103 is not allocated to different areas of the network side memory 1201 in duplicate. The area of the CPU side memory 1103 is allocated while memorizing whether or not it has been completed.
  • step S12 the memory allocation unit 22 selects an area that has not been allocated from the designated range of the CPU side memory 1103, and allocates the area.
  • the change processing unit 20 updates the memory allocation setting information 111 (step S13). Specifically, the memory allocation unit 22 reflects the result of the memory allocation process in step S12 in the memory allocation setting information 111.
  • the memory allocation unit 22 updates the memory allocation setting information 111 of the communication network corresponding to the description indicating the access to the network side memory 1201.
  • the memory allocation unit 22 newly creates the memory allocation setting information 111.
  • the memory allocation setting information 111 can be, for example, the information of the configuration shown in FIG.
  • FIG. 6 is a diagram showing an example of the memory allocation setting information 111 created by the program creation support device 1 according to the first embodiment.
  • the “point” indicates the size of the area, and when the point is “1”, it is 1 bit.
  • "Start” is the start address of the area
  • "final” is the last address of the area.
  • the CPU program 12 has three descriptions indicating access to the network side memory 1201, two of which indicate access to the area whose device name is SB, and the remaining one is a device. An example is shown in the case where the name is a description indicating access to the RX area.
  • the CPU having the device name “M” and the address “0000 to 0000” is used for the area of the network side memory 1201 having the device name “SB” address “0000 to 0000”.
  • the area of the side memory 1103 is allocated, and the area of the CPU side memory 1103 of the device name "M” of the address "0001 to 0001" is relative to the area of the network side memory 1201 of the device name "SB” of the address "0100 to 0100".
  • An area is allocated, and the area of the 1-bit CPU side memory 1103 of the device name "M” of the address "0002 to 0002" is relative to the area of the network side memory 1201 of the device name "RX" of the address "0000 to 0000". Indicates that is assigned.
  • the change processing unit 20 replaces the description indicating the access to the network side memory 1201 in the CPU program 12 with the description indicating the access to the CPU side memory 1103 (step S14).
  • the area indicated by this description is a description indicating that the program replacement unit 23 accesses the network side memory 1201 in the CPU program 12 based on the memory allocation setting information 111 updated by the memory allocation unit 22.
  • the description is changed to indicate access to the area of the CPU side memory 1103 associated with.
  • FIG. 7 is a diagram showing an example of a program block included in the CPU program 12 created by the program creation support device 1 according to the first embodiment.
  • the program replacement unit 23 executes the replacement process in step S14, "J1 ⁇ SB0" and "J1 ⁇ ” indicating access to the network side memory 1201 included in the program block 121 are shown.
  • the description "RX0” is rewritten to the description "M0" and "M2” indicating access to the CPU side memory 1103, and the program block 122 shown in FIG. 7 is obtained.
  • the program replacement unit 23 replaces the description indicating access to the network side memory 1201 with the description indicating access to the CPU side memory 1103 for the parts other than the program block 121 in the CPU program 12.
  • the program creation support device 1 extracts the description indicating the access to the network side memory 1201 from the CPU program 12, and in the area indicated by the extracted description, the CPU side memory 1103 The unused area is allocated, and the memory allocation setting information 111 indicating to which area of the network side memory 1201 each area whose data is updated by the refresh function is allocated is generated or updated. Further, the program creation support device 1 replaces the description indicating the access to the network side memory 1201 in the CPU program 12 with the description indicating the access to the CPU side memory 1103 based on the memory allocation setting information 111. As a result, the user who is the worker who creates the CPU program 12 does not need to create and update the memory allocation setting information 111, and the workload of program creation is reduced. Further, the user does not need to be aware of the contents of the memory allocation setting information 111 when programming.
  • FIG. 8 is a diagram showing a configuration example of the program creation support device according to the second embodiment.
  • the program creation support device 1a according to the second embodiment has a configuration in which the change processing unit 20 of the program creation support device 1 described in the first embodiment is replaced with the change processing unit 30. In the present embodiment, a part different from the first embodiment will be described.
  • the change processing unit 30 of the program creation support device 1a includes a network configuration extraction unit 31, a memory allocation unit 32, a program extraction unit 33, and a program replacement unit 34.
  • the program extraction unit 33 and the program replacement unit 34 perform the same processing as the program extraction unit 21 and the program replacement unit 23 of the program creation support device 1 according to the first embodiment, respectively.
  • the program creation support device 1a can be realized by the hardware shown in FIG. 3 as in the program creation support device 1 according to the first embodiment.
  • the network configuration extraction unit 31 is an information acquisition unit.
  • the network configuration extraction unit 31 extracts information on a designated area of the network side memory 1201 that can be referred to by the CPU unit 1100 from the network configuration setting information 112.
  • the designated area here is an area in which a copy of the stored data can be transferred to the network side memory 1201 by the refresh function.
  • the information of the designated area of the network side memory 1201 that can be referred to by the CPU unit 1100 is information having a configuration that shows which area of the network side memory 1201 can be used as the storage area of which device name.
  • the memory allocation unit 32 updates the memory allocation setting information 111 in the same manner as the memory allocation unit 22 of the program creation support device 1 according to the first embodiment, but the content of the process executed in the update operation is partially different.
  • the memory allocation unit 32 updates the memory allocation setting information 111 based on the above information extracted by the network configuration extraction unit 31.
  • FIG. 9 is a flowchart showing an example of the operation of the program creation support device 1a according to the second embodiment, specifically, a flowchart showing an example of the operation of the change processing unit 30. Similar to the change processing unit 20 of the program creation support device 1, the change processing unit 30 starts the operation shown in FIG. 9 when it receives a predetermined operation from the user who is the creator of the CPU program 12.
  • the change processing unit 30 extracts the information of the area of the network side memory 1201 that can be referred to by the CPU unit 1100 from the network configuration setting information 112 (step S21).
  • the processing of step S21 is performed by the network configuration extraction unit 31.
  • the area of the network side memory 1201 that can be referred to by the CPU unit 1100 is the designated area described above. Further, the area of the network side memory 1201 that can be referred to by the CPU unit 1100 is an area reserved as an area for storing data such as measured values required by the CPU unit 1100 when the network unit 1200 acquires the data.
  • the area of the network side memory 1201 that can be referred to by the CPU unit 1100 is set by the user before or during the programming of the CPU program 12.
  • the change processing unit 30 allocates the CPU side memory 1103 to the network side memory 1201 corresponding to the information extracted in step S21 (step S22).
  • the memory allocation unit 32 performs a memory allocation process for allocating the area of the CPU side memory 1103 to the area of the network side memory 1201 indicated by the information extracted by the network configuration extraction unit 31. It is assumed that the area of the CPU side memory 1103 that can be allocated to the network side memory 1201 is specified in advance by the user or is specified in advance by the manufacturer.
  • the memory allocation unit 32 selects an area that has not been allocated from the designated range of the CPU-side memory 1103, and allocates the area.
  • FIG. 10 is a diagram showing an example of the memory allocation setting information 111 created by the program creation support device 1a according to the second embodiment. As shown in the memory allocation setting information 111-2 of FIG. 10, the memory allocation unit 32 is allocated for each device name of the memory side memory 1201 and is located in an area that can be referred to by the CPU unit 1100 (four areas in FIG. 10). On the other hand, the area of the CPU side memory 1103 is allocated.
  • the information in each column of "device name”, “score”, “start” and “final” of "network side memory” described on the left side is the network configuration in step S21 above. This is information that the extraction unit 31 extracts from the network configuration setting information 112.
  • the information in each column of "device name”, “score”, “start” and “final” of "CPU side memory” described on the right side is the information allocated by the memory allocation unit 32 in the above step S22.
  • step S24 the change processing unit 30 extracts from the CPU program 12 the location where the access to the network side memory 1201 is described.
  • the process of step S24 is the same process as step S11 described in the first embodiment, and is performed by the program extraction unit 33.
  • step S25 the change processing unit 30 replaces the description indicating the access to the network side memory 1201 in the CPU program 12 with the description indicating the access to the CPU side memory 1103 (step S25).
  • the process of step S25 is the same process as step S14 described in the first embodiment, and is performed by the program replacement unit 34.
  • the program replacement unit 34 performs the replacement process based on the memory allocation setting information 111-2 shown in FIG. 10
  • the program block 121 shown in FIG. 5 is converted into the program block 123 shown in FIG.
  • FIG. 11 is a diagram showing an example of a program block included in the CPU program 12 created by the program creation support device 1a according to the second embodiment. As shown in FIGS.
  • the program creation support device 1a allocates memory based on the information of the area of the network side memory 1201 that can be referred to by the CPU unit 1100, which is included in the network configuration setting information 112 of the CPU parameter 11. Generate or update the setting information 111. Further, the program creation support device 1a replaces the description indicating the access to the network side memory 1201 in the CPU program 12 with the description indicating the access to the CPU side memory 1103 based on the memory allocation setting information 111.
  • the program creation support device 1a according to the present embodiment can exert the same effect as the program creation support device 1 according to the first embodiment.
  • the configuration shown in the above-described embodiment shows an example of the content of the present invention, can be combined with another known technique, and is one of the configurations without departing from the gist of the present invention. It is also possible to omit or change the part.
  • the PLC 1000 having the configuration shown in FIG. 1, that is, the PLC 1000 in which various units including the CPU unit 1100 and the network unit 1200 are mounted on the base unit 1300 has been described, but the base unit 1300 has been described. Not required.
  • the invention described in each embodiment can be applied even to a PLC configured by directly connecting each unit to each other.
  • 1,1a Program creation support device 10 storage unit, 11,1102 CPU parameter, 12,1101 CPU program, 20,30 change processing unit, 21,33 program extraction unit, 22,32 memory allocation unit, 23,34 program replacement Unit, 31 Network configuration extraction unit, 111,111-1,111-2,1121 Memory allocation setting information, 112,1122 Network configuration setting information, 121,122,123 Program block, 1000 PLC, 1100 CPU unit, 1103 CPU side Memory, 1200 network unit, 1201 network side memory, 1300 base unit.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Programmable Controllers (AREA)
  • Stored Programmes (AREA)

Abstract

第1のメモリを備え、プログラマブルロジックコントローラを制御する制御ユニットと、第2のメモリを備え、制御対象機器からデータを取得して第2のメモリに格納するネットワークユニットとを含み、リフレッシュ機能を有するプログラマブルロジックコントローラが実行するシーケンスプログラムの作成を支援するプログラム作成支援装置(1)であって、プログラマブルロジックコントローラが理解可能な形式に変換される前の変換前シーケンスプログラムから第2のメモリへのアクセスを示す記述を抽出するプログラム抽出部(21)と、第1のメモリの特定領域と第2のメモリの特定領域との対応関係を示すメモリ割り付け設定情報(111)を記憶する記憶部(10)と、メモリ割り付け設定情報に基づいて、変換前シーケンスプログラムの第2のメモリへのアクセスを示す記述を第1のメモリへのアクセスを示す記述に置換するプログラム置換部(23)と、を備える。

Description

プログラム作成支援装置、プログラム作成支援方法およびプログラム
 本発明は、プログラマブルロジックコントローラ(Programmable Logic Controller、以下PLCと称する)において実行されるプログラムの作成を支援するプログラム作成支援装置、プログラム作成支援方法およびプログラムに関する。
 FA(Factory Automation)分野では、従来からPLCを用いた自動制御機器が利用されている。一般的に、PLCは、CPU(Central Processing Unit)ユニットと、CPUユニットと連携して動作する通信用のネットワークユニットとを含む。PLCでは、ネットワークユニットを利用して通信ネットワークを構築し、通信ネットワークを利用してCPUユニットと遠隔地のセンサ等との通信が実現される。
 また、CPUユニットが装着されるベースユニットに複数のネットワークユニットを装着することで、1台のCPUユニットに対し、複数のネットワークを含むシステムを構築することも可能である。
 1つのネットワークは、遠隔地のセンサの値を収集するために遠隔地に設置されたネットワークユニット(以下、リモート局と称する)と、ベースユニットに装着されてリモート局と通信を行うネットワークユニット(以下、マスタ局と称する)とで構築される。リモート局およびマスタ局はメモリ(以下、ネットワーク側メモリと称する)を有する。リモート局にはセンサ等の機器が接続可能であり、リモート局は接続された機器からセンサ値等の計測値を収集して自己のネットワーク側メモリで保持する。マスタ局は、各リモート局で収集された計測値を決められたタイミングで受け取り自己のネットワーク側メモリで保持することにより各リモート局で収集された計測値を集約する。CPUユニットは、マスタ局のネットワーク側メモリに格納されている計測値を取得することで、各リモート局に接続されている機器から出力される計測値を読み取ることができる。
 ここで、CPUユニットを構成するCPUがマスタ局のネットワーク側メモリに格納されたデータを取得する場合の所要時間は、CPUユニットを構成するCPUがCPUユニット内のメモリ(以下、CPU側メモリと称する)に格納されたデータを取得する場合の所要時間と比較して、長い。これは、CPUユニットのCPUがネットワーク側メモリの値を取得する場合には、ベースユニットを介したユニット間の通信が発生するためである。なお、CPUユニットとネットワークユニット(マスタ局)がベースユニットに装着されてベースユニット経由で通信を行うのではなく、CPUユニットとマスタ局が直接通信可能な構成であったとしても、CPUユニットを構成するCPUがマスタ局のネットワーク側メモリに格納されたデータを取得する場合の所要時間の方が長くなる。
 そのため、一般的に、PLCは、CPU側メモリの指定された領域に格納されるデータとネットワーク側メモリの指定された領域に格納されるデータとを同期させる機能を有する。この機能はリフレッシュ機能とも呼ばれる。リフレッシュ機能では、CPU側メモリの指定領域に格納されているデータを複製してネットワーク側メモリの指定領域に転送する処理を、定められた周期で繰り返し実行する。これにより、ネットワーク側メモリの指定領域に格納されるデータは、定められた周期で、ネットワーク側メモリの指定領域に格納されているデータと同じデータに更新される(例えば、特許文献1参照)。
 特許文献1に記載の発明では、リフレッシュ機能の実行時に発生するデータ転送回数を少なくして処理の高速化を実現している。
特開2003-29809号公報
 リフレッシュ機能を使用するには、メモリ割り付け作業、すなわち、CPU側メモリのどの領域の値とネットワーク側メモリのどの領域の値とを同期させるかを対応付ける作業を行う必要がある。また、PLCで実行されるプログラムを作成する作業者は、メモリ割り付けの状態を意識してプログラミングを行う必要がある。すなわち、作業者は、リモート局に接続されたどの機器から出力された値がネットワーク側メモリのどの領域に格納されるか、および、ネットワーク側メモリのどの領域の値とCPU側メモリのどの領域の値とが同期するのかを意識してプログラミングを行う必要がある。そのため、プログラムの作成者の作業負荷が大きくなるという問題があった。
 本発明は、上記に鑑みてなされたものであって、PLCで実行されるプログラムを作成する作業者の作業負荷を軽減することが可能なプログラム作成支援装置を得ることを目的とする。
 上述した課題を解決し、目的を達成するために、本発明は、第1のメモリを内部に備え、プログラマブルロジックコントローラ全体の動作を制御する制御ユニットと、第2のメモリを内部に備え、プログラマブルロジックコントローラの制御対象機器からデータを取得して第2のメモリに格納するネットワークユニットとを含み、第1のメモリの特定領域の値を第2のメモリの特定領域の値と同期させるリフレッシュ機能を有するプログラマブルロジックコントローラが実行するシーケンスプログラムの作成を支援するプログラム作成支援装置であって、プログラマブルロジックコントローラが理解可能な形式に変換される前のシーケンスプログラムである変換前シーケンスプログラムから第2のメモリへのアクセスを示す記述を抽出するプログラム抽出部を備える。また、プログラム作成支援装置は、第1のメモリの特定領域と第2のメモリの特定領域との対応関係を示すメモリ割り付け設定情報を記憶する記憶部と、記憶部に記憶されたメモリ割り付け設定情報に基づいて、変換前シーケンスプログラムの第2のメモリへのアクセスを示す記述を第1のメモリへのアクセスを示す記述に置換するプログラム置換部と、を備える。
 本発明にかかるプログラム作成支援装置は、PLCで実行されるプログラムを作成する作業者の作業負荷を軽減することができる、という効果を奏する。
本発明にかかるプログラム作成支援装置で作成されたプログラムを利用するPLCの一例を示す図 実施の形態1にかかるプログラム作成支援装置の構成例を示す図 実施の形態1にかかるプログラム作成支援装置を実現可能なハードウェアの構成例を示す図 実施の形態1にかかるプログラム作成支援装置の動作の一例を示すフローチャート 実施の形態1にかかるプログラム作成支援装置で作成されるCPUプログラムに含まれるプログラムブロックの一例を示す図 実施の形態1にかかるプログラム作成支援装置が作成するメモリ割り付け設定情報の一例を示す図 実施の形態1にかかるプログラム作成支援装置で作成されるCPUプログラムに含まれるプログラムブロックの一例を示す図 実施の形態2にかかるプログラム作成支援装置の構成例を示す図 実施の形態2にかかるプログラム作成支援装置の動作の一例を示すフローチャート 実施の形態2にかかるプログラム作成支援装置が作成するメモリ割り付け設定情報の一例を示す図 実施の形態2にかかるプログラム作成支援装置で作成されるCPUプログラムに含まれるプログラムブロックの一例を示す図
 以下に、本発明の実施の形態にかかるプログラム作成支援装置、プログラム作成支援方法およびプログラムを図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。
 まず、本発明にかかるプログラム作成支援装置が作成するプログラムを利用するPLCについて、図1を参照しながら説明する。図1は、本発明にかかるプログラム作成支援装置で作成されたプログラムを利用するPLCの一例を示す図である。
 図1に示したPLC1000は、PLC1000全体の動作を制御する制御ユニットであるCPUユニット1100と、通信ネットワークを形成するネットワークユニット1200と、CPUユニット1100およびネットワークユニット1200が接続されるベースユニット1300とを含む。CPUユニット1100およびネットワークユニット1200は、ベースユニット1300の所定の装着位置にそれぞれ装着される。ベースユニット1300には、CPUユニット1100およびネットワークユニット1200の他に、入力ユニット、出力ユニットなどが用途に合わせて装着されるが、ここではCPUユニット1100およびネットワークユニット1200以外のユニットについての説明は省略する。また、ネットワークユニット1200は、図1では記載を省略している他のネットワークユニットと通信回線を介して接続される。他のネットワークユニットにはPLC1000の制御対象の機器が接続される。また、PLC1000は、リフレッシュ機能を有し、CPU側メモリの指定された領域に格納されるデータとネットワーク側メモリの指定された領域に格納されるデータとを同期させることが可能である。
 CPUユニット1100は、ラダー言語などで記述されるシーケンスプログラムであるCPUプログラム1101を保持し、CPUプログラム1101に記述されたプログラムコードに従って動作することによりPLC1000全体の制御動作を実現する。また、CPUユニット1100は、図示を省略したCPUの動作を設定するCPUパラメータ1102と、CPUプログラム1101に従って行う演算の結果などを格納するCPU側メモリ1103とを有する。CPUパラメータ1102は、リフレッシュ機能で使用する情報であるメモリ割り付け設定情報1121と、ベースユニット1300に装着されたネットワークユニット1200が管理する通信ネットワーク上の機器およびCPUユニット1100が参照可能なネットワーク側メモリ1201の領域を示すネットワーク構成設定情報1122とを含む。メモリ割り付け設定情報1121は、CPU側メモリ1103の領域のうち、リフレッシュ機能でデータが更新される各領域が、ネットワークユニット1200内のメモリ(後述するネットワーク側メモリ1201)のどの領域に割り付けられているかを示す。CPU側メモリ1103は、PLC1000の第1のメモリである。
 ネットワークユニット1200は、マスタ局であり、ネットワーク側メモリ1201を有する。ネットワーク側メモリ1201には、上述した他のネットワークユニットであるリモート局が通信ネットワーク内のセンサ等の機器から取得する情報が集約される。ネットワーク側メモリ1201は、PLC1000の第2のメモリである。
 以下、図1に示したPLC1000のCPUユニット1100で実行されるCPUプログラム1101を作成する場合を前提として、本発明にかかるプログラム作成支援装置の実施の形態を説明する。
実施の形態1.
 図2は、実施の形態1にかかるプログラム作成支援装置の構成例を示す図である。実施の形態1にかかるプログラム作成支援装置1は、CPUパラメータ11およびCPUプログラム12を保持する記憶部10と、CPUプログラム12を変更する変更処理部20とを備える。CPUプログラム12は、図1に示すCPUプログラム1101と同様にシーケンスプログラムであるが、PLC1000のCPUユニット1100が理解可能な形式に変換される前のシーケンスプログラムである。
 プログラム作成支援装置1は、プログラミングを行う作業者から操作を受け付け、操作内容に従ってCPUパラメータ11およびCPUプログラム12を作成する。なお、プログラム作成支援装置1は、CPUパラメータ11のメモリ割り付け設定情報111については自動作成する。図2に示したCPUプログラム12は、作業者がラダー言語などを使用して作成したプログラムコードであり、図1に示すCPUプログラム1101と同様にシーケンスプログラムである。ただし、CPUプログラム12は、コンパイルを実行してCPUユニット1100のCPUが理解可能な形式に変換される前の状態とする。CPUプログラム12は変換前シーケンスプログラムである。CPUプログラム12は、コンパイルが行われてCPUユニット1100のCPUが理解可能な形式に変換された後、通信回線などを介して図1に示すPLC1000のCPUユニット1100に転送される。CPUユニット1100は、プログラム作成支援装置1から受け取ったプログラムをCPUプログラム1101として保持する。なお、図2では、作業者から操作を受け付けてCPUプログラム12を作成する処理を実現する手段、CPUプログラム12をコンパイルして得られる変換後のプログラムをCPUユニット1100に転送する手段などの記載を省略している。これらの手段は、PLC用のシーケンスプログラムのプログラミング作業に用いられる一般的なプログラム作成装置が備えるプログラム作成手段、コンパイル手段、プログラム転送手段などと同様のものである。CPUプログラム12を作成するプログラム作成手段はプログラム作成支援装置1の外部に存在してもよい。すなわち、プログラム作成支援装置1は、他の装置で作成される、コンパイルが実行される前のCPUプログラムを他の装置から受け取る構成であってもよい。
 これ以降の説明では、プログラム作成支援装置1が、作成が完了したCPUプログラム12を保持しているものとする。また、CPUプログラム12には、ネットワーク側メモリ1201へのアクセスを指令する命令が含まれているものとする。
 CPUパラメータ11は、図1に示したPLC1000のCPUユニット1100が保持するCPUパラメータ1102に対応する。また、メモリ割り付け設定情報111はCPUユニット1100が保持するメモリ割り付け設定情報1121に対応し、ネットワーク構成設定情報112はCPUユニット1100が保持するネットワーク構成設定情報1122に対応する。メモリ割り付け設定情報111およびネットワーク構成設定情報112は、通信ネットワークごとに作成される。例えば、PLC1000のネットワークユニット1200にリモート局が3台接続される場合、3台のリモート局それぞれについて、メモリ割り付け設定情報111およびネットワーク構成設定情報112が作成される。CPUパラメータ11は、CPUプログラム12をコンパイルして得られる変換後のプログラムとともに、CPUユニット1100に転送される。
 変更処理部20は、プログラム抽出部21、メモリ割り付け部22およびプログラム置換部23を備える。
 プログラム抽出部21は、CPUプログラム12を解析し、CPUプログラム12の中から、ネットワーク側メモリ1201へのアクセスを示す内容が記述された箇所を抽出する。
 メモリ割り付け部22は、プログラム抽出部21で抽出された箇所の記述内容に基づいて、メモリ割り付け設定情報111を更新する。なお、メモリ割り付け設定情報111の更新には、更新する対象のメモリ割り付け設定情報111が存在しない場合にメモリ割り付け設定情報111を新たに作成する処理も含まれる。
 プログラム置換部23は、メモリ割り付け部22で更新されたメモリ割り付け設定情報111に基づいて、CPUプログラム12を置換する。具体的には、プログラム置換部23は、CPUプログラム12に含まれる、ネットワーク側メモリ1201へのアクセスを示す記述を、CPU側メモリ1103へのアクセスを示す記述に書き換える。例えば、メモリ割り付け設定情報111に、CPU側メモリ1103のアドレスA1の領域にネットワーク側メモリ1201のアドレスB1の領域が対応づけられていることを示す情報が含まれるとする。この場合、プログラム置換部23は、CPUプログラム12に含まれる、ネットワーク側メモリ1201のアドレスB1の領域へのアクセスを示す記述を、CPU側メモリ1103のアドレスA1の領域へのアクセスを示す記述に書き換える。
 ここで、図2に示した構成のプログラム作成支援装置1を実現するハードウェアについて説明する。図3は、実施の形態1にかかるプログラム作成支援装置1を実現可能なハードウェアの構成例を示す図である。図3に示したハードウェアは例えばパーソナルコンピュータであり、プロセッサ91、メモリ92、表示装置93および入力装置94を備える。プロセッサ91は、CPUであり、中央処理装置、処理装置、演算装置、マイクロプロセッサ、マイクロコンピュータ、DSP(Digital Signal Processor)とも呼ばれる。メモリ92は、RAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリ、EPROM(Erasable Programmable Read Only Memory)、EEPROM(登録商標)(Electrically Erasable Programmable Read Only Memory)等の、不揮発性または揮発性の半導体メモリ、磁気ディスク、光ディスク、コンパクトディスク、ミニディスク、DVD(Digital Versatile Disk)などである。表示装置93は、液晶モニタ、ディスプレイ等である。入力装置94は、キーボード、マウスなどである。
 プログラム作成支援装置1の記憶部10は、メモリ92で実現される。プログラム作成支援装置1の変更処理部20は、プロセッサ91およびメモリ92により実現される。すなわち、変更処理部20のプログラム抽出部21、メモリ割り付け部22およびプログラム置換部23は、これらの各部の機能を実現するためのプログラムをメモリ92が保持しておき、このプログラムをプロセッサ91がメモリ92から読み出して実行することにより、実現される。
 変更処理部20の各部を実現するための上記プログラムは、メモリ92に予め格納された状態でユーザに提供される形態であってもよいし、CD(Compact Disc)-ROM、DVD(Digital Versatile Disc)-ROMなどの、コンピュータで読み取り可能な記録媒体に書き込まれた状態でユーザに供給され、ユーザがメモリ92にインストールする形態であってもよい。また、上記プログラムは、インターネットなどの通信回線を介してユーザに提供されてもよい。
 図4は、実施の形態1にかかるプログラム作成支援装置1の動作の一例を示すフローチャート、具体的には、変更処理部20の動作の一例を示すフローチャートである。変更処理部20は、予め定められた操作をCPUプログラム12の作成者であるユーザから受け付けると図4に示す動作を開始する。予め定められた操作には、メモリ割り付け設定情報111の作成を指示する操作、CPUプログラム12のコンパイル実行を指示する操作などが該当する。CPUプログラム12のコンパイル実行を指示する操作を受け付けて図4に示す動作を開始する構成とした場合、プログラム作成支援装置1は、図4に示す動作が終了した後にコンパイルを実行する。
 変更処理部20は、動作を開始すると、CPUプログラム12から、ネットワーク側メモリ1201へのアクセスが記述された箇所を抽出する(ステップS11)。具体的には、プログラム抽出部21が、記憶部10からCPUプログラム12を読み出して解析し、ネットワーク側メモリ1201へのアクセスを示す記述を抽出する。例えば、CPUプログラム12の中に図5に示すプログラムブロック121が含まれるとする。図5は、実施の形態1にかかるプログラム作成支援装置1で作成されるCPUプログラム12に含まれるプログラムブロックの一例を示す図である。プログラムブロック121では、「J1¥SB0」および「J1¥RX0」という記述が、「J1」というネットワークの識別子を持つネットワークを管理するネットワークユニットの内部のメモリ(ネットワーク側メモリ1201)を示す。そのため、プログラム抽出部21は、「J1¥SB0」および「J1¥RX0」という記述を抽出する。「J1¥」の後の「SB0」および「RX0」が、ネットワーク側メモリ1201の特定の領域を示す。なお、「SB」および「RX」は領域に格納される値の種別を示し、デバイス名とも呼ばれる。また、各デバイス名が割り当てられた領域に格納されるデータのサイズは決まっている。CPU側メモリ1103も同様に、デバイス名と数値の組み合わせでCPU側メモリ1103の特定領域が示される。プログラム抽出部21は、同様の方法で、CPUプログラム12のプログラムブロック121以外の部分から、ネットワーク側メモリ1201へのアクセスを示す記述を抽出する。
 変更処理部20は、次に、ステップS11で抽出した箇所に対応するネットワーク側メモリ1201にCPU側メモリ1103を割り付ける(ステップS12)。具体的には、メモリ割り付け部22が、プログラム抽出部21が抽出した各記述が示すネットワーク側メモリ1201のそれぞれの領域に対して、CPU側メモリ1103の領域を割り付ける。以下、この処理を「メモリ割り付け処理」と呼ぶ。メモリ割り付け部22は、メモリ割り付け処理において、CPU側メモリ1103の同じ領域をネットワーク側メモリ1201の異なる領域に重複して割り付けることが無いよう、CPU側メモリ1103のどの領域がネットワーク側メモリ1201に割り付け済みであるかを記憶しながら、CPU側メモリ1103の領域を割り付ける。なお、ネットワーク側メモリ1201に割り付けることができるCPU側メモリ1103の領域(範囲)は、ユーザにより予め指定されるか、メーカにて予め指定されているものとする。ステップS12において、メモリ割り付け部22は、CPU側メモリ1103の指定されている範囲の中から、割り付け済みではない領域を選択し、割り付けを行う。
 変更処理部20は、次に、メモリ割り付け設定情報111を更新する(ステップS13)。具体的には、メモリ割り付け部22が、ステップS12でのメモリ割り付け処理の結果をメモリ割り付け設定情報111に反映させる。ここで、1台のCPUユニット1100に対し、複数の通信ネットワークが構築される場合、メモリ割り付け設定情報111は、構築されるネットワークの数だけ存在する。そのため、メモリ割り付け部22は、ネットワーク側メモリ1201へのアクセスを示す記述に対応する通信ネットワークのメモリ割り付け設定情報111を更新する。メモリ割り付け部22は、ネットワーク側メモリ1201へのアクセスを示す記述に対応する通信ネットワークのメモリ割り付け設定情報111が記憶部10に存在しない場合、メモリ割り付け設定情報111を新たに作成する。メモリ割り付け設定情報111は、例えば、図6に示した構成の情報とすることができる。図6は、実施の形態1にかかるプログラム作成支援装置1が作成するメモリ割り付け設定情報111の一例を示す図である。図6において「点数」は領域のサイズを示し、点数「1」の場合は1ビットとなる。「先頭」は領域の先頭アドレス、「最終」は領域の最終アドレスである。図6は、CPUプログラム12にネットワーク側メモリ1201へのアクセスを示す記述が3か所存在し、そのうちの2か所はデバイス名がSBの領域へのアクセスを示す記述、残り1か所はデバイス名がRXの領域へのアクセスを示す記述である場合の例を示している。図6に示すメモリ割り付け設定情報111-1では、デバイス名「SB」のアドレス「0000~0000」のネットワーク側メモリ1201の領域に対して、デバイス名「M」のアドレス「0000~0000」のCPU側メモリ1103の領域が割り当てられ、デバイス名「SB」のアドレス「0100~0100」のネットワーク側メモリ1201の領域に対して、デバイス名「M」のアドレス「0001~0001」のCPU側メモリ1103の領域が割り当てられ、デバイス名「RX」のアドレス「0000~0000」のネットワーク側メモリ1201の領域に対して、デバイス名「M」のアドレス「0002~0002」の1ビットのCPU側メモリ1103の領域が割り当てられていることを表している。デバイス名「SW」および「RY」の「先頭」および「最終」に記載のハイフン(-)は、CPUプログラム12にデバイス名が「SW」および「RY」の領域へのアクセスを示す記述が含まれておらず、これらの記述が上記のステップS11で抽出されなかったことを表す。
 変更処理部20は、次に、CPUプログラム12内のネットワーク側メモリ1201へのアクセスを示す記述を、CPU側メモリ1103へのアクセスを示す記述に置換する(ステップS14)。具体的には、プログラム置換部23が、メモリ割り付け部22により更新されたメモリ割り付け設定情報111に基づいて、CPUプログラム12内のネットワーク側メモリ1201へのアクセスを示す記述を、この記述が示す領域と対応付けられているCPU側メモリ1103の領域へのアクセスを示す記述に変更する。図6に示すメモリ割り付け設定情報111-1に基づいてプログラム置換部23が置換処理を行うと、図5に示したプログラムブロック121は図7に示したプログラムブロック122に変換される。図7は、実施の形態1にかかるプログラム作成支援装置1で作成されるCPUプログラム12に含まれるプログラムブロックの一例を示す図である。図5~図7に示すように、プログラム置換部23が、ステップS14の置換処理を実行すると、プログラムブロック121に含まれる、ネットワーク側メモリ1201へのアクセスを示す「J1¥SB0」および「J1¥RX0」という記述が、CPU側メモリ1103へのアクセスを示す「M0」および「M2」という記述に書き換えられ、図7に示すプログラムブロック122が得られる。プログラム置換部23は、CPUプログラム12内のプログラムブロック121以外の部分についても同様に、ネットワーク側メモリ1201へのアクセスを示す記述をCPU側メモリ1103へのアクセスを示す記述に置換する。
 このように、本実施の形態にかかるプログラム作成支援装置1は、CPUプログラム12の中からネットワーク側メモリ1201へのアクセスを示す記述を抽出し、抽出した記述が示す領域に、CPU側メモリ1103の未使用領域を割り付けて、リフレッシュ機能でデータが更新される各領域が、ネットワーク側メモリ1201のどの領域に割り付けられているかを示すメモリ割り付け設定情報111を生成または更新する。さらに、プログラム作成支援装置1は、メモリ割り付け設定情報111に基づいて、CPUプログラム12内のネットワーク側メモリ1201へのアクセスを示す記述を、CPU側メモリ1103へのアクセスを示す記述に置換する。これにより、CPUプログラム12を作成する作業者であるユーザは、メモリ割り付け設定情報111を作成および更新する作業が不要となり、プログラム作成の作業負荷が軽減される。また、ユーザは、メモリ割り付け設定情報111の内容を意識してプログラミングを行う必要が無くなる。
実施の形態2.
 図8は、実施の形態2にかかるプログラム作成支援装置の構成例を示す図である。実施の形態2にかかるプログラム作成支援装置1aは、実施の形態1で説明したプログラム作成支援装置1の変更処理部20を変更処理部30に置き換えた構成である。本実施の形態では、実施の形態1と異なる部分を説明する。
 プログラム作成支援装置1aの変更処理部30は、ネットワーク構成抽出部31、メモリ割り付け部32、プログラム抽出部33およびプログラム置換部34を備える。プログラム抽出部33、プログラム置換部34は、それぞれ、実施の形態1にかかるプログラム作成支援装置1のプログラム抽出部21、プログラム置換部23と同様の処理を行う。なお、プログラム作成支援装置1aは、実施の形態1にかかるプログラム作成支援装置1と同様に、図3に示したハードウェアで実現できる。
 ネットワーク構成抽出部31は、情報取得部である。ネットワーク構成抽出部31は、ネットワーク構成設定情報112から、CPUユニット1100が参照可能なネットワーク側メモリ1201の指定領域の情報を抽出する。ここでの指定領域とは、リフレッシュ機能によって、格納されているデータの複製をネットワーク側メモリ1201へ転送することが可能な領域である。CPUユニット1100が参照可能なネットワーク側メモリ1201の指定領域の情報は、ネットワーク側メモリ1201のどの領域がどのデバイス名の記憶領域として使用可能であるかが分かる構成の情報とする。
 メモリ割り付け部32は、実施の形態1にかかるプログラム作成支援装置1のメモリ割り付け部22と同様にメモリ割り付け設定情報111を更新するが、更新動作で実行する処理の内容が一部異なる。メモリ割り付け部32は、ネットワーク構成抽出部31で抽出された上記情報に基づいてメモリ割り付け設定情報111を更新する。
 図9は、実施の形態2にかかるプログラム作成支援装置1aの動作の一例を示すフローチャート、具体的には、変更処理部30の動作の一例を示すフローチャートである。プログラム作成支援装置1の変更処理部20と同様に、変更処理部30は、予め定められた操作をCPUプログラム12の作成者であるユーザから受け付けると図9に示す動作を開始する。
 変更処理部30は、動作を開始すると、ネットワーク構成設定情報112から、CPUユニット1100が参照可能なネットワーク側メモリ1201の領域の情報を抽出する(ステップS21)。このステップS21の処理はネットワーク構成抽出部31が行う。CPUユニット1100が参照可能なネットワーク側メモリ1201の領域とは、上述した指定領域である。また、CPUユニット1100が参照可能なネットワーク側メモリ1201の領域は、CPUユニット1100が必要とする計測値などのデータをネットワークユニット1200が取得した場合に格納する領域として確保されている領域である。CPUユニット1100が参照可能なネットワーク側メモリ1201の領域の設定は、CPUプログラム12のプログラミングを開始する前、または、プログラミング中に、ユーザにより行われる。
 変更処理部30は、次に、ステップS21で抽出した情報に対応するネットワーク側メモリ1201にCPU側メモリ1103を割り付ける(ステップS22)。具体的には、メモリ割り付け部32が、ネットワーク構成抽出部31が抽出した情報が示すネットワーク側メモリ1201の領域に対してCPU側メモリ1103の領域を割り付けるメモリ割り付け処理を行う。なお、ネットワーク側メモリ1201に割り付けることができるCPU側メモリ1103の領域は、ユーザにより予め指定されるか、メーカにて予め指定されているものとする。ステップS22において、メモリ割り付け部32は、CPU側メモリ1103の指定されている範囲の中から、割り付け済みではない領域を選択し、割り付けを行う。
 変更処理部30は、次に、メモリ割り付け設定情報111を更新する(ステップS23)。具体的には、メモリ割り付け部32が、ステップS22でのメモリ割り付け処理の結果をメモリ割り付け設定情報111に反映させる。図10は、実施の形態2にかかるプログラム作成支援装置1aが作成するメモリ割り付け設定情報111の一例を示す図である。図10のメモリ割り付け設定情報111-2に示すように、メモリ割り付け部32は、ネットワーク側メモリ1201のデバイス名ごとに確保され、CPUユニット1100が参照可能な領域(図10では4つの領域)に対して、CPU側メモリ1103の領域を割り付ける。メモリ割り付け設定情報111-2のうち、左側に記載の「ネットワーク側メモリ」の「デバイス名」、「点数」、「先頭」および「最終」の各欄の情報は、上記のステップS21においてネットワーク構成抽出部31がネットワーク構成設定情報112から抽出する情報である。右側に記載の「CPU側メモリ」の「デバイス名」、「点数」、「先頭」および「最終」の各欄の情報は、上記のステップS22においてメモリ割り付け部32が割り付ける情報である。
 変更処理部30は、次に、CPUプログラム12から、ネットワーク側メモリ1201へのアクセスが記述された箇所を抽出する(ステップS24)。このステップS24の処理は、実施の形態1で説明したステップS11と同様の処理であり、プログラム抽出部33により行われる。
 変更処理部30は、次に、CPUプログラム12内のネットワーク側メモリ1201へのアクセスを示す記述を、CPU側メモリ1103へのアクセスを示す記述に置換する(ステップS25)。このステップS25の処理は、実施の形態1で説明したステップS14と同様の処理であり、プログラム置換部34により行われる。図10に示すメモリ割り付け設定情報111-2に基づいてプログラム置換部34が置換処理を行うと、図5に示したプログラムブロック121は図11に示したプログラムブロック123に変換される。図11は、実施の形態2にかかるプログラム作成支援装置1aで作成されるCPUプログラム12に含まれるプログラムブロックの一例を示す図である。図5、図10および図11に示すように、プログラム置換部34が、ステップS25の置換処理を実行すると、プログラムブロック121に含まれる、ネットワーク側メモリ1201へのアクセスを示す「J1¥SB0」および「J1¥RX0」という記述が、CPU側メモリ1103へのアクセスを示す「M0」および「M100」という記述に書き換えられ、図11に示すプログラムブロック123が得られる。プログラム置換部34は、CPUプログラム12内のプログラムブロック121以外の部分についても同様に、ネットワーク側メモリ1201へのアクセスを示す記述をCPU側メモリ1103へのアクセスを示す記述に置換する。例えば、ステップS24においてプログラム抽出部33が「J1¥SW10」という記述を抽出している場合、プログラム置換部34は、この記述を「D10」に書き換える。
 このように、本実施の形態にかかるプログラム作成支援装置1aは、CPUパラメータ11のネットワーク構成設定情報112に含まれる、CPUユニット1100が参照可能なネットワーク側メモリ1201の領域の情報に基づいてメモリ割り付け設定情報111を生成または更新する。さらに、プログラム作成支援装置1aは、メモリ割り付け設定情報111に基づいて、CPUプログラム12内のネットワーク側メモリ1201へのアクセスを示す記述を、CPU側メモリ1103へのアクセスを示す記述に置換する。本実施の形態にかかるプログラム作成支援装置1aは、実施の形態1にかかるプログラム作成支援装置1と同様の効果を奏することができる。
 以上の実施の形態に示した構成は、本発明の内容の一例を示すものであり、別の公知の技術と組み合わせることも可能であるし、本発明の要旨を逸脱しない範囲で、構成の一部を省略、変更することも可能である。
 各実施の形態では、図1に示した構成のPLC1000、すなわち、CPUユニット1100およびネットワークユニット1200を含む各種ユニットがベースユニット1300に装着されるPLC1000を前提として説明を行ったが、ベースユニット1300は必須ではない。各ユニット同士を直接接続して構成されるPLCであっても各実施の形態で説明した発明を適用可能である。
 1,1a プログラム作成支援装置、10 記憶部、11,1102 CPUパラメータ、12,1101 CPUプログラム、20,30 変更処理部、21,33 プログラム抽出部、22,32 メモリ割り付け部、23,34 プログラム置換部、31 ネットワーク構成抽出部、111,111-1,111-2,1121 メモリ割り付け設定情報、112,1122 ネットワーク構成設定情報、121,122,123 プログラムブロック、1000 PLC、1100 CPUユニット、1103 CPU側メモリ、1200 ネットワークユニット、1201 ネットワーク側メモリ、1300 ベースユニット。

Claims (10)

  1.  第1のメモリを内部に備え、プログラマブルロジックコントローラ全体の動作を制御する制御ユニットと、第2のメモリを内部に備え、前記プログラマブルロジックコントローラの制御対象機器からデータを取得して前記第2のメモリに格納するネットワークユニットとを含み、前記第1のメモリの特定領域の値を前記第2のメモリの特定領域の値と同期させるリフレッシュ機能を有するプログラマブルロジックコントローラが実行するシーケンスプログラムの作成を支援するプログラム作成支援装置であって、
     前記プログラマブルロジックコントローラが理解可能な形式に変換される前のシーケンスプログラムである変換前シーケンスプログラムから前記第2のメモリへのアクセスを示す記述を抽出するプログラム抽出部と、
     前記第1のメモリの前記特定領域と前記第2のメモリの前記特定領域との対応関係を示すメモリ割り付け設定情報を記憶する記憶部と、
     前記記憶部に記憶された前記メモリ割り付け設定情報に基づいて、前記変換前シーケンスプログラムの前記第2のメモリへのアクセスを示す記述を前記第1のメモリへのアクセスを示す記述に置換するプログラム置換部と、
     を備えることを特徴とするプログラム作成支援装置。
  2.  前記メモリ割り付け設定情報は、前記第1のメモリの領域のうち、前記リフレッシュ機能で値が更新される各領域が、前記第2のメモリのどの領域に割り付けられているかを示す、
     ことを特徴とする請求項1に記載のプログラム作成支援装置。
  3.  前記プログラム抽出部が抽出した各記述が示す前記第2のメモリのそれぞれの領域に対して前記第1のメモリの領域を割り付けて前記メモリ割り付け設定情報を生成するメモリ割り付け部、
     を備えることを特徴とする請求項1または2に記載のプログラム作成支援装置。
  4.  前記第2のメモリの領域のうち、前記制御ユニットが参照可能な領域の情報を取得する情報取得部と、
     前記情報取得部が取得した情報が示す前記第2のメモリの領域に対して前記第1のメモリの領域を割り付けて前記メモリ割り付け設定情報を生成するメモリ割り付け部と、
     を備えることを特徴とする請求項1または2に記載のプログラム作成支援装置。
  5.  前記プログラマブルロジックコントローラは、前記ネットワークユニットを複数備え、
     前記メモリ割り付け部は、前記ネットワークユニットごとにメモリ割り付け設定情報を生成する、
     ことを特徴とする請求項3または4に記載のプログラム作成支援装置。
  6.  前記第1のメモリの前記特定領域および前記第2のメモリの前記特定領域は複数の領域で構成され、
     前記メモリ割り付け部は、前記第1のメモリの前記特定領域を構成する各領域を、前記第2のメモリの前記特定領域を構成する複数の領域に重複して割り当てないよう、前記メモリ割り付け設定情報を生成する、
     ことを特徴とする請求項3から5のいずれか一つに記載のプログラム作成支援装置。
  7.  前記メモリ割り付け部は、前記第1のメモリの領域のうち、ユーザに予め指定された範囲から前記第1のメモリの前記特定領域を選択し、前記第2のメモリの前記特定領域と対応付ける、
     ことを特徴とする請求項3から6のいずれか一つに記載のプログラム作成支援装置。
  8.  前記メモリ割り付け部は、前記第1のメモリの領域のうち、前記プログラマブルロジックコントローラのメーカに予め指定された範囲から前記第1のメモリの前記特定領域を選択し、前記第2のメモリの前記特定領域と対応付ける、
     ことを特徴とする請求項3から6のいずれか一つに記載のプログラム作成支援装置。
  9.  第1のメモリを内部に備え、プログラマブルロジックコントローラ全体の動作を制御する制御ユニットと、第2のメモリを内部に備え、前記プログラマブルロジックコントローラの制御対象機器からデータを取得して前記第2のメモリに格納するネットワークユニットとを含み、前記第1のメモリの特定領域の値を前記第2のメモリの特定領域の値と同期させるリフレッシュ機能を有するプログラマブルロジックコントローラが実行するシーケンスプログラムの作成を支援するプログラム作成支援方法であって、
     プログラム抽出部が、前記プログラマブルロジックコントローラが理解可能な形式に変換される前のシーケンスプログラムである変換前シーケンスプログラムから前記第2のメモリへのアクセスを示す記述を抽出するステップと、
     記憶部が、前記第1のメモリの前記特定領域と前記第2のメモリの前記特定領域との対応関係を示すメモリ割り付け設定情報を記憶するステップと、
     プログラム置換部が、前記記憶部が記憶した前記メモリ割り付け設定情報に基づいて、前記シーケンスプログラムの前記第2のメモリへのアクセスを示す記述を前記第1のメモリへのアクセスを示す記述に置換するステップと、
     を含むことを特徴とするプログラム作成支援方法。
  10.  第1のメモリを内部に備え、プログラマブルロジックコントローラ全体の動作を制御する制御ユニットと、第2のメモリを内部に備え、前記プログラマブルロジックコントローラの制御対象機器からデータを取得して前記第2のメモリに格納するネットワークユニットとを含み、前記第1のメモリの特定領域の値を前記第2のメモリの特定領域の値と同期させるリフレッシュ機能を有するプログラマブルロジックコントローラが実行するシーケンスプログラムの作成を支援するプログラムであって、
     プログラム抽出部が、前記プログラマブルロジックコントローラが理解可能な形式に変換される前のシーケンスプログラムである変換前シーケンスプログラムから前記第2のメモリへのアクセスを示す記述を抽出するステップと、
     記憶部が、前記第1のメモリの前記特定領域と前記第2のメモリの前記特定領域との対応関係を示すメモリ割り付け設定情報を記憶するステップと、
     プログラム置換部が、前記記憶部が記憶した前記メモリ割り付け設定情報に基づいて、前記シーケンスプログラムの前記第2のメモリへのアクセスを示す記述を前記第1のメモリへのアクセスを示す記述に置換するステップと、
     をコンピュータに実行させることを特徴とするプログラム。
PCT/JP2019/016329 2019-04-16 2019-04-16 プログラム作成支援装置、プログラム作成支援方法およびプログラム WO2020213059A1 (ja)

Priority Applications (4)

Application Number Priority Date Filing Date Title
US17/434,012 US20220155746A1 (en) 2019-04-16 2019-04-16 Program creation support device, program creation support method, and storage medium
JP2019554570A JP6628951B1 (ja) 2019-04-16 2019-04-16 プログラム作成支援装置、プログラム作成支援方法およびプログラム
CN201980095308.XA CN113661451B (zh) 2019-04-16 2019-04-16 程序创建辅助装置、程序创建辅助方法及计算机可读取的记录介质
PCT/JP2019/016329 WO2020213059A1 (ja) 2019-04-16 2019-04-16 プログラム作成支援装置、プログラム作成支援方法およびプログラム

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2019/016329 WO2020213059A1 (ja) 2019-04-16 2019-04-16 プログラム作成支援装置、プログラム作成支援方法およびプログラム

Publications (1)

Publication Number Publication Date
WO2020213059A1 true WO2020213059A1 (ja) 2020-10-22

Family

ID=69146555

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2019/016329 WO2020213059A1 (ja) 2019-04-16 2019-04-16 プログラム作成支援装置、プログラム作成支援方法およびプログラム

Country Status (4)

Country Link
US (1) US20220155746A1 (ja)
JP (1) JP6628951B1 (ja)
CN (1) CN113661451B (ja)
WO (1) WO2020213059A1 (ja)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016016953A1 (ja) * 2014-07-29 2016-02-04 三菱電機株式会社 表示操作システム
JP2017215652A (ja) * 2016-05-30 2017-12-07 株式会社キーエンス デバイスモニタ装置、デバイスモニタ方法、デバイスモニタシステム、及びデバイスモニタ装置で実行することが可能なコンピュータプログラム

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5926832A (en) * 1996-09-26 1999-07-20 Transmeta Corporation Method and apparatus for aliasing memory data in an advanced microprocessor
JP3669302B2 (ja) * 2001-07-19 2005-07-06 オムロン株式会社 プログラマブルコントローラ
JP4979060B2 (ja) * 2006-03-03 2012-07-18 ルネサスエレクトロニクス株式会社 表示制御用半導体集積回路
US8949192B2 (en) * 2007-11-19 2015-02-03 International Business Machines Corporation Technique of controlling access to database
CN101944011B (zh) * 2010-06-29 2015-11-25 北京中星微电子有限公司 运行程序的装置、芯片和方法
CN103019873B (zh) * 2012-12-03 2016-08-10 华为技术有限公司 一种存储器故障单元的替换方法及装置、数据存储系统
EP2993780A4 (en) * 2013-04-30 2017-01-11 Fuji Electric Co., Ltd. Controller and map file conversion device
CN105792751B (zh) * 2013-11-27 2019-07-05 雅培糖尿病护理公司 用于修正基于永久rom的编程的系统和方法
CN104503905B (zh) * 2014-12-15 2018-05-25 北京兆易创新科技股份有限公司 一种嵌入式系统的调试方法及调试系统
US20170046212A1 (en) * 2015-08-13 2017-02-16 Qualcomm Incorporated Reducing system downtime during memory subsystem maintenance in a computer processing system
JP6874438B2 (ja) * 2017-03-14 2021-05-19 オムロン株式会社 スレーブ装置、スレーブ装置の制御方法、情報処理プログラム、および記録媒体

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016016953A1 (ja) * 2014-07-29 2016-02-04 三菱電機株式会社 表示操作システム
JP2017215652A (ja) * 2016-05-30 2017-12-07 株式会社キーエンス デバイスモニタ装置、デバイスモニタ方法、デバイスモニタシステム、及びデバイスモニタ装置で実行することが可能なコンピュータプログラム

Also Published As

Publication number Publication date
CN113661451B (zh) 2022-11-25
US20220155746A1 (en) 2022-05-19
JP6628951B1 (ja) 2020-01-15
CN113661451A (zh) 2021-11-16
JPWO2020213059A1 (ja) 2021-04-30

Similar Documents

Publication Publication Date Title
US8433827B2 (en) Method for configuring fieldbus stations
JP3729251B2 (ja) コントローラ及びシステム
JP5790128B2 (ja) プログラマブルコントローラ・システム、その支援装置
JPH04332002A (ja) プログラマブル制御装置
JP2009146229A (ja) プログラマブルコントローラシステム
US11165745B2 (en) Control system, controller, and control method
WO2020213059A1 (ja) プログラム作成支援装置、プログラム作成支援方法およびプログラム
JP2009157533A (ja) プログラマブルコントローラシステム
JP5611158B2 (ja) データ中継制御装置、リンク間転送設定支援装置およびリンク間転送設定方法
JP2015215865A (ja) プログラマブルコントローラシステム、その支援装置、プログラマブルコントローラ
JP6205934B2 (ja) プログラマブルコントローラシステム、その支援装置、プログラム
JP2005301520A (ja) プログラミングシステム
JP5025562B2 (ja) プログラマブルコントローラシステム
JP6746040B1 (ja) 命令変換装置、方法、及びプログラム
JP5978775B2 (ja) プログラマブルコントローラ、その支援装置、プログラム、プログラム転送方法
JP4778312B2 (ja) データ処理装置、プログラム、エディタ装置および記録媒体
JP5870214B2 (ja) プログラマブルコントローラシステム、そのプログラマブル表示器、支援装置、プログラム
JP2003271209A (ja) 制御装置並びに拡張機器及びプログラミングツール
JP6452924B1 (ja) コンパイラおよびプログラミング支援装置
JP2019194837A (ja) Plcプログラム処理装置
JPWO2020089963A1 (ja) データ管理システム、プログラマブル表示器、およびデータ管理プログラム
JP2009157534A (ja) プログラム作成支援システム、そのプログラマブルコントローラ支援装置、プログラマブル表示器支援装置
JPS63180159A (ja) マイクロコンピユ−タシステムのシステムセツトアツプ方式
JP3838124B2 (ja) プログラムの実行方式及びプログラム開発支援装置
JP2015207172A (ja) 制御装置

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2019554570

Country of ref document: JP

Kind code of ref document: A

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

Ref document number: 19925200

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19925200

Country of ref document: EP

Kind code of ref document: A1