WO2024089821A1 - プログラマブルコントローラおよび製造システム - Google Patents

プログラマブルコントローラおよび製造システム Download PDF

Info

Publication number
WO2024089821A1
WO2024089821A1 PCT/JP2022/039994 JP2022039994W WO2024089821A1 WO 2024089821 A1 WO2024089821 A1 WO 2024089821A1 JP 2022039994 W JP2022039994 W JP 2022039994W WO 2024089821 A1 WO2024089821 A1 WO 2024089821A1
Authority
WO
WIPO (PCT)
Prior art keywords
unit
expansion
main unit
system configuration
control program
Prior art date
Application number
PCT/JP2022/039994
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 PCT/JP2022/039994 priority Critical patent/WO2024089821A1/ja
Priority to JP2023520253A priority patent/JP7374380B1/ja
Publication of WO2024089821A1 publication Critical patent/WO2024089821A1/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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/04Protocols specially adapted for terminals or networks with limited capabilities; specially adapted for terminal portability

Definitions

  • This disclosure relates to a programmable controller and a manufacturing system that operate using a control program.
  • PLCs Programmable Logic Controllers
  • PLCs Programmable Logic Controllers
  • the control program used by the main unit includes a system configuration setting that contains connection position information about which expansion unit is connected to the main unit and in what order.
  • This control program also contains expansion programs for controlling each expansion unit, and these expansion programs operate based on the connection position information contained in the system configuration setting.
  • the manufacturer of the manufacturing equipment may create multiple types of manufacturing equipment that use the same PLC but have different configurations of expansion units that connect to the main unit.
  • the manufacturer will end up creating similar control programs for each piece of manufacturing equipment. Then, when changes are required to the common parts of the control programs, the manufacturer will have to make the same corrections to multiple programs, which leads to reduced development efficiency and reduced maintainability.
  • the PLC of Patent Document 1 sets the expansion units that are planned to be used in the future or in another manufacturing device as connected in the system configuration settings of the control program, and further sets the unit number for identifying the connection position of this expansion unit as a missing number.
  • the PLC of Patent Document 1 does not operate the control program linked to the unit number set as a missing number.
  • the PLC of Patent Document 1 automatically cancels the missing number status and automatically enables the control program linked to the unit number of the connected expansion unit.
  • the PLC of Patent Document 1 makes it possible to use the same control program regardless of whether or not a unit that has been set as a missing number in advance is connected, and makes it possible to integrate control programs between multiple manufacturing devices with different connection configurations of expansion units.
  • Patent Document 1 it is sufficient to set missing numbers for anticipated changes to the expansion unit, such as those planned for use in the future or with another manufacturing device, but if an unexpected change to the expansion unit becomes necessary, the control program must be modified. For this reason, with the technology of Patent Document 1, there is a problem in that if an unexpected change to the expansion unit becomes necessary, it is necessary to create a new control program derived from a control program commonly used by multiple different types of manufacturing devices.
  • the present disclosure has been made in consideration of the above, and aims to provide a programmable controller that can be used without modifying a control program shared among multiple different types of manufacturing devices, even when an unexpected change to the expansion unit becomes necessary.
  • the programmable controller of the present disclosure includes a main unit that executes a control program for controlling a manufacturing device, and a plurality of expansion units that can be connected to the main unit and are used to expand the functions of the manufacturing device.
  • the control program includes a system configuration setting that defines the connection configuration of the expansion units relative to the main unit, and an instruction for instructing the expansion units to input and output signals.
  • the system configuration setting includes a unit number that identifies the connection position of the expansion units relative to the main unit, and the instruction includes a number setting parameter that is a parameter for setting a unit number that determines which of the expansion units is to be instructed to input and output signals.
  • the main unit compares the connection configuration of the expansion units defined in the system configuration setting with the connection configuration of the expansion units on the actual device, sets the unit numbers of expansion units that exist in the system configuration setting but do not exist in the actual device to missing numbers, and disables the instructions set with the unit numbers set to the missing numbers.
  • the programmable controller disclosed herein has the advantage that a control program commonly used by multiple different types of manufacturing equipment can be used without modification, even if an unexpected change to the expansion unit becomes necessary.
  • FIG. 1 is a diagram showing a configuration of a first manufacturing system including a first PLC according to a first embodiment
  • FIG. 1 is a diagram showing a configuration of a second manufacturing system including a second PLC according to a first embodiment
  • FIG. 1 is a diagram showing an example of a system configuration setting applied to a first and a second PLC according to the first embodiment
  • FIG. 1 is a diagram showing an example of a control program applied to a first and second PLC according to the first embodiment
  • FIG. 1 is a diagram for explaining first to fourth parameters of a control program applied to the first and second PLCs according to the first embodiment
  • 1 is a flowchart showing an operation procedure of a second PLC according to the first embodiment.
  • FIG. 10 is a diagram for explaining a process in which the second PLC according to the first embodiment compares models
  • FIG. 13 is a diagram showing a configuration of a third manufacturing system including a third PLC according to a second embodiment
  • 11 is a flowchart showing an operation procedure of a third PLC according to a second embodiment.
  • FIG. 13 is a diagram showing an example of a first screen that the engineering tool according to the third embodiment causes the display device to display
  • FIG. 13 is a diagram showing an example of a second screen that the engineering tool according to the third embodiment causes the display device to display
  • FIG. 13 is a diagram showing an example of a third screen that the engineering tool according to the third embodiment causes the display device to display
  • FIG. 1 is a diagram showing an example of a hardware configuration for implementing a control circuit provided in a main unit according to first to fourth embodiments;
  • Embodiment 1. 1 is a diagram showing a configuration of a first manufacturing system including a first PLC according to embodiment 1.
  • a manufacturing system 101 which is the first manufacturing system includes a manufacturing apparatus 1 which is a first manufacturing apparatus, and an engineering tool 5 for the PLC.
  • the manufacturing device 1 has a first PLC, PLC 10A, sensors 31 and 32, other equipment 21, and an actuator 41.
  • the engineering tool 5 is stored in a computer, and this computer is connected to the PLC 10A.
  • PLC 10A includes a main unit 11, an input unit 12, an output unit 13, an analog input unit 14, and a communication unit 15.
  • the input unit 12, the output unit 13, the analog input unit 14, and the communication unit 15 are all expansion units.
  • the expansion units are units for expanding the functionality of the manufacturing device 1 and can be attached or detached from the main unit 11 as needed.
  • a number of expansion units can be connected to the main unit 11.
  • the input unit 12, the output unit 13, the analog input unit 14, and the communication unit 15 are each connected to the main unit 11.
  • the unit numbers of those expansion units that are not actually connected to the main unit 11 are determined to be missing numbers.
  • the unit numbers of expansion units that are not actually connected to the main unit 11, despite a connection configuration being set, are determined to be missing numbers.
  • the unit numbers are information for identifying the connection positions of the expansion units with respect to the main unit 11. If there are N (N is a natural number) expansion units that can be connected to the main unit 11, and M (M is a natural number less than or equal to N) expansion units are connected to the main unit 11, the unit numbers of (N-M) expansion units will be missing numbers.
  • the main unit 11 is connected to a computer that contains an engineering tool 5.
  • the input unit 12 is connected to a sensor 31, and the analog input unit 14 is connected to a sensor 32.
  • the communication unit 15 is connected to another device 21, and the output unit 13 is connected to an actuator 41.
  • the engineering tool 5 is executed by a computer that stores the engineering tool 5.
  • the engineering tool 5 performs various settings on the main unit 11 according to instructions from the user.
  • the engineering tool 5 also creates a control program to be applied to the manufacturing device 1 according to instructions from the user.
  • This control program is also applied to the manufacturing device 2 described below.
  • the control program created by the engineering tool 5 is a program used in common between a plurality of different types of manufacturing devices (manufacturing devices 1 and 2 in the first embodiment).
  • the control program used in common by the manufacturing devices 1 and 2 is a control program that integrates a control program that can be used by the manufacturing device 1 and a control program that can be used by the manufacturing device 2.
  • the control program is a program for controlling the manufacturing devices 1 and 2, and is executed by the main unit 11.
  • the control program created by the engineering tool 5 includes a system configuration setting that has connection position information about which expansion unit is connected to the main unit 11.
  • the system configuration setting is information that defines the connection configuration of the expansion unit to the main unit 11.
  • the engineering tool 5 writes the created control program to the main unit 11.
  • the engineering tool 5 also reads the unit numbers of the missing expansion units from the main unit 11 and displays them on a display device or the like.
  • a control program is written to the main unit 11, and the main unit 11 controls the PLC 10A using the control program.
  • the main unit 11 starts up when the power is turned on, and analyzes the control program during the startup process.
  • Sensor 31 collects information from a first measurement object and sends a digital signal corresponding to the collected information to input unit 12.
  • Sensor 32 collects information from a second measurement object and sends an analog signal corresponding to the collected information to analog input unit 14.
  • the information collected by sensors 31 and 32 includes temperature, voltage, etc.
  • the input unit 12 receives digital signals from the sensor 31 and inputs them to the main unit 11.
  • the analog input unit 14 receives analog signals from the sensor 32 and inputs them to the main unit 11.
  • the communication unit 15 communicates with the other device 21.
  • the communication unit 15 transmits data sent from the main unit 11 to the other device 21, and receives data sent from the other device 21 and sends it to the main unit 11.
  • the other device 21 is a device other than the PLC 10A.
  • the main unit 11 generates data for controlling the actuator 41 using the digital signal sent from the input unit 12, the analog signal sent from the analog input unit 14, the data sent from the communication unit 15, and the control program.
  • the main unit 11 sends the generated data to the output unit 13.
  • the output unit 13 outputs the data sent from the main unit 11 to the actuator 41.
  • FIG. 2 is a diagram showing the configuration of a second manufacturing system including a second PLC according to the first embodiment.
  • Manufacturing system 102 which is the second manufacturing system, includes manufacturing device 2, which is a second manufacturing device, and engineering tool 5.
  • the manufacturing device 2 has a second PLC, PLC 10B, a sensor 31, other equipment 21, and an actuator 41.
  • the engineering tool 5 is stored in a computer, and this computer is connected to PLC 10B.
  • PLC 10B has a main unit 11, an input unit 12, an output unit 13, and a communication unit 15. In other words, compared to PLC 10A, PLC 10B does not have an analog input unit 14, and the unit number of the analog input unit 14 is a missing number. In PLC 10B, the input unit 12, output unit 13, and communication unit 15 are all expansion units.
  • the main unit 11 in PLC 10B has the same functions as the main unit 11 in PLC 10A.
  • the main unit 11 in PLC 10B and the main unit 11 in PLC 10A may be different types of main units.
  • manufacturing device 1 manufactures a first product in which a first customization has been performed on the product
  • manufacturing device 2 manufactures a second product in which a second customization has been performed on the product.
  • the first customization and the second customization may be any type of customization.
  • the first product manufactured by manufacturing device 1 is a product manufactured by controlling actuator 41 using an analog signal.
  • the second product manufactured by manufacturing device 2 is a product manufactured by controlling actuator 41 without using an analog signal.
  • manufacturing devices 1 and 2 are configured using main units 11 with the same functions, but the configurations of the expansion units connected to the main units 11 are different.
  • the manufacturing devices 1 and 2 manufacture multiple types of customized products.
  • the user does not need to set missing numbers in advance in the system configuration settings in the control program.
  • the main unit 11 of the manufacturing devices 1 and 2 compares the connection configuration included in the system configuration settings with the connection configuration of the actual device (hereinafter, sometimes referred to as the actual device configuration) in order, starting from the connection position closest to the main unit 11 (the connection position on the front side as seen from the main unit 11).
  • the main unit 11 automatically sets the unit number of this expansion unit to an absent number.
  • the main unit 11 also automatically disables the control program related to the expansion unit with the unit number set to an absent number. This allows the main unit 11 to operate using the control program as is, without changing it.
  • FIG. 3 is a diagram showing an example of the system configuration settings applied to the first and second PLCs according to the first embodiment.
  • FIG. 3 shows the system configuration settings 50 included in the control program.
  • the system configuration setting 50 of PLC 10B will be described.
  • the system configuration setting 50 is created using the engineering tool 5 of manufacturing system 101 or manufacturing system 102.
  • the system configuration settings 50 include the connection configuration of the expansion unit (expansion unit connection configuration 51) and the assigned unit number (assigned unit number 52).
  • the expansion unit connection configuration 51 is information that indicates the connection configuration of the expansion units within PLC 10B.
  • the assigned unit number 52 is a unit number assigned to each expansion unit to identify the connection position.
  • an input unit (input unit 12 of FIG. 2) is connected to the connection position closest to the main unit (main unit 11 of FIG. 2), and an output unit (output unit 13 of FIG. 2) is connected to the second closest connection position.
  • an analog input unit (analog input unit 14, not arranged in FIG. 2) is connected to the third closest connection position to the main unit, and a communication unit (communication unit 15 of FIG. 2) is connected to the fourth closest connection position.
  • the main unit, input unit, output unit, analog input unit, and communication unit in the expansion unit connection configuration 51 correspond to the main unit 11, input unit 12, output unit 13, analog input unit 14, and communication unit 15 described in FIG. 1, respectively.
  • the expansion unit connection configuration 51 may be simply referred to as a connection configuration.
  • unit number U1 is assigned to the input unit
  • unit number U2 is assigned to the output unit
  • unit number U3 is assigned to the analog input unit
  • unit number U4 is assigned to the communication unit.
  • PLC 10B does not actually have an analog input unit 14 connected to it.
  • the system configuration setting 50 of PLC 10B does not store information indicating that unit number U3 corresponding to analog input unit 14 is a missing number.
  • the main unit 11 of PLC 10B detects the missing number by comparing the system configuration setting 50 with the actual device configuration, and the engineering tool 5 reads out the missing number information and displays it on the monitor screen (system configuration setting monitor screen).
  • the missing unit number U3 is shown hatched.
  • FIG. 4 is a diagram showing an example of a control program applied to the first and second PLCs according to the first embodiment. Note that here, a control program 60 applied to PLC 10B will be described. The control program 60 is created for manufacturing devices 1 and 2 using the engineering tool 5 of manufacturing system 101 or manufacturing system 102.
  • the control program 60 in FIG. 4 is a program for the expansion units.
  • FIG. 4 shows a case where the control program 60 is a ladder program.
  • FIG. 4 shows example commands included in the control program 60 for issuing input/output commands to each expansion unit.
  • the control program 60 has an expansion unit read command and an expansion unit write command.
  • the expansion unit read command is a command to read data from the expansion unit
  • the expansion unit write command is a command to write data to the expansion unit.
  • the extension unit read command and the extension unit write command have a first parameter, a second parameter, a third parameter, and a fourth parameter set, respectively.
  • the first parameter is the unit number of the expansion unit. That is, for each command, the unit number assigned in the system configuration setting 50 can be set as the first parameter, which makes it possible to determine which expansion unit to issue input/output commands to.
  • the second to fourth parameters will be described later.
  • commands 61 and 62 which are examples of extended unit read commands in control program 60, are set with the unit number "U3" assigned to the analog input unit. Therefore, commands 61 and 62 are commands to read analog values from the third connected analog input unit 14 (the unit with unit number U3) in the system configuration of manufacturing apparatus 1. In Figure 4, the missing unit number U3 is shown hatched.
  • FIG. 5 is a diagram for explaining the first to fourth parameters of the control program applied to the first and second PLCs according to the first embodiment.
  • the first parameter of the extension unit read command is a parameter (number setting parameter) for specifying the unit number of the extension unit.
  • the second parameter of the extension unit read command is a parameter for specifying the memory address where the data to be read from the extension unit is stored.
  • the third parameter of the extension unit read command is a parameter for specifying the data register of the main unit 11 that stores the read data.
  • the fourth parameter of the extension unit read command is a parameter for specifying the number of read points.
  • the first parameter of the extension unit write command is a parameter for specifying the unit number of the extension unit.
  • the second parameter of the extension unit write command is a parameter for specifying the data to be written to the expansion unit.
  • the third parameter of the extension unit write command is a parameter for specifying the memory address of the expansion unit to which data is to be written.
  • the fourth parameter of the extension unit write command is a parameter for specifying the number of write points.
  • FIG. 6 is a flowchart showing the operation processing procedure of the second PLC according to the first embodiment.
  • PLC 10B uses, for example, the system configuration setting 50 and the control program 60 described in FIG. 3 and FIG. 4.
  • the system configuration settings 50 and the control program 60 are written to the main unit 11 of the manufacturing device 2.
  • the main unit 11 analyzes the control program 60 during the startup process when the power is turned on.
  • the main unit 11 reads out the number and models of expansion units connected to itself, and creates a connection configuration of the actual devices (actual device configuration). Specifically, the main unit 11 reads out the model names of the expansion units connected to the main unit 11 from the expansion units in the order of their connection positions closest to the main unit 11, and creates a connection configuration of the actual devices (step S10). The main unit 11 also calculates the number of expansion units whose model names it has been able to read out.
  • the main unit 11 reads the connection configuration (expansion unit connection configuration 51) set in the system configuration settings 50 from the system configuration settings 50 included in the control program 60.
  • the main unit 11 compares the connection configuration of the actual device that was created with the connection configuration set in the system configuration settings 50. Specifically, the main unit 11 determines whether the models of the expansion units in the connection configuration of the actual device that was created match, starting from the expansion unit closest to the main unit 11 (the front).
  • the main unit 11 determines whether any of the expansion units included in the system configuration settings 50 is set to the current connection position (connection position to be compared) that is being judged (step S20).
  • step S20 If an expansion unit is set at the current connection position being judged (step S20, Yes), the main unit 11 compares the model of the expansion unit at the current connection position being judged with the model of the expansion unit that is actually connected. That is, the main unit 11 compares the model of the expansion unit in the system configuration setting 50 at the current connection position with the model of the expansion unit in the actual device (step S30). Then, the main unit 11 judges whether the model of the expansion unit in the system configuration setting 50 matches the model of the expansion unit in the actual device (step S40).
  • step S50 the main unit 11 sets the unit number assigned to the expansion unit at the connection position where the model does not match in the system configuration setting 50 to a missing number.
  • the main unit 11 compares the models of the system configuration setting 50 and the actual device and finds that there is an expansion unit (model) that exists in the connection configuration of the system configuration setting 50 but does not exist in the connection configuration of the actual device, it sets the unit number of that expansion unit to a missing number.
  • the main unit 11 advances the connection position (connection position to be judged) for comparison of only the system configuration setting 50 by one (step S60). In other words, if there is a missing number, the main unit 11 advances only the system configuration setting 50 to the next (backward) connection position at the time of the next comparison, and for the actual device configuration, compares the expansion unit models without advancing the connection position to be compared. After this, the main unit 11 returns to the processing of step S20.
  • step S40 If the model of the expansion unit in the system configuration setting 50 matches the model of the expansion unit in the actual device (step S40, Yes), the main unit 11 advances the connection position to be compared in both the system configuration setting 50 and the actual device configuration by one (step S70). After this, the main unit 11 returns to the processing of step S20.
  • the main unit 11 repeats this comparison process for the number of expansion units in the system configuration settings 50. In other words, the main unit 11 repeats the processes of steps S20 to S70 for the number of expansion units set in the system configuration settings 50.
  • FIG. 7 is a diagram for explaining the process in which the second PLC according to the first embodiment compares models.
  • FIG. 7 illustrates the system configuration setting 50, the actual device configuration 54, the model comparison results, and the method of proceeding with the comparison position (connection position).
  • the main unit 11 of the second PLC, PLC 10B compares the model in the system configuration setting 50 with the model in the actual machine configuration 54.
  • the main unit 11 compares the model in the system configuration setting 50 with the model in the actual machine configuration 54.
  • the model of the expansion unit set in the system configuration setting 50 is the input unit 12
  • the model of the expansion unit in the actual machine configuration 54 is the input unit 12, so the comparison results show a match.
  • the main unit 11 advances the comparison position of the expansion unit to the next comparison position for both the system configuration setting 50 and the actual machine configuration 54.
  • the main unit 11 compares the model of the second expansion unit (output unit 13 with unit number U2) between the system configuration setting 50 and the actual configuration 54.
  • the model of the expansion unit set in the system configuration setting 50 is the output unit 13
  • the model of the expansion unit in the actual configuration 54 is the output unit 13, so the comparison results show a match.
  • the main unit 11 advances the comparison position of the expansion unit to the next comparison position for both the system configuration setting 50 and the actual configuration 54.
  • the main unit 11 compares the model of the third expansion unit (analog input unit 14 with unit number U3) between the system configuration setting 50 and the actual configuration 54.
  • the model of the expansion unit set in the system configuration setting 50 is the analog input unit 14
  • the model of the expansion unit in the actual configuration 54 is the communication unit 15, so the comparison result of the models is a mismatch.
  • the main unit 11 sets the unit number U3 of the analog input unit 14 in the system configuration setting 50 to a missing number. Also, because the comparison result of the models is a mismatch, the main unit 11 advances the comparison position of the expansion unit to the next comparison position only in the system configuration setting 50.
  • the main unit 11 compares the model of the fourth expansion unit (communication unit 15 with unit number U4) between the system configuration setting 50 and the actual configuration 54.
  • the model of the expansion unit set in the system configuration setting 50 is communication unit 15
  • the model of the expansion unit in the actual configuration 54 is communication unit 15, so the comparison results show a match.
  • the main unit 11 advances the comparison position of the expansion unit to the next comparison position for both the system configuration setting 50 and the actual configuration 54.
  • the main unit 11 compares the model of the fifth expansion unit with the model in the system configuration setting 50 and the model in the actual device configuration 54.
  • the main unit 11 ends the model comparison process.
  • step S20 if an expansion unit is not set at the current connection position that is the subject of judgment in the system configuration settings 50 (step S20, No), the main unit 11 ends the model comparison process. Then, the main unit 11 extracts commands from the control program 60 that have the missing unit number as a first parameter, and invalidates the extracted commands (step S80). That is, the main unit 11 extracts commands that have the missing unit number set as a first parameter from the group of commands that instruct input/output for each expansion unit included in the control program 60, and invalidates all of the extracted commands. In this way, the main unit 11 disables commands that have the unit number set as a missing number, thereby preventing the expansion unit with the unit number set as a missing number from operating.
  • the main unit 11 sets the command in which the missing unit number is set in the first parameter as an invalid command. For example, in the case of the control program 60 shown in FIG. 4, the main unit 11 sets commands 61 and 62 as invalid commands.
  • connection configuration in system configuration setting 50 matches the connection configuration in actual device configuration 54, so main unit 11 does not set missing numbers or invalidate commands.
  • the method of invalidating an instruction whose parameter has a missing unit number set is not limited to the above method, and other methods may be used.
  • a judgment program that judges whether the unit number in question is a missing number may be added to the execution conditions that drive the instruction in the ladder program.
  • the main unit 11 may invalidate the instruction whose parameter has a missing unit number set by turning off the execution conditions of the instruction.
  • the manufacturing device 2 In the example of the manufacturing device 2, a case has been described in which the analog input unit 14 is not connected to the actual device. However, even if any other unit is not connected, the main unit 11 automatically sets missing numbers through analysis processing at startup, so the manufacturing devices 1 and 2 can use the integrated control program 60. This allows the manufacturing devices 1 and 2 to continue operating without changing the control program 60, even if an unexpected change occurs in the connection configuration of the actual device, such as when any unit fails at the manufacturing site.
  • the unit number of an expansion unit that is to be set as a missing number in advance is set in the system configuration setting 50 of the control program. Then, when an expansion unit with a unit number that has been set as a missing number is actually connected to the actual machine, the manufacturing device in the comparative example cancels the missing number status.
  • the user In the case of the manufacturing device in this comparative example, the user must set the missing numbers in advance, which is time-consuming. Also, in the case of the manufacturing device in this comparative example, if an expansion unit is removed due to a malfunction of the expansion unit while the manufacturing device is in operation, the control program must be changed.
  • the main unit 11 of the first embodiment when the main unit 11 of the first embodiment is started up, it compares the connection configuration of the expansion units defined in the system configuration settings 50 with the connection configuration of the expansion units on the actual device. The main unit 11 then sets the unit numbers of the expansion units that exist in the system configuration settings 50 but do not exist on the actual device to missing numbers, and invalidates the commands that have the unit numbers set to the missing numbers.
  • This allows the manufacturing devices 1 and 2 to use the control program 60, which is shared between multiple manufacturing devices 1 and 2 of different types, without modifying it, even if an unexpected change to the expansion units becomes necessary.
  • Embodiment 2 Next, a second embodiment will be described with reference to Figures 8 and 9.
  • the main unit 11 assigns a new unit number to the connected expansion unit.
  • FIG. 8 is a diagram showing the configuration of a third manufacturing system including a third PLC according to the second embodiment.
  • Manufacturing system 103 which is the third manufacturing system, includes manufacturing device 3, which is a third manufacturing device, engineering tool 5, and production status monitoring tool 6.
  • the manufacturing device 3 has a third PLC, PLC 10C, sensors 31 and 32, other equipment 21, and an actuator 41.
  • the engineering tool 5 is stored in a computer, which is connected to PLC 10C.
  • the production status monitoring tool 6 is stored in a computer, which is connected to PLC 10C.
  • the computer that stores the production status monitoring tool 6 may be referred to as the production status monitoring computer.
  • Data is sent and received between the computer in which the engineering tool 5 is stored and the PLC 10C via USB (Universal Serial Bus) communication.
  • Data is sent and received between the computer in which the production status monitoring tool 6 is stored and the PLC 10C via network communication.
  • the network communication here is, for example, Ethernet (registered trademark) communication.
  • PLC 10C includes a main unit 11, an input unit 12, an output unit 13, an analog input unit 14, a communication unit 15, and a network communication unit 16. That is, PLC 10C includes the network communication unit 16 in addition to the units included in PLC 10A.
  • the network communication unit 16 is also an expansion unit, like the input unit 12. In the second embodiment, we will explain the case where the network communication unit 16 is the fifth expansion unit and is connected to the connection position farthest from the main unit 11.
  • the main unit 11 in PLC 10C has the same functions as the main unit 11 in PLC 10A, and also has the function of assigning a unit number to a new expansion unit that is not set in the system configuration setting 50 when the new expansion unit is connected as an actual device.
  • the main unit 11 in PLC 10C and the main unit 11 in PLC 10A may be different types of main units.
  • the production status monitoring computer is a computer that monitors and collects data on the production status of products manufactured by the manufacturing device 3 and on abnormalities that occur during processing.
  • the production status monitoring computer obtains data indicating the production status of products and on abnormalities that occur during processing from the network communication unit 16.
  • the network communication unit 16 is a unit that is added later to provide the production status monitoring computer with information about the production status of the products manufactured by the manufacturing device 3 and any abnormalities that occur during processing.
  • FIG. 9 is a flowchart showing the operation processing procedure of the third PLC according to the second embodiment.
  • the analysis processing procedure of the control program 60 by PLC 10C, which is the third PLC will be described.
  • PLC 10C uses, for example, the system configuration setting 50 and the control program 60 described in FIG. 3 and FIG. 4.
  • the system configuration setting 50 used by PLC 10C is the system configuration setting 50 in a state in which no missing numbers are set
  • the control program 60 used by PLC 10C is the control program 60 in a state in which no invalidation processing has been performed on the commands.
  • the main unit 11 of the manufacturing device 3 analyzes the control program 60 during startup processing when the power is turned on. That is, the main unit 11 executes the processing of steps S10 to S80 described in FIG. 6. After executing the processing of step S80, the main unit 11 determines whether or not there is an additional expansion unit in the actual device (step S110). That is, when the main unit 11 determines in the processing of step S20 that an expansion unit is not connected to the current connection position that is the subject of determination in the system configuration settings 50, it determines whether or not there is an additional expansion unit in the actual device.
  • the main unit 11 finds an expansion unit (model) that does not exist in the connection configuration of the system configuration settings 50 but does exist in the connection configuration of the actual machine, the main unit 11 automatically assigns a new unit number to this expansion unit. In other words, if any expansion unit of the actual machine is connected to a location that corresponds to a connection position after the last unit in the connection configuration of the system configuration settings 50, the main unit 11 assigns a new unit number to this expansion unit.
  • the main unit 11 assigns a new unit number that does not overlap with the unit number assigned to the previous unit. In this way, if the actual device has an additional expansion unit (step S110, Yes), the main unit 11 assigns the additional expansion unit a unit number that does not overlap with other units (step S120).
  • the fifth expansion unit is not set in the system configuration setting 50, and the actual network communication unit 16 is connected to the main unit 11 as the fifth expansion unit. Therefore, the main unit 11 assigns a new unit number (for example, unit number U5) to this network communication unit 16.
  • the main unit 11 After assigning the unit number, the main unit 11 advances the comparison position of the model between the system configuration setting 50 and the actual device configuration 54 by one. That is, the main unit 11 advances the connection position (connection position to be judged) to be compared in both the system configuration setting 50 and the actual device configuration 54 by one (step S130). After this, the main unit 11 returns to the processing of step S110.
  • the main unit 11 repeats this comparison process and the process of assigning unit numbers for the number of expansion units newly connected as actual devices. In other words, the main unit 11 repeats the processes of steps S110 to S130 for the number of expansion units added as actual devices.
  • step S110, No When the main unit 11 determines that there are no additional expansion units remaining in the actual device (step S110, No), it ends the analysis process of the control program 60. In other words, when there are no expansion units that have been added to the actual device and that do not have a unit number assigned, the main unit 11 ends the analysis process of the control program 60.
  • the main unit 11 is able to receive and respond to communication requests from the network communication unit 16 through system processing that operates independently of the control program 60.
  • the production status monitoring computer sends a communication request to the network communication unit 16 to read the execution status of the control program 60 of the main unit 11
  • the network communication unit 16 sends this communication request to the main unit 11.
  • the network communication unit 16 also sends the response sent from the main unit 11 to the production status monitoring computer. This enables the production status monitoring tool 6 to monitor the execution status of the control program 60.
  • the main unit 11 assigns new unit numbers to expansion units that are not present in the connection configuration of the system configuration setting 50 but are present in the connection configuration of the actual device. This makes it possible for the main unit 11 to add unexpected expansion units that were not planned to be connected when the control program 60 was created, without having to change the control program 60.
  • the production status monitoring tool 6 can monitor and collect data that is not directly related to control using the control program 60 of the main unit 11.
  • the engineering tool 5 displays, on a display device, an extension unit with a missing number, a state in which a command is invalidated due to the missing number, and the like.
  • FIG. 10 is a diagram showing an example of a first screen that the engineering tool according to the third embodiment causes the display device to display.
  • FIG. 10 shows a system configuration setting monitor screen 55, which is an example of the first screen that the engineering tool 5 causes the display device to display.
  • the system configuration setting monitor screen 55 is a screen that displays the contents of the system configuration setting 50 shown in FIG. 3. In other words, the system configuration setting monitor screen 55 is a screen for monitoring the missing unit number status of the expansion unit.
  • An analog input unit exists in the connection configuration of the system configuration setting 50 shown in FIG. 3 described in the first embodiment, but the analog input unit 14 does not exist in the connection configuration of the actual machine in the manufacturing apparatus 2 shown in FIG. 2. For this reason, the unit number U3 of the analog input unit is set as a missing number in the system configuration setting 50.
  • the engineering tool 5 reads out this missing number state from the main unit 11, and displays it as the system configuration setting monitor screen 55, as shown in FIG. 10.
  • the display device that displays the system configuration setting monitor screen 55 is controlled by the engineering tool 5.
  • an assigned unit number 52 is displayed so that it is clear which unit number the unit number set as a missing number is.
  • an expansion unit connection configuration 51 is displayed so that it is clear which expansion unit the missing number state is.
  • the unit number set as a missing number is unit number U3
  • the expansion unit whose unit number is a missing number state is shown as an analog input unit.
  • FIG. 11 is a diagram showing an example of a second screen that the engineering tool according to the third embodiment causes the display device to display.
  • FIG. 11 shows a control program monitor screen 56, which is an example of the second screen that the engineering tool 5 causes the display device to display.
  • the control program monitor screen 56 is a screen that shows the execution state of the control program 60 shown in FIG. 4.
  • the control program monitor screen 56 is a screen for monitoring the execution state of the control program 60.
  • the control program monitor screen 56 displays a state in which a command has been disabled due to a missing unit number.
  • the engineering tool 5 reads out the state in which this command is disabled from the main unit 11, and displays it as a control program monitor screen 56, as shown in FIG. 11.
  • the display device that displays the control program monitor screen 56 is controlled by the engineering tool 5.
  • the control program monitor screen 56 displays the control program 60 so that it is clear which instructions have been disabled.
  • Figure 11 shows the case where instructions 61 and 62 have been disabled.
  • the engineering tool 5 displays the system configuration setting monitor screen 55 and the control program monitor screen 56.
  • the system configuration setting monitor screen 55 is displayed, allowing the maintenance person to check which of the expansion units included in the control program 60 has a missing unit number.
  • the control program monitor screen 56 is displayed, allowing the maintenance person to check which of the commands included in the control program 60 have been disabled. This allows the maintenance person to perform maintenance work efficiently.
  • the engineering tool 5 may also display the newly connected expansion unit as an actual device on the display device.
  • FIG. 12 is a diagram showing an example of a third screen that the engineering tool according to the third embodiment causes the display device to display.
  • FIG. 12 shows a system configuration setting monitor screen 57, which is an example of the third screen that the engineering tool 5 causes the display device to display.
  • the system configuration setting monitor screen 57 is a screen that displays the contents of the system configuration setting 50 of the manufacturing device 3 shown in FIG. 8.
  • the system configuration setting monitor screen 57 is a screen for monitoring the state in which a new expansion unit of the actual device has been connected and a new unit number has been assigned.
  • the main unit 11 assigns a new unit number to this expansion unit.
  • a network communication unit 16 is added to the manufacturing device 3 as a fifth expansion unit as an expansion unit of the actual device.
  • the main unit 11 adds the network communication unit 16 to the last stage of the connection configuration of the system configuration setting 50.
  • the main unit 11 also assigns a unit number to the network communication unit 16.
  • Figure 12 shows a case where the main unit 11 assigns unit number U5 to the network communication unit 16.
  • the main unit 11 sends the system configuration setting 50 with the new unit number assigned to it to the engineering tool 5.
  • the engineering tool 5 displays on the display device as the system configuration setting monitor screen 57, indicating that the main unit 11 is in a state where it can issue commands to the expansion unit that has been assigned a unit number by adding the actual device.
  • the engineering tool 5 here displays on the display device as a system configuration setting monitor screen 57 that the main unit 11 is in a state where it can communicate with the network communication unit 16 (a state where it can receive and respond to communication requests).
  • the expansion unit connection configuration 51 is displayed so that it is possible to see which expansion unit is operating with an automatically assigned unit number.
  • the assigned unit number 52 is displayed so that it is possible to see the automatically assigned unit number.
  • Figure 12 shows a case where the expansion unit operating with an automatically assigned unit number is a network communication unit, and the automatically assigned unit number is unit number U5.
  • the engineering tool 5 displays the system configuration setting monitor screen 55, so the maintenance person can check which expansion unit in the control program 60 is missing.
  • the engineering tool 5 displays the control program monitor screen 56, so the maintenance person can check which command in the control program 60 has been disabled. This allows the maintenance person to perform maintenance work efficiently.
  • the engineering tool 5 also displays the system configuration setting monitor screen 57, allowing the user to check the type of newly connected expansion unit and the new assigned number set for this expansion unit.
  • Embodiment 4 Next, a fourth embodiment will be described.
  • a parameter hereinafter, referred to as an error selection parameter
  • an error selection parameter for selecting whether or not an error is to be generated in the main unit 11 when the connection configuration of the system configuration setting 50 of the control program 60 does not match the connection configuration of the actual device is set by the engineering tool 5 based on a user instruction.
  • the main unit 11 checks the error selection parameters included in the control program 60 and determines whether to generate an error. For example, if the error selection parameters select not to detect errors, the main unit 11 modifies the unit configuration information held within the PLCs 10A to 10C and executes the operation. In other words, if the comparison result of the models is a mismatch when the error selection parameters select not to detect errors, the main unit 11 modifies the unit configuration information held within the PLCs 10A to 10C and executes the operation using the actual machine that exists. As a result, as explained in the first and second embodiments, the main unit 11 can continue operation without modifying the control program 60 even if an unexpected change in the system configuration occurs.
  • the main unit 11 notifies the user of an error that the connection configuration of the control program 60 defined by the creator of the control program 60 in the system configuration settings 50 does not match the connection configuration of the actual device.
  • the user must read the control program 60 including the system configuration settings 50 using the engineering tool 5, restore the original control program 60, and then modify the system configuration settings 50.
  • the main unit 11 has a selection parameter (error selection parameter) that can select a first mode that generates an error or a second mode that does not generate an error.
  • the main unit 11 executes a normal operation if the connection configuration of the expansion unit defined in the system configuration setting 50 matches the connection configuration of the expansion unit on the actual device, and does not execute the operation and generates an error if they do not match.
  • the main unit 11 executes a normal operation if the connection configuration of the expansion unit defined in the system configuration setting 50 matches the connection configuration of the expansion unit on the actual device, and executes the operation without detecting an error even if they do not match.
  • the main unit 11 does not execute an operation and generates an error if there is a mismatch when the first mode is selected. However, the main unit 11 may notify an error but execute the operation if there is a mismatch when the first mode is selected. In this case, the user may execute the operation while being aware of the occurrence of an error, or may execute the operation after correcting the system configuration setting 50 so that the error is eliminated.
  • the main unit 11 may notify the error by turning on a lighting device (not shown) such as a light-emitting diode (LED) mounted on the main unit 11, or the engineering tool 5 may display the error on a display device.
  • a lighting device such as a light-emitting diode (LED) mounted on the main unit 11, or the engineering tool 5 may display the error on a display device.
  • LED light-emitting diode
  • the main unit 11 can continue operation without changing the control program 60 even if the system configuration setting 50 and the actual device configuration 54 do not match.
  • the engineering tool 5 or main unit 11 can notify the user of the error.
  • FIG. 13 is a diagram showing an example of a hardware configuration for realizing the control circuit provided in the main unit according to the first to fourth embodiments.
  • the main unit 11 can be realized by an input device 300, a processor 100, a memory 200, and an output device 400.
  • An example of the processor 100 is a CPU (also called a Central Processing Unit, central processing unit, processing unit, arithmetic unit, microprocessor, microcomputer, or DSP (Digital Signal Processor)) or a system LSI (Large Scale Integration).
  • An example of the memory 200 is a RAM (Random Access Memory) or a ROM (Read Only Memory).
  • the main unit 11 is realized by the processor 100 reading and executing a computer-executable processing program 70 for executing the operations of the main unit 11 stored in the memory 200.
  • the processing program 70 for executing the operations of the main unit 11 can also be said to cause the computer to execute the procedures or methods of the main unit 11.
  • the processing program 70 executed by the main unit 11 has a modular structure, with each module being loaded onto the main memory device and generated on the main memory device.
  • the processing program 70 executed by the main unit 11 includes an analysis program that analyzes the control program 60 during startup processing.
  • the input device 300 receives various instructions from the computer storing the engineering tool 5 and sends them to the processor 100.
  • the input device 300 also receives system configuration settings 50 and control programs 60 from the computer storing the engineering tool 5 and sends them to the memory 200.
  • the input device 300 also receives various data from the input unit 12, analog input unit 14, communication unit 15, network communication unit 16, etc. and sends them to the processor 100.
  • Memory 200 stores system configuration settings 50, control programs 60, etc. System configuration settings 50 and control programs 60 are read from memory 200 by processor 100. Memory 200 is also used as temporary memory when processor 100 executes various processes. Output device 400 sends various data to output unit 13, communication unit 15, network communication unit 16, etc.
  • At least one of the processing program 70 and the control program 60 may be provided as a computer program product by being stored in a computer-readable storage medium as a file in an installable or executable format.
  • the processing program 70 and the control program 60 may also be provided to the main unit 11 via a network such as the Internet. Note that some of the functions of the main unit 11 may be realized by dedicated hardware such as a dedicated circuit, and some by software or firmware.

Landscapes

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

Abstract

PLC(10A)が、製造装置を制御する制御プログラムを実行するメインユニット(11)と、複数の拡張ユニットと、を備え、制御プログラムには、メインユニットに対する拡張ユニットの接続構成を定義したシステム構成設定が含まれており、メインユニットは、起動時に、システム構成設定で定義された拡張ユニットの接続構成と、実機上の拡張ユニットの接続構成とを比較し、システム構成設定では存在し且つ実機では存在しない拡張ユニットのユニット番号を欠番に設定するとともに、欠番に設定したユニット番号が設定された制御プログラム内の命令を無効にする。

Description

プログラマブルコントローラおよび製造システム
 本開示は、制御プログラムを用いて動作するプログラマブルコントローラおよび製造システムに関する。
 工場などの製造現場では、各種センサから信号を取り込み、取り込んだ信号に応じてアクチュエータなどを制御する制御装置として、プログラマブルコントローラ(PLC、Programmable Logic Controller)(プログラマブルロジックコントローラとも呼ばれる)が使用されている。
 このPLCに対しては、製造装置の制御規模や必要機能に合わせて、信号の入出力点数を拡張すること、他の制御機器と通信を行うための機能を拡張することなどが可能となっている。この機能の拡張は、ラダープログラムに代表される制御プログラムを実行するメインユニットに、入出力ユニットや通信ユニットなどの拡張ユニットが必要な台数だけ接続されることで行われる。
 メインユニットが用いる制御プログラムには、何れの拡張ユニットがメインユニットに対して何台目に接続されているかの接続位置情報を有したシステム構成設定が含まれている。また、この制御プログラムには、各拡張ユニットを制御するための拡張用のプログラムも含まれており、これらの拡張用のプログラムは、システム構成設定が有している接続位置情報に基づいて動作する。
 製造現場では、製品のカスタマイズ対応などで同じ製品を複数種類製造する場合がある。このとき、製造装置の製作者は、同一のPLCを使用するがメインユニットに接続する拡張ユニットの構成が異なる複数種類の製造装置を製作する場合がある。この場合、拡張ユニットの接続構成の違いから、製作者は、製造装置毎に同じような制御プログラムを作成することになる。そして、制御プログラムの共通部分に変更が必要になった際には、製作者が複数のプログラムに対し同じ修正を行うことになるので、開発効率の低下やメンテナンス性の低下の原因となっていた。
 このような問題に対し、特許文献1のPLCは、将来、または別の製造装置では使用する予定の拡張ユニットを、制御プログラムのシステム構成設定では接続設定しておき、さらにこの拡張ユニットの接続位置を識別するためのユニット番号を欠番として設定している。これにより、特許文献1のPLCは、欠番に設定したユニット番号に紐づけられた制御プログラムを動作させないようにしている。また、特許文献1のPLCは、欠番に設定していた拡張ユニットを実機上で実際に接続した際には、欠番の状態を自動で解除し、接続した拡張ユニットのユニット番号に紐づけられた制御プログラムを自動で有効にしている。これにより、特許文献1のPLCは、予め欠番に設定しておいたユニットの接続の有無に関係なく、同じ制御プログラムを使用することを可能とし、拡張ユニットの接続構成が異なる複数の製造装置間での制御プログラムの統合を可能にしている。
特開2014-52672号公報
 しかしながら、上記特許文献1の技術では、将来、または別の製造装置では使用する予定のような想定内の拡張ユニットの変更に対しては欠番を設定しておけばよいが、拡張ユニットの想定外の変更が必要になった場合には制御プログラムの修正が必要になる。このため、上記特許文献1の技術では、拡張ユニットの想定外の変更が必要になった場合に、種類が異なる複数の製造装置間で共通して使用される制御プログラムから派生した新たな制御プログラムの作成が必要になるという問題があった。
 本開示は、上記に鑑みてなされたものであって、拡張ユニットの想定外の変更が必要になった場合であっても、種類が異なる複数の製造装置間で共通して使用される制御プログラムを修正することなく使用できるプログラマブルコントローラを得ることを目的とする。
 上述した課題を解決し、目的を達成するために、本開示のプログラマブルコントローラは、製造装置を制御する制御プログラムを実行するメインユニットと、メインユニットに接続可能で製造装置への機能拡張のための複数の拡張ユニットとを備える。制御プログラムには、メインユニットに対する拡張ユニットの接続構成を定義したシステム構成設定と、拡張ユニットに対して信号の入出力を指令するための命令とが含まれている。システム構成設定には、メインユニットに対する拡張ユニットの接続位置を識別するためのユニット番号が含まれており、命令には、拡張ユニットの何れに対して信号の入出力の指令を行うかを決定するためのユニット番号が設定されるパラメータである番号設定パラメータが含まれている。メインユニットは、起動時に、システム構成設定で定義された拡張ユニットの接続構成と、実機上の拡張ユニットの接続構成とを比較し、システム構成設定では存在し且つ実機では存在しない拡張ユニットのユニット番号を欠番に設定するとともに、欠番に設定したユニット番号が設定された命令を無効にする。
 本開示にかかるプログラマブルコントローラは、拡張ユニットの想定外の変更が必要になった場合であっても、種類が異なる複数の製造装置間で共通して使用される制御プログラムを修正することなく使用できるという効果を奏する。
実施の形態1にかかる第1のPLCを備えた第1の製造システムの構成を示す図 実施の形態1にかかる第2のPLCを備えた第2の製造システムの構成を示す図 実施の形態1にかかる第1および第2のPLCに適用されるシステム構成設定の例を示す図 実施の形態1にかかる第1および第2のPLCに適用される制御プログラムの例を示す図 実施の形態1にかかる第1および第2のPLCに適用される制御プログラムの第1~第4パラメータを説明するための図 実施の形態1にかかる第2のPLCの動作処理手順を示すフローチャート 実施の形態1にかかる第2のPLCが機種を比較する処理を説明するための図 実施の形態2にかかる第3のPLCを備えた第3の製造システムの構成を示す図 実施の形態2にかかる第3のPLCの動作処理手順を示すフローチャート 実施の形態3にかかるエンジニアリングツールが表示装置に表示させる第1の画面の例を示す図 実施の形態3にかかるエンジニアリングツールが表示装置に表示させる第2の画面の例を示す図 実施の形態3にかかるエンジニアリングツールが表示装置に表示させる第3の画面の例を示す図 実施の形態1~4にかかるメインユニットが備える制御回路を実現するハードウェア構成例を示す図
 以下に、本開示の実施の形態にかかるプログラマブルコントローラおよび製造システムを図面に基づいて詳細に説明する。
実施の形態1.
 図1は、実施の形態1にかかる第1のPLCを備えた第1の製造システムの構成を示す図である。第1の製造システムである製造システム101は、第1の製造装置である製造装置1と、PLC用のエンジニアリングツール5とを備えている。
 製造装置1は、第1のPLCであるPLC10Aと、センサ31,32と、他機器21と、アクチュエータ41とを有している。エンジニアリングツール5は、コンピュータに格納されており、このコンピュータがPLC10Aに接続されている。
 PLC10Aは、メインユニット11と、入力ユニット12と、出力ユニット13と、アナログ入力ユニット14と、通信ユニット15とを具備している。入力ユニット12、出力ユニット13、アナログ入力ユニット14、および通信ユニット15は、何れも拡張ユニットである。拡張ユニットは、必要に応じてメインユニット11に取り付けまたは取り外しが可能な製造装置1への機能拡張のためのユニットである。
 メインユニット11に対しては、複数の拡張ユニットが接続可能となっている。製造装置1では、入力ユニット12、出力ユニット13、アナログ入力ユニット14、および通信ユニット15は、それぞれメインユニット11に接続されている。
 メインユニット11に対してエンジニアリングツール5で接続構成が設定された拡張ユニットのうち、実際にはメインユニット11に接続されていない拡張ユニットのユニット番号が、欠番と判定されるユニット番号である。すなわち、接続構成が設定されているにもかかわらず、実際にはメインユニット11に接続されていない拡張ユニットのユニット番号が、欠番と判定されるユニット番号である。ユニット番号は、拡張ユニットのメインユニット11に対する接続位置を識別するための情報である。メインユニット11に接続可能な拡張ユニットがN(Nは自然数)台である場合に、メインユニット11にM(Mは、N以下の自然数)台の拡張ユニットが接続されている場合、(N-M)台分の拡張ユニットのユニット番号が欠番となる。
 PLC10Aでは、メインユニット11がエンジニアリングツール5を格納したコンピュータに接続されている。また、入力ユニット12が、センサ31に接続されており、アナログ入力ユニット14がセンサ32に接続されている。また、通信ユニット15が他機器21に接続されており、出力ユニット13がアクチュエータ41に接続されている。
 エンジニアリングツール5は、エンジニアリングツール5を格納するコンピュータによって実行される。エンジニアリングツール5は、使用者からの指示に従って、メインユニット11への種々の設定を行う。また、エンジニアリングツール5は、使用者からの指示に従って、製造装置1に適用される制御プログラムを作成する。この制御プログラムは、後述する製造装置2にも適用されるプログラムである。すなわち、エンジニアリングツール5が作成する制御プログラムは、種類が異なる複数の製造装置(実施の形態1では製造装置1,2)間で共通して使用されるプログラムである。製造装置1,2で共通して使用される制御プログラムは、製造装置1で使用可能な制御プログラムと、製造装置2で使用可能な制御プログラムとを統合した制御プログラムである。制御プログラムは、製造装置1,2を制御するためのプログラムであり、メインユニット11によって実行される。
 エンジニアリングツール5が作成する制御プログラムには、何れの拡張ユニットがメインユニット11に対して何台目に接続されているかの接続位置情報を有したシステム構成設定が含まれている。すなわち、システム構成設定は、拡張ユニットのメインユニット11に対する接続構成を定義した情報である。
 エンジニアリングツール5は、作成した制御プログラムをメインユニット11に書き込む。また、エンジニアリングツール5は、欠番となっている拡張ユニットのユニット番号をメインユニット11から読み出して、表示装置等に表示させる。
 メインユニット11には、制御プログラムが書き込まれており、メインユニット11は、制御プログラムを用いてPLC10Aを制御する。メインユニット11は、電源がオンになると起動し、起動処理の際に制御プログラムを解析する。
 センサ31は、第1の測定対象から情報を収集し、収集した情報に対応するデジタル信号を入力ユニット12に送る。センサ32は、第2の測定対象から情報を収集し、収集した情報に対応するアナログ信号をアナログ入力ユニット14に送る。センサ31,32が収集する情報は、温度、電圧などである。
 入力ユニット12は、センサ31からデジタル信号を受け付けてメインユニット11に入力する。アナログ入力ユニット14は、センサ32からアナログ信号を受け付けてメインユニット11に入力する。
 通信ユニット15は、他機器21との間で通信を実行する。通信ユニット15は、メインユニット11から送られてくるデータを他機器21に送信し、他機器21から送られてくるデータを受信してメインユニット11に送る。他機器21は、PLC10A以外の装置である。
 メインユニット11は、入力ユニット12から送られてくるデジタル信号、アナログ入力ユニット14から送られてくるアナログ信号、通信ユニット15から送られてくるデータ、および制御プログラムを用いて、アクチュエータ41を制御するためのデータを生成する。メインユニット11は、生成したデータを出力ユニット13に送る。出力ユニット13は、メインユニット11から送られてくるデータをアクチュエータ41に出力する。
 図2は、実施の形態1にかかる第2のPLCを備えた第2の製造システムの構成を示す図である。図2の各構成要素のうち図1の製造システム101と同一機能を達成する構成要素については同一符号を付しており、重複する説明は省略する。第2の製造システムである製造システム102は、第2の製造装置である製造装置2と、エンジニアリングツール5とを備えている。
 製造装置2は、第2のPLCであるPLC10Bと、センサ31と、他機器21と、アクチュエータ41とを有している。エンジニアリングツール5は、コンピュータに格納されており、このコンピュータがPLC10Bに接続されている。
 PLC10Bは、メインユニット11と、入力ユニット12と、出力ユニット13と、通信ユニット15とを具備している。すなわち、PLC10Bは、PLC10Aと比較して、アナログ入力ユニット14を有しておらず、アナログ入力ユニット14のユニット番号は欠番である。PLC10Bでは、入力ユニット12、出力ユニット13、および通信ユニット15の全てが拡張ユニットである。
 PLC10Bが備えるメインユニット11は、PLC10Aが備えるメインユニット11と同様の機能を有している。PLC10Bが備えるメインユニット11と、PLC10Aが備えるメインユニット11とは、種類が異なるメインユニットであってもよい。
 製造現場では、製品のカスタマイズ対応などで同じ製品を複数種類製造する場合がある。例えば、製造装置1は、製品に対して第1のカスタマイズが実行された第1の製品を製造し、製造装置2は、製品に対して第2のカスタマイズが実行された第2の製品を製造する。第1のカスタマイズおよび第2のカスタマイズは、どのようなカスタマイズであってもよい。
 製造装置1が製造する第1の製品は、アナログ信号を用いてアクチュエータ41が制御されることで製造される製品である。製造装置2が製造する第2の製品は、アナログ信号を用いることなくアクチュエータ41が制御されることで製造される製品である。
 このように、製造装置1,2は、同じ機能を有したメインユニット11を用いて構成されているが、メインユニット11に接続される拡張ユニットの構成が異なっている。複数種類の製造装置1,2が用いられることで、製造装置1,2は、カスタマイズされた複数種類の製品を製造する。
 実施の形態1では、制御プログラム内のシステム構成設定に予め使用者が欠番を設定しておく必要がない。製造装置1,2のメインユニット11は、メインユニット11が起動する際にシステム構成設定に含まれている接続構成と、実機の接続構成(以下、実機構成という場合がある)とをメインユニット11に近い側の接続位置(メインユニット11から見て前段側の接続位置)から順番に比較する。
 メインユニット11は、拡張ユニットが、システム構成設定内には存在し、且つ実機の接続構成には存在しない場合は、この拡張ユニットのユニット番号を自動的に欠番に設定する。また、メインユニット11は、欠番に設定したユニット番号の拡張ユニットに関連する制御プログラムを自動で無効化する。これにより、メインユニット11は、制御プログラムを変更することなく、制御プログラムを用いてそのまま動作する。
 ここで、システム構成設定および制御プログラムの例について説明する。図3は、実施の形態1にかかる第1および第2のPLCに適用されるシステム構成設定の例を示す図である。図3では、制御プログラムに含まれるシステム構成設定50を示している。
 なお、ここではPLC10Bのシステム構成設定50について説明する。システム構成設定50は、製造システム101または製造システム102のエンジニアリングツール5を用いて作成される。
 システム構成設定50には、拡張ユニットの接続構成(拡張ユニット接続構成51)と、割り当てられたユニット番号(割り当てユニット番号52)とが含まれている。
 拡張ユニット接続構成51は、PLC10B内での拡張ユニットの接続構成を示す情報である。割り当てユニット番号52は、各拡張ユニットに対し、接続位置を識別するために割り振られたユニット番号である。
 図3の拡張ユニット接続構成51では、メインユニット(図2のメインユニット11)に最も近い接続位置に入力ユニット(図2の入力ユニット12)が接続され、2番目に近い接続位置に出力ユニット(図2の出力ユニット13)が接続されている場合を示している。また、図3の拡張ユニット接続構成51では、メインユニットに3番目に近い接続位置にアナログ入力ユニット(図2では配置されていないアナログ入力ユニット14)が接続され、4番目に近い接続位置に通信ユニット(図2の通信ユニット15)が接続されている場合を示している。拡張ユニット接続構成51でのメインユニット、入力ユニット、出力ユニット、アナログ入力ユニット、通信ユニットは、それぞれ図1で説明したメインユニット11、入力ユニット12、出力ユニット13、アナログ入力ユニット14、通信ユニット15に対応している。なお、以下の説明では、拡張ユニット接続構成51を単に接続構成という場合がある。
 図3の割り当てユニット番号52では、入力ユニットにユニット番号U1が割り当てられ、出力ユニットにユニット番号U2が割り当てられる場合を示している。また、図3の割り当てユニット番号52では、アナログ入力ユニットにユニット番号U3が割り当てられ、通信ユニットにユニット番号U4が割り当てられる場合を示している。
 図2に示したように、PLC10Bは、実際にはアナログ入力ユニット14が接続されていない。実施の形態1では、PLC10Bのシステム構成設定50には、アナログ入力ユニット14に対応するユニット番号U3が欠番であることを示す情報が格納されていない。実施の形態1では、PLC10Bのメインユニット11が、システム構成設定50と実機構成とを比較することで欠番を検出し、欠番の情報をエンジニアリングツール5が読み出してモニタ画面(システム構成設定モニタ画面)に表示させる。図3では、欠番であるユニット番号U3にハッチングを付して図示している。
 図4は、実施の形態1にかかる第1および第2のPLCに適用される制御プログラムの例を示す図である。なお、ここではPLC10Bに適用された制御プログラム60について説明する。制御プログラム60は、製造システム101または製造システム102のエンジニアリングツール5を用いて製造装置1,2用に作成される。
 図4の制御プログラム60は、拡張ユニットに対するプログラムである。図4では、制御プログラム60がラダープログラムである場合を示している。図4では、制御プログラム60に含まれる命令として、各拡張ユニットに対して入出力の指令を行うための命令例を示している。
 制御プログラム60には、拡張ユニット読み出し命令と、拡張ユニット書き込み命令とがある。拡張ユニット読み出し命令は、拡張ユニットからデータを読み出す命令であり、拡張ユニット書き込み命令は、拡張ユニットにデータを書き込む命令である。
 図4では、制御プログラム60内の各命令に、4つずつのパラメータが設定されている場合を示している。すなわち、拡張ユニット読み出し命令および拡張ユニット書き込み命令には、それぞれ第1パラメータ、第2パラメータ、第3パラメータ、および第4パラメータが設定されている。
 第1パラメータは、拡張ユニットのユニット番号である。すなわち、各命令では、第1パラメータにシステム構成設定50で割り付けられたユニット番号を設定できるようになっており、これにより、何れの拡張ユニットに対して入出力の指令を行うかを決定することができる。第2~第4パラメータについては後述する。
 例えば、制御プログラム60内の拡張ユニット読み出し命令の一例である命令61,62には、アナログ入力ユニットに割り付けられたユニット番号の「U3」が設定されている。したがって、命令61,62は、製造装置1のシステム構成において、3台目に接続されているアナログ入力ユニット14(ユニット番号U3のユニット)からアナログ値を読み出すための命令である。図4では、欠番であるユニット番号U3にハッチングを付して図示している。
 図5は、実施の形態1にかかる第1および第2のPLCに適用される制御プログラムの第1~第4パラメータを説明するための図である。拡張ユニット読み出し命令の第1パラメータは、拡張ユニットのユニット番号を指定するためのパラメータ(番号設定パラメータ)である。拡張ユニット読み出し命令の第2パラメータは、拡張ユニットから読み出すデータが格納されたメモリアドレスを指定するためのパラメータである。拡張ユニット読み出し命令の第3パラメータは、読み出したデータを格納するメインユニット11のデータレジスタを指定するためのパラメータである。拡張ユニット読み出し命令の第4パラメータは、読み出し点数を指定するためのパラメータである。
 拡張ユニット書き込み命令の第1パラメータは、拡張ユニットのユニット番号を指定するためのパラメータである。拡張ユニット書き込み命令の第2パラメータは、拡張ユニットに書き込むデータを指定するためのパラメータである。拡張ユニット書き込み命令の第3パラメータは、拡張ユニットの書き込み先メモリアドレスを指定するためのパラメータである。拡張ユニット書き込み命令の第4パラメータは、書き込み点数を指定するためのパラメータである。
 つぎに、PLC10A,10Bの動作処理手順について説明する。なお、PLC10A,10Bの動作処理手順は同様なので、ここでは、PLC10Bの動作処理手順について説明する。
 図6は、実施の形態1にかかる第2のPLCの動作処理手順を示すフローチャートである。ここでは、第2のPLCであるPLC10Bによる、制御プログラム60の解析処理手順について説明する。PLC10Bは、例えば、図3および図4で説明したシステム構成設定50および制御プログラム60を用いる。
 製造装置2のメインユニット11には、システム構成設定50および制御プログラム60が書き込まれている。メインユニット11は、電源オンの際の起動処理で制御プログラム60を解析する。
 まず、メインユニット11は、自身に接続されている拡張ユニットの台数および機種を読み出し、実機の接続構成(実機構成)を作成する。具体的には、メインユニット11は、メインユニット11に接続されている拡張ユニットの機種名を、接続位置がメインユニット11に近い順に拡張ユニットから読み出し、実機の接続構成を作成する(ステップS10)。また、メインユニット11は、機種名を読み出すことができた拡張ユニットの台数を計算しておく。
 つぎに、メインユニット11は、制御プログラム60に含まれるシステム構成設定50から、システム構成設定50に設定されている接続構成(拡張ユニット接続構成51)を読み出す。メインユニット11は、作成した実機の接続構成と、システム構成設定50に設定されている接続構成とを比較する。具体的には、メインユニット11は、作成した実機の接続構成をメインユニット11に接続位置が近い(前の)拡張ユニットから順番に、機種が一致するか否かを判定する。
 メインユニット11は、システム構成設定50に含まれる拡張ユニットのうち、判定対象となっている現在の接続位置(比較する接続位置)に、何れかの拡張ユニットが設定されているか否かを判定する(ステップS20)。
 判定対象となっている現在の接続位置に、拡張ユニットが設定されている場合(ステップS20、Yes)、メインユニット11は、判定対象となっている現在の接続位置の拡張ユニットの機種と、実際に接続されている拡張ユニットの機種とを比較する。すなわち、メインユニット11は、現在の接続位置におけるシステム構成設定50の拡張ユニットの機種と、実機の拡張ユニットの機種とを比較する(ステップS30)。そして、メインユニット11は、システム構成設定50の拡張ユニットの機種と、実機の拡張ユニットの機種とが一致するか否かを判定する(ステップS40)。
 機種が一致しない場合(ステップS40、No)、メインユニット11は、システム構成設定50において、機種が不一致となった接続位置の拡張ユニットに割り当てられたユニット番号を欠番に設定する(ステップS50)。すなわち、メインユニット11は、システム構成設定50と実機との機種の比較の結果、システム構成設定50の接続構成には存在するが、実機の接続構成には存在しない拡張ユニット(機種)があった場合は、その拡張ユニットのユニット番号を欠番に設定する。
 欠番があった場合、メインユニット11は、システム構成設定50のみ比較する接続位置(判定対象とする接続位置)を1つ進める(ステップS60)。すなわち、欠番があった場合、メインユニット11は、次の比較の際に、システム構成設定50のみ次の(後ろの)接続位置に進め、実機構成については、比較する接続位置を進めずに拡張ユニットの機種を比較する。この後、メインユニット11は、ステップS20の処理に戻る。
 システム構成設定50の拡張ユニットの機種と、実機の拡張ユニットの機種とが一致する場合(ステップS40、Yes)、メインユニット11は、システム構成設定50、実機構成ともに比較する接続位置を1つ進める(ステップS70)。この後、メインユニット11は、ステップS20の処理に戻る。
 メインユニット11は、この比較処理をシステム構成設定50の拡張ユニットの台数分繰り返す。すなわち、メインユニット11は、ステップS20~S70の処理を、システム構成設定50に設定されている拡張ユニットの台数分繰り返す。
 ここで、機種の比較処理の具体例について説明する。図7は、実施の形態1にかかる第2のPLCが機種を比較する処理を説明するための図である。図7では、システム構成設定50と、実機構成54と、機種の比較結果と、比較位置(接続位置)の進め方とを図示している。
 第2のPLCであるPLC10Bのメインユニット11は、システム構成設定50の機種と、実機構成54の機種とを比較する。メインユニット11は、1台目の拡張ユニット(ユニット番号U1の入力ユニット12)に対して、システム構成設定50の機種と、実機構成54の機種とを比較する。ここでは、システム構成設定50に設定されている拡張ユニットの機種が入力ユニット12であり、実機構成54の拡張ユニットの機種が入力ユニット12であるので、機種の比較結果は一致している。この場合、メインユニット11は、拡張ユニットの比較位置を、システム構成設定50、実機構成54ともに次の比較位置に進める。
 つぎに、メインユニット11は、2台目の拡張ユニット(ユニット番号U2の出力ユニット13)に対して、システム構成設定50の機種と、実機構成54の機種とを比較する。ここでは、システム構成設定50に設定されている拡張ユニットの機種が出力ユニット13であり、実機構成54の拡張ユニットの機種が出力ユニット13であるので、機種の比較結果は一致している。この場合、メインユニット11は、拡張ユニットの比較位置を、システム構成設定50、実機構成54ともに次の比較位置に進める。
 つぎに、メインユニット11は、3台目の拡張ユニット(ユニット番号U3のアナログ入力ユニット14)に対して、システム構成設定50の機種と、実機構成54の機種とを比較する。ここでは、システム構成設定50に設定されている拡張ユニットの機種がアナログ入力ユニット14であり、実機構成54の拡張ユニットの機種が通信ユニット15であるので、機種の比較結果は不一致である。この場合、メインユニット11は、システム構成設定50におけるアナログ入力ユニット14のユニット番号U3を欠番に設定する。また、機種の比較結果は不一致であるので、メインユニット11は、拡張ユニットの比較位置を、システム構成設定50のみ次の比較位置に進める。
 つぎに、メインユニット11は、4台目の拡張ユニット(ユニット番号U4の通信ユニット15)に対して、システム構成設定50の機種と、実機構成54の機種とを比較する。ここでは、システム構成設定50に設定されている拡張ユニットの機種が通信ユニット15であり、実機構成54の拡張ユニットの機種が通信ユニット15であるので、機種の比較結果は一致している。この場合、メインユニット11は、拡張ユニットの比較位置を、システム構成設定50、実機構成54ともに次の比較位置に進める。
 つぎに、メインユニット11は、5台目の拡張ユニットに対して、システム構成設定50の機種と、実機構成54の機種とを比較する。ここでは、システム構成設定50および実機構成54の両方に拡張ユニットが設定されていないので、メインユニット11は、機種の比較処理を終了する。
 ステップS20の処理において、システム構成設定50の判定対象となっている現在の接続位置に、拡張ユニットが設定されていない場合(ステップS20、No)、メインユニット11は、機種の比較処理を終了する。そして、メインユニット11は、制御プログラム60の中から欠番となったユニット番号を第1パラメータに持つ命令を抽出し、抽出した命令を無効にする(ステップS80)。すなわち、メインユニット11は、制御プログラム60に含まれる各拡張ユニットに対し、入出力を指令する命令群の中から、欠番となったユニット番号が第1パラメータに設定されている命令を抽出し、抽出した命令を全て無効化する。このように、メインユニット11は、欠番に設定されたユニット番号が設定されている命令を無効化することで、欠番に設定されたユニット番号の拡張ユニットが動作しないようにする。
 このように、メインユニット11は、第1パラメータに欠番となったユニット番号が設定されている命令を、無効な命令に設定する。例えば、図4に示した制御プログラム60の場合、メインユニット11は、命令61,62を無効な命令に設定する。
 なお、製造装置1の場合、システム構成設定50における接続構成と実機構成54における接続構成とが一致するので、メインユニット11は、欠番の設定および命令の無効化は行わない。
 パラメータに欠番のユニット番号が設定された命令を無効化する方法は、上記の方法に限らず、他の方法で実行されてもよい。例えば、ラダープログラム上で命令を駆動する実行条件に、該当のユニット番号が欠番であるか否かを判定する判定プログラムを追加しておいてもよい。この場合、メインユニット11は、この判定プログラムがユニット番号を欠番と判定すると、この命令の実行条件をOFFにするという方法で、欠番のユニット番号が設定された命令を無効化してもよい。
 以上の解析処理により、製造装置2のPLC10Bで動作する制御プログラム60では、実機にはないアナログ入力ユニット14に対する命令が自動で動作しなくなる。これにより、アナログ入力ユニット14が存在する製造装置1と、アナログ入力ユニット14が存在しない製造装置2とで制御プログラム60の統合が可能になる。すなわち、製造装置1,2は、共通の制御プログラム60を用いることができる。
 なお、製造装置2の例では、アナログ入力ユニット14が実機に接続されていない場合について説明したが、その他の任意のユニットが接続されていない場合であっても、メインユニット11は、起動時の解析処理によって自動で欠番を設定するので、製造装置1,2は、統合された制御プログラム60を用いることができる。これにより、製造現場で任意のユニットが故障した場合など、想定外の実機の接続構成の変更が発生した場合でも、製造装置1,2は、制御プログラム60を変更することなく動作を継続することが可能になる。
 つぎに、比較例の製造装置について説明する。比較例の製造装置では、予め欠番とする拡張ユニットのユニット番号が、制御プログラムのシステム構成設定50に設定される。そして、比較例の製造装置は、欠番に設定されたユニット番号の拡張ユニットを実機上で実際に接続した際には、欠番の状態を解除する。
 この比較例の製造装置の場合、使用者が予め欠番を設定しなければならず、手間がかかる。また、この比較例の製造装置の場合、製造装置が稼働している時の拡張ユニットの故障などで、任意の拡張ユニットが取り外される場合は、制御プログラムの変更が必要となる。
 このように、比較例の製造装置では、システム構成設定50の想定外の変更が必要になった場合は、制御プログラムの変更が必要になる。すなわち、比較例の製造装置では、システム構成設定50の想定外の変更が必要になった場合は、複数の製造装置間で統合された制御プログラムから派生した新たな制御プログラムの作成が必要になる。
 一方、実施の形態1の製造装置1,2は、システム構成設定50の想定外の変更が必要になった場合(想定外の拡張ユニットの取り外しなどが発生した場合)であっても、新たな制御プログラムの作成は不要であり、元々の制御プログラム60をそのまま使用できる。
 このように、実施の形態1のメインユニット11は、起動時に、システム構成設定50で定義された拡張ユニットの接続構成と、実機上の拡張ユニットの接続構成とを比較している。そして、メインユニット11は、システム構成設定50では存在し且つ実機では存在しない拡張ユニットのユニット番号を欠番に設定するとともに、欠番に設定したユニット番号が設定された命令を無効にする。これにより、製造装置1,2は、拡張ユニットの想定外の変更が必要になった場合であっても、種類が異なる複数の製造装置1,2間で共通して使用される制御プログラム60を修正することなく使用することができる。
実施の形態2.
 つぎに、図8および図9を用いて実施の形態2について説明する。実施の形態2では、システム構成設定50には設定されていない拡張ユニットが、実機の拡張ユニットとしてメインユニット11に接続されると、メインユニット11が、接続された拡張ユニットに新しいユニット番号を割り当てる。
 図8は、実施の形態2にかかる第3のPLCを備えた第3の製造システムの構成を示す図である。図8の各構成要素のうち図1の製造システム101と同一機能を達成する構成要素については同一符号を付しており、重複する説明は省略する。第3の製造システムである製造システム103は、第3の製造装置である製造装置3と、エンジニアリングツール5と、生産状況モニタ用ツール6とを備えている。
 製造装置3は、第3のPLCであるPLC10Cと、センサ31,32と、他機器21と、アクチュエータ41とを有している。エンジニアリングツール5は、コンピュータに格納されており、このコンピュータがPLC10Cに接続されている。生産状況モニタ用ツール6は、コンピュータに格納されており、このコンピュータがPLC10Cに接続されている。以下、生産状況モニタ用ツール6を格納するコンピュータを生産状況モニタ用コンピュータという場合がある。
 エンジニアリングツール5が格納されているコンピュータと、PLC10Cとは、USB(Universal Serial Bus)通信によってデータが送受信される。生産状況モニタ用ツール6が格納されているコンピュータと、PLC10Cとは、ネットワーク通信によってデータが送受信される。ここでのネットワーク通信は、例えば、イーサネット(登録商標)通信である。
 PLC10Cは、メインユニット11と、入力ユニット12と、出力ユニット13と、アナログ入力ユニット14と、通信ユニット15と、ネットワーク通信ユニット16とを具備している。すなわち、PLC10Cは、PLC10Aが備えるユニットに加えて、ネットワーク通信ユニット16を備えている。
 ネットワーク通信ユニット16も、入力ユニット12などと同様に拡張ユニットである。実施の形態2では、ネットワーク通信ユニット16が、5台目の拡張ユニットであり、メインユニット11から最も遠い接続位置に接続される場合について説明する。
 PLC10Cが備えるメインユニット11は、PLC10Aが備えるメインユニット11と同様の機能と、システム構成設定50には設定されていない新たな拡張ユニットが実機として接続された場合に、この拡張ユニットにユニット番号を割り当てる機能とを有している。PLC10Cが備えるメインユニット11と、PLC10Aが備えるメインユニット11とは、種類が異なるメインユニットであってもよい。
 生産状況モニタ用コンピュータは、製造装置3で製造される製品の生産状況や加工時の異常内容などをモニタおよびデータ収集するコンピュータである。生産状況モニタ用コンピュータは、ネットワーク通信ユニット16から製品の生産状況や加工時の異常内容などを示すデータを取得する。
 ネットワーク通信ユニット16は、製造装置3で製造される製品の生産状況や加工時の異常内容などを、生産状況モニタ用コンピュータに提供するために後付けされたユニットである。
 つぎに、PLC10Cの動作処理手順について説明する。図9は、実施の形態2にかかる第3のPLCの動作処理手順を示すフローチャートである。ここでは、第3のPLCであるPLC10Cによる、制御プログラム60の解析処理手順について説明する。PLC10Cは、例えば、図3および図4で説明したシステム構成設定50および制御プログラム60を用いる。なお、PLC10Cが用いるシステム構成設定50は、欠番の設定がされていない状態のシステム構成設定50であり、PLC10Cが用いる制御プログラム60は命令への無効化処理が行われていない状態の制御プログラム60である。
 製造装置3のメインユニット11は、電源オンの際の起動処理で制御プログラム60を解析する。すなわち、メインユニット11は、図6で説明したステップS10~S80の処理を実行する。メインユニット11は、ステップS80の処理を実行した後、実機に追加の拡張ユニットがあるか否かを判定する(ステップS110)。すなわち、メインユニット11は、ステップS20の処理において、システム構成設定50の判定対象となっている現在の接続位置に拡張ユニットが接続されていないと判定した場合において、実機に追加の拡張ユニットがあるか否かを判定する。
 メインユニット11は、システム構成設定50と実機との機種の比較の結果、システム構成設定50の接続構成には存在しないが、実機の接続構成には存在する拡張ユニット(機種)があった場合は、この拡張ユニットに対して新しいユニット番号を自動で割り当てる。すなわち、メインユニット11は、システム構成設定50の接続構成の最後段のユニットよりも後ろの接続位置に対応する箇所に、実機の任意の拡張ユニットが接続されていた場合、この拡張ユニットに対して新しいユニット番号を割り当てる。
 この場合において、メインユニット11は、前段のユニットに割り当てられているユニット番号とは重複しない新たなユニット番号を割り当てる。このように、メインユニット11は、実機に追加の拡張ユニットがある場合(ステップS110、Yes)、追加の拡張ユニットに他のユニットと重複しないユニット番号を割り当てる(ステップS120)。
 実施の形態2では、システム構成設定50に5台目の拡張ユニットが設定されておらず、且つ実機のネットワーク通信ユニット16が5台目の拡張ユニットとしてメインユニット11に接続されている。したがって、メインユニット11は、このネットワーク通信ユニット16に新たなユニット番号(例えば、ユニット番号U5)を割り当てる。
 メインユニット11は、ユニット番号を割り当てた後、システム構成設定50と実機構成54との機種の比較位置を1つ進める。すなわち、メインユニット11は、システム構成設定50、実機構成54ともに比較する接続位置(判定対象とする接続位置)を1つ進める(ステップS130)。この後、メインユニット11は、ステップS110の処理に戻る。
 メインユニット11は、この比較処理とユニット番号を割り当てる処理とを実機として新たに接続された拡張ユニットの台数分繰り返す。すなわち、メインユニット11は、ステップS110~S130の処理を、実機として追加された拡張ユニットの台数分繰り返す。
 メインユニット11は、実機に追加の拡張ユニットが残っていないと判定すると(ステップS110、No)、制御プログラム60の解析処理を終了する。すなわち、メインユニット11は、実機に追加された拡張ユニットであって、ユニット番号が割り当てられていない拡張ユニットが無くなると、制御プログラム60の解析処理を終了する。
 これにより、メインユニット11は、制御プログラム60には依存せずに動作しているシステム処理によって、ネットワーク通信ユニット16からの通信要求の受信と応答とが可能になる。例えば、生産状況モニタ用コンピュータが、メインユニット11の制御プログラム60の実行状態を読み出すための通信要求をネットワーク通信ユニット16に送信すると、ネットワーク通信ユニット16は、この通信要求をメインユニット11へ送る。また、ネットワーク通信ユニット16は、メインユニット11から送られてくる応答を生産状況モニタ用コンピュータに送る。これにより、生産状況モニタ用ツール6は、制御プログラム60の実行状態をモニタすることが可能となる。
 このように、製造システム103では、制御プログラム60には依存しないシステム処理で動作するモニタ等の機能については、追加された拡張ユニットに対してユニット番号が割り当てられることで動作可能となり、制御プログラム60を変更することなく機能を追加することが可能となる。
 前述した比較例の製造装置は、制御プログラムの作成時には接続を想定していなかった拡張ユニット、例えば、メインユニットの制御状態を外部のコンピュータ等からモニタするための通信ユニットを後から追加する場合には、システム構成設定の変更が必要となる。
 このように、実施の形態2では、システム構成設定50の接続構成には存在せず、実機の接続構成には存在する拡張ユニットに対して、メインユニット11が新しいユニット番号を割り当てている。これにより、メインユニット11は、制御プログラム60の作成時には接続予定がなかった想定外の拡張ユニットを、制御プログラム60を変更することなく追加することが可能となる。
 また、実機のネットワーク通信ユニット16が拡張ユニットとして追加されることで、生産状況モニタ用ツール6は、メインユニット11の制御プログラム60を用いた制御とは直接関係しないモニタやデータ収集が可能となる。
実施の形態3.
 つぎに、図10~図12を用いて実施の形態3について説明する。実施の形態3では、エンジニアリングツール5が、欠番となっている拡張ユニット、欠番によって命令が無効化されている状態などを表示装置に表示させる。
 図10は、実施の形態3にかかるエンジニアリングツールが表示装置に表示させる第1の画面の例を示す図である。図10では、エンジニアリングツール5が表示装置に表示させる第1の画面の一例であるシステム構成設定モニタ画面55を図示している。
 システム構成設定モニタ画面55は、図3に示したシステム構成設定50の内容を示す画面である。すなわち、システム構成設定モニタ画面55は、拡張ユニットのユニット番号の欠番状態をモニタするための画面である。
 実施の形態1で説明した図3に示すシステム構成設定50の接続構成にはアナログ入力ユニットが存在するが、図2に示す製造装置2では実機の接続構成にアナログ入力ユニット14が存在しない。このため、システム構成設定50では、アナログ入力ユニットのユニット番号U3が欠番に設定される。エンジニアリングツール5は、この欠番となっている状態をメインユニット11から読み出し、図10に示すように、システム構成設定モニタ画面55として表示する。
 システム構成設定モニタ画面55を表示する表示装置は、エンジニアリングツール5によって制御される。システム構成設定モニタ画面55では、欠番に設定されたユニット番号が何れのユニット番号であるかが分かるように割り当てユニット番号52が表示される。また、システム構成設定モニタ画面55では、欠番状態となっている拡張ユニットが何れの拡張ユニットであるかが分かるように拡張ユニット接続構成51が表示される。図10では、欠番に設定されたユニット番号がユニット番号U3であり、ユニット番号が欠番状態となっている拡張ユニットがアナログ入力ユニットである場合を示している。
 図11は、実施の形態3にかかるエンジニアリングツールが表示装置に表示させる第2の画面の例を示す図である。図11では、エンジニアリングツール5が表示装置に表示させる第2の画面の一例である制御プログラムモニタ画面56を図示している。
 制御プログラムモニタ画面56は、図4に示した制御プログラム60の実行状態を示す画面である。すなわち、制御プログラムモニタ画面56は、制御プログラム60の実行状態をモニタするための画面である。制御プログラムモニタ画面56では、ユニット番号の欠番によって命令が無効化されている状態を表示する。
 エンジニアリングツール5は、この命令が無効化されている状態をメインユニット11から読み出し、図11に示すように、制御プログラムモニタ画面56として表示する。制御プログラムモニタ画面56を表示する表示装置は、エンジニアリングツール5によって制御される。
 制御プログラムモニタ画面56では、無効化されている命令が何れの命令であるかが分かるように制御プログラム60が表示される。図11では、命令61,62が無効化されている場合を示している。
 このように、エンジニアリングツール5は、システム構成設定モニタ画面55や制御プログラムモニタ画面56を表示させる。製造現場において、例えば、製造装置2がメンテナンスされる際に、システム構成設定モニタ画面55が表示されることで、メンテナンス者は、制御プログラム60に含まれる拡張ユニットのうち、何れの拡張ユニットのユニット番号が欠番になっているかを確認できる。また、製造装置2がメンテナンスされる際に、制御プログラムモニタ画面56が表示されることで、メンテナンス者は、制御プログラム60に含まれる命令のうち何れの命令が無効化されているかを確認することができる。これにより、メンテナンス者は、メンテナンス作業を効率良く実施できる。
 また、エンジニアリングツール5は、実機として新規に接続された拡張ユニットを表示装置に表示させてもよい。図12は、実施の形態3にかかるエンジニアリングツールが表示装置に表示させる第3の画面の例を示す図である。図12では、エンジニアリングツール5が表示装置に表示させる第3の画面の一例であるシステム構成設定モニタ画面57を図示している。
 システム構成設定モニタ画面57は、図8に示した製造装置3のシステム構成設定50の内容を示す画面である。すなわち、システム構成設定モニタ画面57は、新規に実機の拡張ユニットが接続されて新しいユニット番号が割り当てられた状態をモニタするための画面である。
 図8で説明したように、メインユニット11は、システム構成設定50の接続構成の最後段のユニットよりも後ろの接続位置に対応する箇所に、実機の任意の拡張ユニットが接続されていた場合、この拡張ユニットに対して新しいユニット番号を割り当てる。
 実施の形態3では、実機の拡張ユニットとしてネットワーク通信ユニット16が、5台目の拡張ユニットとして製造装置3に追加される。この場合、メインユニット11は、システム構成設定50の接続構成の最後段にネットワーク通信ユニット16を追加する。また、メインユニット11は、ネットワーク通信ユニット16にユニット番号を割り当てる。図12では、メインユニット11が、ネットワーク通信ユニット16にユニット番号U5を割り当てた場合を示している。
 メインユニット11は、新しいユニット番号を割り当てたシステム構成設定50をエンジニアリングツール5に送る。これにより、エンジニアリングツール5は、実機の追加によってユニット番号が割り当てられた拡張ユニットに対してメインユニット11が指令可能な状態であることを、システム構成設定モニタ画面57として表示装置に表示させる。
 ここでのエンジニアリングツール5は、メインユニット11が、ネットワーク通信ユニット16との間で通信が可能な状態(通信要求の受信と応答とが可能な状態)であることを、システム構成設定モニタ画面57として表示装置に表示させる。
 システム構成設定モニタ画面57では、ユニット番号が自動割り当てされて動作している拡張ユニットが何れの拡張ユニットであるかが分かるように拡張ユニット接続構成51が表示される。また、システム構成設定モニタ画面57では、自動割り当てされたユニット番号が分かるように割り当てユニット番号52が表示される。図12では、ユニット番号が自動割り当てされて動作している拡張ユニットがネットワーク通信ユニットであり、自動割り当てされたユニット番号がユニット番号U5である場合を示している。
 このように実施の形態3によれば、エンジニアリングツール5が、システム構成設定モニタ画面55を表示させるので、メンテナンス者は、制御プログラム60の何れの拡張ユニットが欠番になっているかを確認することができる。また、エンジニアリングツール5が、制御プログラムモニタ画面56を表示させるので、メンテナンス者は、制御プログラム60の何れの命令が無効化されているかを確認することができる。これにより、メンテナンス者は、メンテナンス作業を効率良く実施できる。
 また、エンジニアリングツール5が、システム構成設定モニタ画面57を表示させるので、使用者は、新たに接続された拡張ユニットの種類と、この拡張ユニットに設定された新しい割り当て番号とを確認することができる。
実施の形態4.
 つぎに、実施の形態4について説明する。実施の形態4では、制御プログラム60のシステム構成設定50の接続構成と、実機の接続構成とが一致していない場合に、メインユニット11でエラーを発生させるか否かを選択するためのパラメータ(以下、エラー選択パラメータという)を、エンジニアリングツール5がユーザ指示に基づいて設定しておく。
 メインユニット11は、起動時の制御プログラム60の解析処理で、制御プログラム60に含まれるエラー選択パラメータを確認し、エラーを発生させるか否かを判定する。例えば、エラー選択パラメータでエラーを検出しないことが選択されていた場合には、メインユニット11は、PLC10A~10Cの内部で保持している、ユニットの構成情報を修正して動作を実行する。すなわち、エラー選択パラメータでエラーを検出しないことが選択されている時に、機種の比較結果が不一致である場合、メインユニット11は、PLC10A~10Cの内部で保持している、ユニットの構成情報を修正し、存在している実機を用いて動作を実行する。これにより、実施の形態1,2で説明した通り、メインユニット11は、予定していなかったシステム構成の変更が発生しても制御プログラム60の変更なしで動作を継続させることが可能となる。
 一方、エラー選択パラメータでエラーを検出することが選択される場合がある。この場合、メインユニット11は、制御プログラム60の作成者がシステム構成設定50において定義した制御プログラム60の接続構成と実機の接続構成とが一致していないことをユーザにエラーとして通知する。なお、このエラーを解消するには、ユーザは、システム構成設定50を含む制御プログラム60を、エンジニアリングツール5で読み出して、元の制御プログラム60を復元した上で、システム構成設定50を修正する必要がある。
 このように、実施の形態4では、メインユニット11が、エラーを発生させる第1のモードまたはエラーを発生させない第2のモードを選択可能な選択パラメータ(エラー選択パラメータ)を有している。そして、メインユニット11は、第1のモードが選択されている時は、システム構成設定50で定義された拡張ユニットの接続構成と、実機上の拡張ユニットの接続構成とが一致している場合は正常動作を実行し、不一致の場合は動作を実行せず、エラーを発生させる。また、メインユニット11は、第2のモードが選択されている時は、システム構成設定50で定義された拡張ユニットの接続構成と、実機上の拡張ユニットの接続構成とが一致している場合は正常動作を実行し、不一致の場合であってもエラーを検出することなく動作を実行する。なお、実施の形態4では、メインユニット11が、第1のモードが選択されている時に不一致の場合は動作を実行せず、エラーを発生させる場合について説明したが、メインユニット11は、第1のモードが選択されている時に不一致の場合、エラーは通知するが、動作は実行するようにしてもよい。この場合、ユーザは、エラーの発生を承知しつつ、動作を実行させてもよいし、エラーが解消されるように、システム構成設定50を修正してから動作を実行させてもよい。
 メインユニット11が、メインユニット11に搭載している発光ダイオード(LED、Light-Emitting Diode)などの照明装置(図示せず)を点灯させてエラーを通知してもよいし、エンジニアリングツール5が表示装置にエラーを表示させてもよい。なお、これらのエラー通知方法は一例であり、これら以外の方法でエラーが通知されてもよい。
 このように、実施の形態4によれば、エラー選択パラメータでエラーを検出しないことが選択されている場合、システム構成設定50と実機構成54とが一致していなくても、メインユニット11は、制御プログラム60の変更なしで動作を継続させることが可能となる。
 また、エラー選択パラメータでエラーを検出することが選択されている場合、システム構成設定50と実機構成54とが一致していなければ、エンジニアリングツール5またはメインユニット11は、ユーザにエラーを通知できる。
 ここで、メインユニット11のハードウェア構成について説明する。図13は、実施の形態1~4にかかるメインユニットが備える制御回路を実現するハードウェア構成例を示す図である。メインユニット11は、入力装置300、プロセッサ100、メモリ200、および出力装置400により実現することができる。プロセッサ100の例は、CPU(Central Processing Unit、中央処理装置、処理装置、演算装置、マイクロプロセッサ、マイクロコンピュータ、DSP(Digital Signal Processor)ともいう)またはシステムLSI(Large Scale Integration)である。メモリ200の例は、RAM(Random Access Memory)、ROM(Read Only Memory)である。
 メインユニット11は、プロセッサ100が、メモリ200で記憶されているメインユニット11の動作を実行するための、コンピュータで実行可能な処理プログラム70を読み出して実行することにより実現される。メインユニット11の動作を実行するための処理プログラム70は、メインユニット11の手順または方法をコンピュータに実行させるものであるともいえる。
 メインユニット11で実行される処理プログラム70は、モジュール構成となっており、各モジュールが主記憶装置上にロードされ、各モジュールが主記憶装置上に生成される。メインユニット11で実行される処理プログラム70には、起動処理の際に制御プログラム60を解析する解析プログラムなどが含まれている。
 入力装置300は、エンジニアリングツール5を格納するコンピュータから種々の指示を受付けてプロセッサ100に送る。また、入力装置300は、エンジニアリングツール5を格納するコンピュータからシステム構成設定50および制御プログラム60を受付けてメモリ200に送る。また、入力装置300は、入力ユニット12、アナログ入力ユニット14、通信ユニット15、ネットワーク通信ユニット16などから種々のデータを受付けてプロセッサ100に送る。
 メモリ200は、システム構成設定50、制御プログラム60などを記憶する。システム構成設定50および制御プログラム60は、プロセッサ100によってメモリ200から読み出される。また、メモリ200は、プロセッサ100が各種処理を実行する際の一時メモリに使用される。出力装置400は、出力ユニット13、通信ユニット15、ネットワーク通信ユニット16などに種々のデータを送る。
 処理プログラム70および制御プログラム60の少なくとも一方は、インストール可能な形式または実行可能な形式のファイルで、コンピュータが読み取り可能な記憶媒体に記憶されてコンピュータプログラムプロダクトとして提供されてもよい。また、処理プログラム70および制御プログラム60は、インターネットなどのネットワーク経由でメインユニット11に提供されてもよい。なお、メインユニット11の機能について、一部を専用回路などの専用のハードウェアで実現し、一部をソフトウェアまたはファームウェアで実現するようにしてもよい。
 以上の実施の形態に示した構成は、一例を示すものであり、別の公知の技術と組み合わせることも可能であるし、実施の形態同士を組み合わせることも可能であるし、要旨を逸脱しない範囲で、構成の一部を省略、変更することも可能である。
 1~3 製造装置、5 エンジニアリングツール、6 生産状況モニタ用ツール、10A~10C PLC、11 メインユニット、12 入力ユニット、13 出力ユニット、14 アナログ入力ユニット、15 通信ユニット、16 ネットワーク通信ユニット、21 他機器、31,32 センサ、41 アクチュエータ、50 システム構成設定、51 拡張ユニット接続構成、52 割り当てユニット番号、54 実機構成、55 システム構成設定モニタ画面、56 制御プログラムモニタ画面、57 システム構成設定モニタ画面、60 制御プログラム、61,62 命令、70 処理プログラム、100 プロセッサ、101~103 製造システム、200 メモリ、300 入力装置、400 出力装置。

Claims (7)

  1.  製造装置を制御する制御プログラムを実行するメインユニットと、
     前記メインユニットに接続可能で前記製造装置への機能拡張のための複数の拡張ユニットと、
     を備え、
     前記制御プログラムには、前記メインユニットに対する前記拡張ユニットの接続構成を定義したシステム構成設定と、前記拡張ユニットに対して信号の入出力を指令するための命令とが含まれており、
     前記システム構成設定には、前記メインユニットに対する前記拡張ユニットの接続位置を識別するためのユニット番号が含まれており、
     前記命令には、前記拡張ユニットの何れに対して前記信号の入出力の指令を行うかを決定するための前記ユニット番号が設定されるパラメータである番号設定パラメータが含まれており、
     前記メインユニットは、起動時に、前記システム構成設定で定義された前記拡張ユニットの接続構成と、実機上の前記拡張ユニットの接続構成とを比較し、前記システム構成設定では存在し且つ前記実機では存在しない拡張ユニットのユニット番号を欠番に設定するとともに、前記欠番に設定したユニット番号が設定された命令を無効にする、
     ことを特徴とするプログラマブルコントローラ。
  2.  前記メインユニットは、起動時に、前記システム構成設定で定義された前記拡張ユニットの接続構成と、前記実機上の前記拡張ユニットの接続構成とを、前記メインユニットから見て前段側の接続位置の前記拡張ユニットから順番に比較する、
     ことを特徴とする請求項1に記載のプログラマブルコントローラ。
  3.  前記メインユニットは、前記制御プログラムに含まれる前記システム構成設定では設定されておらず、且つ前記実機上では接続されている拡張ユニットに対して前記ユニット番号を割り当てた上で、前記制御プログラムを実行する、
     ことを特徴とする請求項2に記載のプログラマブルコントローラ。
  4.  前記メインユニットは、
     第1のモードまたは第2のモードが選択可能な選択パラメータを有し、
     前記第1のモードが選択されているときは、前記システム構成設定で定義された前記拡張ユニットの接続構成と、前記実機上の前記拡張ユニットの接続構成とが不一致の場合は、エラーを通知し、
     前記第2のモードが選択されているときは、前記システム構成設定で定義された前記拡張ユニットの接続構成と、前記実機上の前記拡張ユニットの接続構成とが不一致の場合においても、前記エラーを通知しない、
     ことを特徴とする請求項1または2に記載のプログラマブルコントローラ。
  5.  前記メインユニットは、
     第1のモードまたは第2のモードが選択可能な選択パラメータを有し、
     前記第1のモードが選択されているときは、前記システム構成設定で定義された前記拡張ユニットの接続構成と、前記実機上の前記拡張ユニットの接続構成とが一致している場合は前記制御プログラムを実行し、不一致の場合は前記制御プログラムを実行せず、
     前記第2のモードが選択されているときは、前記システム構成設定で定義された前記拡張ユニットの接続構成と、前記実機上の前記拡張ユニットの接続構成とが一致している場合および、不一致の場合の何れの場合においても前記制御プログラムを実行する、
     ことを特徴とする請求項1または2に記載のプログラマブルコントローラ。
  6.  プログラマブルコントローラと、
     前記プログラマブルコントローラへの設定を行うエンジニアリングツールを実行するコンピュータと、
     を有し、
     前記プログラマブルコントローラは、
     製造装置を制御する制御プログラムを実行するメインユニットと、
     前記メインユニットに接続可能で前記製造装置への機能拡張のための複数の拡張ユニットと、
     を備え、
     前記制御プログラムには、前記メインユニットに対する前記拡張ユニットの接続構成を定義したシステム構成設定と、前記拡張ユニットに対して信号の入出力を指令するための命令とが含まれており、
     前記システム構成設定には、前記メインユニットに対する前記拡張ユニットの接続位置を識別するためのユニット番号が含まれており、
     前記命令には、前記拡張ユニットの何れに対して前記信号の入出力の指令を行うかを決定するための前記ユニット番号が設定されるパラメータである番号設定パラメータが含まれており、
     前記メインユニットは、起動時に、前記システム構成設定で定義された前記拡張ユニットの接続構成と、実機上の前記拡張ユニットの接続構成とを比較し、前記システム構成設定では存在し且つ前記実機では存在しない拡張ユニットのユニット番号を欠番に設定するとともに、前記欠番に設定したユニット番号が設定された命令を無効にし、
     前記エンジニアリングツールは、
     前記欠番に設定したユニット番号と、無効に設定された命令とを表示装置に表示させる、
     ことを特徴とする製造システム。
  7.  前記メインユニットは、前記システム構成設定では設定されておらず、且つ前記実機上では接続されている拡張ユニットに対して前記ユニット番号を割り当て、
     前記エンジニアリングツールは、前記ユニット番号が割り当てられた拡張ユニットに対して前記メインユニットが指令可能な状態であることを、前記表示装置に表示させる、
     ことを特徴とする請求項6に記載の製造システム。
PCT/JP2022/039994 2022-10-26 2022-10-26 プログラマブルコントローラおよび製造システム WO2024089821A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/JP2022/039994 WO2024089821A1 (ja) 2022-10-26 2022-10-26 プログラマブルコントローラおよび製造システム
JP2023520253A JP7374380B1 (ja) 2022-10-26 2022-10-26 プログラマブルコントローラおよび製造システム

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2022/039994 WO2024089821A1 (ja) 2022-10-26 2022-10-26 プログラマブルコントローラおよび製造システム

Publications (1)

Publication Number Publication Date
WO2024089821A1 true WO2024089821A1 (ja) 2024-05-02

Family

ID=88645830

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2022/039994 WO2024089821A1 (ja) 2022-10-26 2022-10-26 プログラマブルコントローラおよび製造システム

Country Status (2)

Country Link
JP (1) JP7374380B1 (ja)
WO (1) WO2024089821A1 (ja)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014048809A (ja) * 2012-08-30 2014-03-17 Mitsubishi Electric Corp Plcユニット及びplcシステム
JP2014052672A (ja) * 2012-09-04 2014-03-20 Keyence Corp プログラマブルコントローラ、プログラム作成支援装置、プログラム及び基本ユニット

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016110221A (ja) 2014-12-02 2016-06-20 株式会社キーエンス プログラマブル・ロジック・コントローラ、基本ユニット、制御方法および制御プログラム
JP7234712B2 (ja) 2019-03-14 2023-03-08 日本製鉄株式会社 粉体塊成物および粉体塊成物の製造方法

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014048809A (ja) * 2012-08-30 2014-03-17 Mitsubishi Electric Corp Plcユニット及びplcシステム
JP2014052672A (ja) * 2012-09-04 2014-03-20 Keyence Corp プログラマブルコントローラ、プログラム作成支援装置、プログラム及び基本ユニット

Also Published As

Publication number Publication date
JP7374380B1 (ja) 2023-11-06

Similar Documents

Publication Publication Date Title
JP6567444B2 (ja) プロセス工場の制御システムに対して制御冗長性を提供するための方法、及び置換装置
US7389150B2 (en) Display system for controller
KR940002324B1 (ko) 프로그래머블 콘트롤러
KR100932057B1 (ko) 피엘씨
JP2002268707A (ja) コントローラ及びツール並びにそれらにより構成されるシステム
JP6481267B2 (ja) プログラマブル表示器
US7536590B2 (en) Programmable controller, programmable controller system, CPU unit and method of starting duplexed operation
JP5041290B2 (ja) プログラマブルコントローラおよびその異常時復旧方法
WO2024089821A1 (ja) プログラマブルコントローラおよび製造システム
JP4842541B2 (ja) 制御用表示装置、画面データ生成装置、並びに、それらのプログラムおよび記録媒体
JP2018152032A (ja) 情報処理装置、情報処理方法、および、情報処理プログラム
JP3957970B2 (ja) 制御用表示装置、および、そのプログラムが記録された記録媒体
JP2007039206A (ja) エレベーター制御システム
JP6051545B2 (ja) Plcシステム、状態表示方法、plc、およびプログラマブル表示器
JP7023776B2 (ja) 二重化制御システム
JP3896877B2 (ja) データサーバ
JP3662822B2 (ja) プラント制御システム
JP2005092695A (ja) 二重化コントローラ、その等値化モード決定方法
JPH07306710A (ja) 監視制御装置及び監視制御システム
US20230055189A1 (en) Support device, non-transitory storage medium storing support program thereon, and control system
JP4509991B2 (ja) プログラマブル表示器、プログラムおよびそれを記録した記録媒体
JP6823027B2 (ja) 数値制御装置
JPH11184509A (ja) 制御システムおよび制御方法
CN116438490A (zh) 控制装置
JP2522117B2 (ja) エレベ―タの制御装置

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: 22963470

Country of ref document: EP

Kind code of ref document: A1