WO2020054023A1 - 設定支援装置、設定支援方法及びプログラム - Google Patents

設定支援装置、設定支援方法及びプログラム Download PDF

Info

Publication number
WO2020054023A1
WO2020054023A1 PCT/JP2018/033998 JP2018033998W WO2020054023A1 WO 2020054023 A1 WO2020054023 A1 WO 2020054023A1 JP 2018033998 W JP2018033998 W JP 2018033998W WO 2020054023 A1 WO2020054023 A1 WO 2020054023A1
Authority
WO
WIPO (PCT)
Prior art keywords
input
unit
output
output device
specification data
Prior art date
Application number
PCT/JP2018/033998
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/265,209 priority Critical patent/US20210303495A1/en
Priority to JP2019508987A priority patent/JP6541919B1/ja
Priority to CN201880097303.6A priority patent/CN112654937B/zh
Priority to PCT/JP2018/033998 priority patent/WO2020054023A1/ja
Priority to TW108113535A priority patent/TWI685730B/zh
Publication of WO2020054023A1 publication Critical patent/WO2020054023A1/ja

Links

Images

Classifications

    • 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/36Handling requests for interconnection or transfer for access to common bus or bus system
    • G06F13/362Handling requests for interconnection or transfer for access to common bus or bus system with centralised access control
    • 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

Definitions

  • the present invention relates to a setting support device, a setting support method, and a program.
  • Patent Document 1 discloses a setting file generation support device that generates a setting file indicating a connection setting between an input / output unit and an input / output device. According to the setting file generation support device, it is possible to generate a setting file that satisfies the requirements for the number of devices. With the setting file generation support device, the trouble of manually checking the requirements for the number of devices is reduced, so that the connection setting between the input / output unit and the input / output device can be supported.
  • the setting file generation support device of Patent Document 1 generates a setting file without determining electrical specifications such as voltage and current. Therefore, it is necessary to manually check the electrical specifications of the input / output units and the input / output devices to determine whether the connection settings indicated by the generated configuration file satisfy the requirements for the electrical specifications. Therefore, the setting file generation support device of Patent Literature 1 cannot sufficiently support the connection setting between the input / output unit and the input / output device.
  • an object of the present invention is to provide a setting support device or the like that can appropriately support connection setting between an input / output unit of a programmable controller and an input / output device.
  • a setting support device includes: An input / output unit of a programmable logic controller, and a setting support device that supports connection setting between an input / output device connected to the input / output unit, Input means for receiving a user operation for selecting the input / output unit and the input / output device to be connected, and First electrical specification data indicating the electrical specification of the input / output unit selected by the user by the input means; and second electrical specification data indicating the electrical specification of the input / output device selected by the user by the input means.
  • Specification data acquisition means for acquiring the electrical specification data of item 2; Whether or not the input / output device can be connected to the input / output unit based on whether or not the specification indicated by the first electric specification data and the specification indicated by the second electric specification data match; Determining means for determining; Is provided.
  • the connection setting between the input / output unit and the input / output device can be favorably supported.
  • FIG. 2 is a diagram showing a functional configuration of a setting support device according to Embodiment 1 of the present invention.
  • FIG. 4 is a diagram showing an example of a screen displayed by the setting support device according to the first embodiment of the present invention. The figure which shows an example of the input / output unit table stored in the memory
  • FIG. 4 is a diagram showing an example of an input / output device table stored in a storage unit of the setting support device according to Embodiment 1 of the present invention.
  • FIG. 2 is a diagram illustrating an example of a hardware configuration of a setting support device according to Embodiment 1 of the present invention.
  • 9 is a flowchart illustrating an example of a connection determination operation performed by the setting support device according to the first embodiment of the present invention.
  • 9 is a flowchart showing an example of an operation of determining whether or not the electrical specification is compatible by the determination unit of the setting support device according to the first embodiment of the present invention.
  • the figure which shows an example of the relationship between the ambient temperature of an input unit, an input voltage, and the number of usable points The figure which shows an example of the screen displayed by the setting support apparatus which concerns on Embodiment 2 of this invention.
  • FIG. 9 is a flowchart illustrating an example of a connection determination operation performed by the setting support device according to the second embodiment of the present invention.
  • FIG. 9 is a diagram showing a functional configuration of a setting support device according to Embodiment 3 of the present invention.
  • Ladder diagram showing an example of a program executed by the programmable logic controller
  • FIG. 9 is a flowchart showing an example of the operation of determining the suitability of the operation speed by the setting support device according to the third embodiment of the present invention.
  • 11 is a flowchart showing an example of an operation of determining whether or not the operation speed specification is compatible by the determination unit of the setting support device according to the third embodiment of the present invention.
  • 11 is a flowchart illustrating an example of a data update operation performed by a data server communicating with the setting support device according to Embodiment 4 of the present invention.
  • the setting support apparatus 10 includes a control unit 100 that controls each functional unit, an input unit 110 that receives a user's input operation, a storage unit 120 that stores data, and a display unit 130 that performs screen display.
  • the setting support device 10 is an example of the setting support device according to the present invention.
  • the setting support apparatus 10 is configured to connect an input / output unit of a programmable logic controller (PLC) to an input / output device connected to the input / output unit, and to set electrical specifications and input / output of the input / output unit.
  • PLC programmable logic controller
  • the connection setting refers to setting which input / output device is connected to which input / output unit.
  • the electrical specifications refer to electrical connection specifications, such as a rated input voltage and a maximum output current, to be considered when connecting the input / output unit to the input / output device.
  • the electrical specifications of the I / O unit are compared with the electrical specifications of the I / O device, and if it can be said that connecting the I / O unit and the I / O device does not cause an electrical problem, It can be said that the electrical specifications conform to the electrical specifications of the input / output devices.
  • the input / output unit includes both the input unit and the output unit, and the input / output device includes both the input device and the output device.
  • the input unit is a unit that receives a signal output from the output device.
  • the output unit is a unit that outputs a signal and supplies the signal to an input device.
  • the output device is a device that outputs a signal and supplies the signal to the input unit.
  • the input device is a device that receives a signal output from the output unit and supplies a signal to a circuit in the device.
  • the output device is, for example, a sensor, and the input device is, for example, a motor.
  • the input unit and the output unit are examples of the input / output unit according to the present invention.
  • the input device and the output device are examples of the input / output device according to the present invention.
  • the setting support apparatus 10 is realized by, for example, a computer such as a personal computer and a smartphone executing a program of an engineering tool installed in the computer.
  • the engineering tool mentioned here is a tool for setting the configuration of the PLC unit and the input / output device on a computer.
  • the connection setting between the input / output unit and the input / output device can be made on the engineering tool.
  • FIG. 2 An example of a screen displayed by the display unit 130 of the setting support device 10 will be described with reference to FIG.
  • the screen shown in FIG. 2 is a GUI (Graphic User Interface) of the setting support device 10.
  • the user can operate the setting support device 10 on the GUI by inputting to the input unit 110.
  • the screen shown in FIG. 2 includes a configuration display area C1 and a data display area C2.
  • the configuration display area C1 is an area for displaying the configurations of the PLC units and the input / output devices.
  • the user can set the configuration of the PLC unit and the input / output devices by operating the configuration display area C1.
  • the user can perform connection setting between the input / output unit and the input / output device by performing an operation of connecting the input / output unit and the input / output device on the screen. This operation corresponds to an operation of selecting an input / output unit and an input / output device to be connected.
  • a PLC is configured by units such as a power supply unit, a CPU (Central Processing Unit) unit, and an input unit U1, and an output device D1 and an output device D2 are connected to the input unit U1.
  • units such as a power supply unit, a CPU (Central Processing Unit) unit, and an input unit U1, and an output device D1 and an output device D2 are connected to the input unit U1.
  • I have.
  • an error mark M1 is displayed near the icon indicating the output device D1. The display of the error mark M1 indicates that the output device D1 cannot be connected to the input unit U1.
  • the data display area C2 displays the rated input voltage and rated input current of the input / output unit, the rated output voltage and maximum output current of the input / output device, information indicating whether the input / output device can be connected, and the like.
  • the example illustrated in FIG. 2 indicates that the output device D1 cannot be connected to the input unit U1 due to a voltage mismatch. Further, the error mark M1 displayed on the area where the information on the output device D1 is displayed also indicates that the output device D1 cannot be connected to the input unit U1.
  • the input unit U1 is an input / output unit, and each output device is an input / output device.
  • an output unit may be included in the configuration of the PLC, and a configuration in which an input device is connected to the output unit may be set.
  • the output unit is an input / output unit
  • the input device is an input / output device.
  • the input unit 110 receives an input operation from a user.
  • the input unit 110 accepts a user's operation for selecting an input / output unit and an input / output device to be connected.
  • the input unit 110 outputs input information indicating a user input to the control unit 100.
  • the function of the input unit 110 is realized by an input device such as a keyboard, a mouse, and a touch panel integrated with the display unit 130.
  • the input unit 110 is an example of an input unit according to the present invention.
  • the display unit 130 displays, for example, the screen illustrated in FIG. 2 based on the control of the control unit 100.
  • the display unit 130 displays a determination result as to whether the input / output device can be connected to the input / output unit, and notifies the user of the determination result.
  • the display unit 130 is realized by a display device such as a liquid crystal display and an organic EL (ElectroLuminescence) display.
  • the control unit 100 includes a specification data acquisition unit 101 that acquires data relating to the specifications of the input / output unit and the input / output device from the storage unit 120, a determination unit 102 that determines whether the input / output device can be connected to the input / output unit, , Is provided.
  • the control unit 100 selects an input / output unit and an input / output device for connection setting based on the input information obtained from the input unit 110. For example, when the user performs an operation of connecting the input unit U1 and the output device D1 on the configuration display area C1 shown in FIG. 2, the control unit 100 determines that the input unit is an input / output unit as a connection setting target.
  • the unit U1 is selected, and the output device D1 is selected as an input / output device for which connection setting is to be performed.
  • the specification data acquisition unit 101 of the control unit 100 acquires, from the input / output unit table stored in the storage unit 120, first electrical specification data indicating the electrical specifications of the input / output unit to be connected.
  • the specification data obtaining unit 101 obtains, from the input / output device table stored in the storage unit 120, second electrical specification data indicating the electrical specifications of the input / output device to be connected. Details of the input / output unit table, the input / output device table, and the electrical specifications will be described later.
  • the specification data obtaining unit 101 is an example of a specification data obtaining unit according to the present invention.
  • the first electrical specification data includes first voltage specification data indicating a connection specification regarding the voltage of the input / output unit and first current specification data indicating a connection specification regarding the current of the input / output unit.
  • the second electrical specification data includes second voltage specification data indicating a connection specification relating to the voltage of the input / output device, and second current specification data indicating a connection specification relating to the current of the input / output device. Details of the connection specifications for the voltage and the connection specifications for the current will be described later.
  • the determination unit 102 of the control unit 100 determines whether or not the specification indicated by the first electrical specification data acquired by the specification data acquisition unit 101 and the specification indicated by the second electrical specification data conform to each other. It is determined whether the output device can be connected to the input / output unit. More specifically, the determination unit 102 determines whether the voltage specification indicated by the first voltage specification data matches the voltage specification indicated by the second voltage specification data, and determines whether the first current specification data is It is determined whether or not the indicated current specification matches the current specification indicated by the second current specification data, and whether or not the input / output device can be connected to the input / output unit is determined based on the determination result. Details of the determination will be described later.
  • the determination unit 102 is an example of a determination unit according to the present invention.
  • the control unit 100 causes the display unit 130 to display the result of the determination by the determination unit 102, and notifies the user of the result of the determination. For example, as illustrated in FIG. 2, the control unit 100 determines that the input / output device is not connectable by displaying an error mark M1 near an icon indicating the input / output device determined to be not connectable. Notify the user that this has been done. Further, as shown in FIG. 2, the control unit 100 causes the display unit 130 to display the input / output devices and the electrical specifications of the input / output devices.
  • the storage unit 120 stores the input / output unit table and the input / output device table.
  • the input / output unit table stores unit names, types, and electrical specifications in association with each other.
  • the input / output device table stores a device name, a type, and an electrical specification in association with each other.
  • the type indicates whether the input / output unit is an input unit or an output unit, or whether the input / output device is an input device or an output device.
  • the type is “input”.
  • the type is “output”.
  • the electrical specifications refer to electrical connection specifications, such as a rated input voltage and a maximum output current, to be considered when connecting the input / output unit to the input / output device.
  • the electrical specification includes a voltage specification and a current specification.
  • the voltage specification is a connection specification relating to voltage. When the type is "input”, the voltage specification is the rated input voltage. When the type is “output”, the voltage specification is the rated output voltage.
  • the current specification is a connection specification relating to the current. When the type is "input”, the current specification is the rated input current. When the type is "output”, the current specification is the maximum output current.
  • the above-mentioned specification data obtaining unit 101 obtains data representing electrical specifications indicated in the input / output unit table as first electrical specification data.
  • the specification data acquisition unit 101 acquires data representing a voltage specification as first voltage specification data, and acquires data representing a current specification as first current specification data.
  • the specification data obtaining unit 101 obtains, as the second electrical specification data, data representing the electrical specification indicated in the input / output device table.
  • the specification data obtaining unit 101 obtains, in particular, data representing a voltage specification as second voltage specification data, and obtains data representing a current specification as second current specification data.
  • the setting support device 10 illustrated in FIG. 5 is realized by a computer such as a personal computer and a smartphone.
  • the setting support apparatus 10 includes a processor 1001, a memory 1002, an interface 1003, and a secondary storage device 1004, which are connected to each other via a bus 1000.
  • the processor 1001 is, for example, a CPU. Each function of the setting support device 10 is realized by the processor 1001 reading the control program stored in the secondary storage device 1004 into the memory 1002 and executing it.
  • the control program is, for example, a program of the aforementioned engineering tool.
  • the memory 1002 is, for example, a main storage device configured with a RAM (Random Access Memory).
  • the memory 1002 stores a dedicated program read by the processor 1001 from the secondary storage device 1004.
  • the memory 1002 functions as a work memory when the processor 1001 executes the dedicated program.
  • the interface 1003 is an I / O (Input / Output) port such as a serial port or a USB (Universal Serial Bus) port.
  • the functions of the input unit 110 are realized by input devices such as a keyboard, a mouse, and a touch panel connected to the interface 1003.
  • the functions of the display unit 130 are realized by a display device such as a liquid crystal display or an organic EL display connected to the interface 1003.
  • the secondary storage device 1004 is, for example, a flash memory, an HDD (Hard Disk Drive), or an SSD (Solid State Drive).
  • the secondary storage device 1004 stores a dedicated program executed by the processor 1001.
  • the function of the storage unit 120 is realized by the secondary storage device 1004.
  • setting support apparatuses 10A to 10C according to Embodiment 2-4 to be described later can also be realized by a similar hardware configuration.
  • Connection determination refers to determining whether or not an input / output unit and an input / output device can be connected.
  • the operation shown in FIG. 6 is executed, for example, when the user sets connection between the input / output unit and each input / output device and then performs an operation to instruct connection execution. Alternatively, the process may be automatically executed when the user sets the connection between the input / output unit and the input / output device. Further, in the operation shown in FIG. 6, one input / output unit is subjected to connection determination. However, when connection determination is performed for a plurality of input / output units, each input / output unit is shown in FIG. The operation to be performed may be performed.
  • the specification data acquisition unit 101 of the control unit 100 acquires the electrical specification data of the input / output unit and the input / output device to be connected (step S11). More specifically, the specification data obtaining unit 101 obtains first electrical specification data indicating an electrical specification of the input / output unit and second electrical specification data indicating an electrical specification of the input / output device. I do. When there are a plurality of input / output devices to be connected, the specification data obtaining unit 101 obtains electrical specification data of all the input / output devices.
  • the first electrical specification data includes the first voltage specification data and the first current specification data
  • the second electrical specification data includes the second voltage specification data and the second current specification. Including data.
  • the specification data obtaining unit 101 obtains the electrical specification data of the input unit U1, the electrical specification data of the output device D1, and the electrical specification data of the output device D2. Further, in response to the acquisition of the electrical specification data by the specification data acquisition unit 101, the control unit 100 displays the electrical specifications indicated by the electrical specification data on a screen.
  • the control unit 100 repeatedly performs the operations from step S12 to step S17 for each input / output device to be set for connection. That is, an operation of selecting one input / output device and executing the operations from step S12 to step S17 is executed for all the input / output devices.
  • control unit 100 executes the operations from step S12 to step S17 for the output device D1 and the output device D2.
  • the determination unit 102 of the control unit 100 determines whether the electrical specifications of the input / output unit and the electrical specifications of the selected input / output device are compatible (step S13). The details of the determination of conformity with the electrical specifications will be described later.
  • the determination unit 102 determines that the electrical specifications of the input unit U1 and the electrical specifications of the output device D1 do not match, and determines the electrical specifications of the input unit U1 and the output device D2. Is determined to conform to the electrical specifications of
  • step S14 determines that the electrical specifications are compatible
  • step S15 determines that the electrical specifications do not conform
  • Step S16 determines that the selected input / output device cannot be connected to the input / output unit
  • the determination unit 102 determines that the output device D1 cannot be connected to the input unit U1, and determines that the output device D2 can be connected to the input unit U1. Further, in response to the determination by the determination unit 102 as to whether or not connection is possible, the control unit 100 displays on the screen that the output device D1 is not connectable and the output device D2 is connectable. The control unit 100 also displays on the screen that the cause of the determination that the output device D1 is not connectable is that the voltage specification is incompatible.
  • step S12 to step S17 When the operations from step S12 to step S17 are performed on all input / output devices, the control unit 100 ends the operation of the connection determination.
  • the determination unit 102 compares the first voltage specification data included in the first electrical specification data with the second voltage specification data included in the second electrical specification data, and compares the rated input voltage with the rated input voltage. It is determined whether or not the output voltage matches (step S131).
  • the input / output unit is an input unit and the input / output device is an output device will be described more specifically.
  • the first voltage specification indicates the rated input voltage of the input unit
  • the second voltage specification indicates the rated output voltage of the output device.
  • the determination unit 102 determines whether the rated input voltage and the rated output voltage are compatible.
  • the determination unit 102 determines that the rated input voltage and the rated output voltage do not match when the rated input voltage is AC and the rated output voltage is DC. Similarly, when the rated input voltage is DC and the rated output voltage is AC, the determination unit 102 determines that the rated input voltage and the rated output voltage do not match.
  • the determination unit 102 determines that the rated input voltage and the rated output voltage do not match.
  • the determination unit 102 determines that the rated input voltage and the rated output voltage do not match when the voltage value indicated by the rated output voltage does not match the voltage value indicated by the rated input voltage.
  • the “voltage value” here may be indicated by a single value, or may be indicated by a range of a set of a lower limit and an upper limit. For example, when the voltage value indicated by the rated input voltage is 100 to 120 V and the voltage value indicated by the rated output voltage is 110 V (that is, the voltage value 110 V indicated by the rated output voltage is the rated input voltage Are not determined to be non-conforming.
  • the determination unit 102 determines that the rated input voltage and the rated output voltage are compatible.
  • step S131 When determining that the rated input voltage and the rated output voltage are not compatible (step S131: No), the determination unit 102 determines that the electrical specifications of the input / output unit and the input / output device are not compatible (step S131). S132), the operation of determining the conformity of the electrical specification ends.
  • the determination unit 102 determines whether the first current specification data and the second electric specification data included in the first electric specification data are included. It is compared with the second current specification data included in the statistical specification data to determine whether or not the maximum output current is equal to or less than the rated input current (step S133).
  • the input / output unit is an input unit and the input / output device is an output device will be described as an example.
  • the first current specification indicates the rated input current of the input unit
  • the second current specification indicates the maximum output current of the output device.
  • the determination unit 102 determines whether the maximum output current is equal to or less than the rated input current.
  • step S133 When determining that the maximum output current is not lower than the rated input current (step S133: No), the determination unit 102 determines that the electrical specifications of the input / output unit and the input / output device are not compatible (step S132). The operation of determining the conformity of the electrical specification ends.
  • step S133 When it is determined that the maximum output current is equal to or less than the rated input current (step S133: Yes), the determination unit 102 determines that the electrical specifications of the input / output unit and the input / output device conform to each other (step S134). Then, the operation of determining the conformity of the electrical specifications is completed.
  • the configuration support device 10 according to the first embodiment has been described above. According to the setting support device 10, it is determined whether or not the input / output device can be connected to the input / output unit based on the electrical specification data. Therefore, according to the setting support apparatus 10, the connection setting between the input / output unit and the input / output device can be suitably supported.
  • the setting support device 10A includes a control unit 100A instead of the control unit 100, and a storage unit 120A instead of the storage unit 120.
  • the setting support device 10A further performs a connection determination based on electrical specifications associated with the installation environment of the input / output unit.
  • the installation environment of the input / output unit is an environment when the PLC is actually operated and the input / output unit is installed.
  • the setting support device 10A makes a connection determination based on specifications indicating the relationship between the ambient temperature of the input unit, the input voltage, and the number of usable points.
  • the number of usable points is defined for the input / output unit.
  • the number of points used is defined for the input / output devices.
  • the total number of used points of the I / O unit must not exceed the usable number of I / O units.
  • the number of usable points of the input / output unit is 16
  • up to 16 input / output devices having the number of use points of 1 can be connected to the input / output unit.
  • three input / output devices having 5 usable points and one input / output device having 1 usable point can be connected to the input / output unit.
  • the number of used input / output devices is 1 unless otherwise specified.
  • the graph shown in FIG. 9 is described in, for example, the specification of the input unit.
  • the number of usable points decreases as the ambient temperature increases. Further, the number of usable points decreases as the input voltage increases. For example, according to FIG. 9, when the input voltage is 120 V and the ambient temperature is 45 ° C., the usable points are 16. When the input voltage is 132 V and the ambient temperature is 55 ° C., the number of usable points is 10. Since the number of usable points varies according to the input voltage, it can be said that the specification regarding the relationship between the ambient temperature, the input voltage and the number of usable points is an electrical specification.
  • the input / output unit is an input unit, and is not defined when the input / output unit is an output unit. Therefore, in the description of the second embodiment, the input / output unit is an input unit and the input / output device is an output device unless otherwise specified.
  • the upper limit of the rated input voltage of the input unit is 120V.
  • the case where the input voltage is 132 V is shown even though the upper limit value of the rated input voltage is 120 V, because the input unit can generally operate at an input voltage that is about 10% higher than the rated input voltage. It is. Therefore, the maker of the input unit often discloses the specification at 132 V which is the “limit value”. Further, in the example shown in FIG. 9, it is not assumed that the ambient temperature of the input unit becomes higher than 55 ° C., and it can be said that the “limit value” of the ambient temperature is 55 ° C.
  • the setting support device 10A determines the connection between the input unit and the output device based on the relationship between the ambient temperature, the input voltage, and the number of usable points shown in FIG.
  • the screen shown in FIG. 10 includes a configuration display area C1 and a data display area C2A.
  • the configuration display area C1 is an area for displaying the configuration of each unit of the PLC and the input / output devices, as in the first embodiment.
  • the total score is displayed on the icon indicating the input unit.
  • the total number of points is the total number of used points of the input / output devices connected to the input unit.
  • the setting information displayed in the data display area C2A is information indicating the ambient temperature and the input voltage of the input unit, which are assumed when the PLC is actually operated.
  • the ambient temperature and the input voltage are set by a user's input operation. For example, by setting the input voltage to 132 V, the setting support device 10A can make a connection determination assuming that the operation is performed at the “limit value”.
  • the usable points of the input unit displayed in the data display area C2A are the usable points at the ambient temperature and the input voltage indicated by the setting information.
  • the number of usable points of the input unit is 14, as shown in FIG.
  • the output device D1 cannot be connected to the input unit U1 due to the voltage mismatch, as in the first embodiment. It has been shown.
  • the setting support device 10A also makes a determination based on the voltage specification and the current specification, similarly to the setting support device 10 according to the first embodiment.
  • the user can switch the display content of the area to the display relating to the voltage specification and the current specification. By switching the display, the details of the voltage mismatch can be confirmed.
  • the example shown in FIG. 10 indicates that the output device D15 and the output device D16 cannot be connected to the input unit U1 due to a point shortage.
  • the control unit 100A includes a specification data acquisition unit 101A, an environment data acquisition unit 103A for acquiring ambient temperature data, an input voltage acquisition unit 104A for acquiring input voltage data, and a determination unit 102A.
  • the control unit 100A stores the ambient temperature data indicating the ambient temperature and the input voltage data indicating the input voltage in the storage unit 120A based on the input information acquired from the input unit 110.
  • the specification data acquiring unit 101A has a function described below in addition to the function of the specification data acquiring unit 101 according to the first embodiment.
  • the specification data obtaining unit 101A uses the available points, which is data indicating the relationship between the ambient temperature, the input voltage, and the available points of the input unit illustrated in FIG. Get the data.
  • the usable point data is included in the input / output unit table stored in the storage unit 120A.
  • Usable point data is included in the first electrical specification data.
  • Usable point data is an example of environmental specification data according to the present invention because it indicates electrical specifications associated with the ambient temperature that is the installation environment.
  • the specification data acquisition unit 101A acquires usage point data indicating the usage points of the input / output devices from the input / output device table stored in the storage unit 120A.
  • the environment data acquisition unit 103A acquires, from the storage unit 120A, ambient temperature data indicating the ambient temperature determined by the setting information. Since the ambient temperature data can be said to be data indicating the installation environment of the input / output unit, it is an example of the environmental data according to the present invention.
  • the environment data acquisition unit 103A is an example of an environment data acquisition unit according to the present invention.
  • the input voltage obtaining unit 104A obtains input voltage data indicating the input voltage determined by the setting information from the storage unit 120A.
  • the input voltage obtaining unit 104A is an example of an input voltage obtaining unit according to the present invention.
  • the determination unit 102A has a function described below in addition to the function of the determination unit 102 according to the first embodiment.
  • the determination unit 102A performs an input based on the available point data acquired by the specification data acquisition unit 101A, the ambient temperature data acquired by the environment data acquisition unit 103A, and the input voltage data acquired by the input voltage acquisition unit 104A. Calculate the usable points of the unit. From the relationship indicated by the usable point data, the usable points at the ambient temperature indicated by the ambient temperature data and the input voltage indicated by the input voltage data can be calculated.
  • the determination unit 102A determines whether or not the output device can be connected to the input unit based on the calculated available points and the available points data acquired by the specification data acquiring unit 101A. Details of the determination will be described later.
  • the storage unit 120A stores the input / output unit table and the input / output device table, similarly to the storage unit 120 according to the first embodiment. However, the data stored in each of the input / output unit table and the input / output device table is different from that in the first embodiment, as described later. Further, storage unit 120A stores the ambient temperature data and the input voltage data.
  • the input / output unit table stored in the storage unit 120A will be described with reference to FIG.
  • the input / output unit table stores usable point data as electrical specifications. In FIG. 11, the description of other electrical specifications is omitted.
  • the usable point data is data indicating the relationship between the ambient temperature of the input unit, the input voltage, and the usable points.
  • the input / output device table stored in the storage unit 120A will be described with reference to FIG. In FIG. 12, the description of the electrical specifications is omitted.
  • the input / output device table stores data indicating the number of used points.
  • connection determination operation performed by the setting support device 10A
  • the setting support device 10A also performs the connection determination operation shown in FIG.
  • connection determination operations may be performed in series or may be performed in parallel.
  • the environment data acquisition unit 103A of the control unit 100A acquires the ambient temperature data, and the input voltage acquisition unit 104A of the control unit 100A acquires the input voltage data (Step S21).
  • the specification data obtaining unit 101A of the control unit 100A obtains usable point data of the input unit to be connected (step S22).
  • the determination unit 102A of the control unit 100A calculates the available points of the input unit based on the ambient temperature data, the input voltage data, and the available points data (step S23).
  • the specification data obtaining unit 101A of the control unit 100A obtains use point data of each output device for which connection setting is to be performed (step S24).
  • the determination unit 102A calculates the total number of use points of the output device based on the obtained use point data, and determines whether the total number of use points is equal to or less than the usable point number calculated in step S23 (step S25). ).
  • step S25 When determining that the total number of used points is equal to or less than the available points (step S25: Yes), the determination unit 102A determines that all output devices can be connected to the input units (step S26). Then, the setting support device 10A ends the connection determination operation.
  • step S25 When it is determined that the total number of usable points is not equal to or less than the available points (step S25: No), the determination unit 102A determines that all output devices connected beyond the available points cannot be connected to the input unit. It is determined that there is (step S27). Then, control unit 100A ends the operation of the connection determination.
  • connection determination by the setting support device 10A has been described.
  • the operation shown in FIG. 13 and the operation shown in FIG. 6 may give different judgment results for the same output device.
  • the determination that connection is impossible is given priority.
  • the output device D1 is determined to be unconnectable in the operation illustrated in FIG. 6, while it is determined that the output device D1 is connectable in the operation illustrated in FIG.
  • connection determination is prioritized, connection not possible is displayed in FIG.
  • the configuration support device 10A according to the second embodiment has been described above. According to the setting support apparatus 10A, it is determined whether or not the input / output device can be connected to the input / output unit based on the environmental data and the environmental specification data. Therefore, according to the setting support device 10A, the connection setting between the input / output unit and the input / output device can be suitably supported.
  • the setting support device 10B includes a control unit 100B instead of the control unit 100, and a storage unit 120B instead of the storage unit 120.
  • the setting support device 10B further determines whether the execution speed of the program matches the operation speed of the input / output device based on the scan time of the program executed by the PLC and the operation speed specification of the input / output device. judge.
  • the matching between the execution speed of the program and the operation speed of the input / output device will be described later.
  • determining whether or not the execution speed of the program and the operation speed of the input / output device are compatible is simply referred to as the operation speed compatibility determination.
  • the fact that the execution speed of the program and the operation speed of the input / output device are compatible or incompatible is described as simply that the operation speed of the input / output device is compatible or incompatible There is.
  • the scan time will be described with reference to FIG.
  • the program shown by the ladder diagram in FIG. 15 starts from the upper left and starts from the left to the right and from the top to the bottom as indicated by the arrows. Then, when reaching the position indicated by END at the lower right, the processing from the upper left is repeated again.
  • the time required to execute the processing from the upper left to the lower right END in the ladder diagram of FIG. 15 is called a scan time. That is, the scan time is the time required to execute the program executed by the PLC one round.
  • the larger the program size the longer the scan time.
  • the higher the performance of the CPU unit of the PLC the shorter the scan time. It can be said that the shorter the scan time, the faster the program execution speed.
  • a representative one of the operating speed specifications of the input / output device is an on-time and an off-time.
  • the ON time of the input device is a time required from when the input signal changes from OFF to ON to when the input device recognizes the change.
  • the off time of the input device is the time required from when the input signal changes from on to off to when the input device recognizes the change.
  • the ON time of the output device is the time required from when the output signal is recognized to be changed from OFF to ON to when the output signal is turned ON.
  • the time required from when the sensor detects an object or an event to be detected to when the output signal is turned on is the ON time of the sensor.
  • the off time of the output device is the time required from when the output signal is recognized to be changed from on to off to when the output signal is turned off.
  • the signal may change off, on, and off while the PLC executes the program one round.
  • the PLC executes the process without any change in the signal.
  • the signal changes from off to on and the time required to change to off is shorter than the scan time, the change in the signal may be missed.
  • a signal changes to ON, OFF, or ON a dropout may occur similarly.
  • the time required for the signal to change from off to on and further to off is at least the sum of the on-time and the off-time.
  • the time required for the signal to change from on to off and further to on is also the shortest total of the on-time and the off-time.
  • the setting support apparatus 10B determines that the execution speed of the program and the operation speed of the input / output device are incompatible if the above-described missing can occur based on the scan time and the operation speed specification.
  • the screen shown in FIG. 16 includes a configuration display area C1 and a data display area C2B.
  • the configuration display area C1 is an area for displaying the configuration of each unit of the PLC and the input / output devices, as in the first embodiment.
  • the example illustrated in FIG. 16 indicates that the operation speed of the output device D1 is inappropriate.
  • the data display area C2B displays scan time, input / output unit information, input / output device operating speed specifications, information indicating whether or not the input / output device operating speed is compatible, and the like.
  • the user can switch the display content of the data display area C2B to a display related to the electrical specification by operating the data display area C2B. By switching the display, information on the electrical specifications can be confirmed.
  • the control unit 100B includes a specification data acquiring unit 101B, a scan time acquiring unit 105B for acquiring a scan time, and a determining unit 102B.
  • Specification data acquisition section 101B has the following functions in addition to the functions of specification data acquisition section 101 according to the first embodiment.
  • the specification data obtaining unit 101B obtains speed specification data indicating the operating speed specification of the input / output device to be connected from the input / output device table stored in the storage unit 120B. Details of the input / output device table and the operation speed specification will be described later.
  • the speed specification data includes on-time data indicating the on-time of the input / output device, and off-time data indicating the off-time of the input / output device.
  • the scan time acquisition unit 105B acquires the scan time of the program executed by the PLC.
  • the scan time obtaining unit 105B obtains a scan time by, for example, analyzing a program created on an engineering tool and calculating a scan time of the program. Alternatively, the user may input a scan time, and the scan time may be acquired based on the input information acquired from the input unit 110.
  • the scan time acquisition unit 105B is an example of a scan time acquisition unit according to the present invention.
  • the determination unit 102B has a function described below in addition to the function of the determination unit 102 according to the first embodiment.
  • the determination unit 102B determines whether the execution speed of the program matches the operation speed of the input / output device based on the speed specification data and the scan time acquired by the scan time acquisition unit 105B. Details of the determination will be described later.
  • the storage unit 120B stores the input / output unit table and the input / output device table, similarly to the storage unit 120 according to the first embodiment. However, as described later, the data stored in the input / output device table is different from that of the first embodiment.
  • the input / output device table stored in the storage unit 120B will be described with reference to FIG.
  • the input / output device table stores operating speed specifications.
  • FIG. 17 the description of the electrical specifications is omitted.
  • the operating speed specification includes an on-time and an off-time.
  • the functional configuration of the setting support device 10B has been described above. Next, an example of the operation of determining the suitability of the operation speed by the setting support device 10B will be described with reference to FIGS.
  • the setting support apparatus 10B performs the connection determination operation shown in FIG. 6 as in the first embodiment, in addition to the operation speed determination operation shown in FIG. These determination operations may be performed in series or may be performed in parallel.
  • the scan time acquisition unit 105B of the control unit 100B acquires the scan time of the program executed by the PLC (Step S31).
  • the specification data obtaining unit 101B of the control unit 100B obtains speed specification data of the input / output device to be connected (step S32).
  • the specification data acquisition unit 101B acquires the speed specification data of all the input / output devices.
  • the control unit 100B performs an operation of selecting one input / output device and executing the operations from step S33 to step S38 for all the input / output devices.
  • the determination unit 102B of the control unit 100B determines whether or not the operating speed specification of the selected input / output device conforms (step S34). The details of the determination of conformity with the operating speed specification will be described later.
  • step S35 determines that the operating speed specification is compatible
  • step S36 determines that the operating speed of the selected input / output device is compatible
  • Step S37 determines that the operating speed of the selected input / output device is incompatible
  • control unit 100B ends the operation of determining the suitability of the operation speed.
  • the determining unit 102B determines whether or not the scan time is shorter than the sum of the on-time of the input / output device indicated by the on-time data and the off-time of the input / output device indicated by the off-time data (step S341). It can be said that the determination unit 102B determines whether or not the PLC can miss a signal change by comparing the scan time with the sum of the on-time and the off-time.
  • step S341 When determining that the scan time is equal to or greater than the sum of the on-time and the off-time (step S341: No), the determination unit 102B determines that the operation speed specification of the input / output device is incompatible (step S342), and The operation for determining the conformity of the speed specification is completed.
  • the determination unit 102B determines that the operating speed specification of the input / output device is compatible (step S343), and performs the operation. The operation for determining the conformity of the speed specification is completed.
  • the determination unit 102B determines that the operation speed of the output device D1 is inappropriate, and determines that the operation speed of the output device D2 is appropriate. Further, in response to the determination of the matching of the operation speed by the determination unit 102B, the control unit 100B displays on the screen that the operation speed of the output device D1 is inappropriate and the operation speed of the output device D2 is compatible.
  • the configuration support device 10B according to the third embodiment has been described above. According to the setting support apparatus 10B, based on the scan time and the speed specification data, it is determined whether or not the execution speed of the program executed by the PLC is compatible with the operation speed of the input / output device. Therefore, according to the setting support device 10B, it is possible to suitably support the connection setting between the input / output unit and the input / output device.
  • the setting support device 10C is connected to a data server 20C that stores the electrical specification data of the input / output units and the input / output devices.
  • the setting support device 10C includes a control unit 100C instead of the control unit 100.
  • the setting support device 10C further includes a communication unit 140C that communicates with the data server 20C.
  • the data server 20C communicates with the web server 30C operated by the manufacturer of the input / output unit or the manufacturer of the input / output device via the Internet NT.
  • the control unit 100C includes a specification data acquisition unit 101C instead of the specification data acquisition unit 101.
  • the specification data acquisition unit 101C acquires the electrical specification data of the input / output unit and the input / output device from the data server 20C via the communication unit 140C.
  • the specification data obtaining unit 101C stores the obtained electrical specification data of the input / output unit in the input / output unit table of the storage unit 120.
  • the specification data obtaining unit 101C stores the obtained electrical specification data of the input / output device in the input / output device table of the storage unit 120.
  • the acquisition of the electrical specification data from the data server 20C by the specification data acquisition unit 101C is performed, for example, when the electrical specification data of the input / output unit or the input / output device selected by the user does not exist in the storage unit 120. .
  • the user has selected the output device D1 as the input / output device to be connected, but since the output device D1 is a new product, the electrical specification data of the output device D1 is stored in the input / output device table of the storage unit 120. It is possible that it does not exist.
  • the specification data acquisition unit 101C acquires the electrical specification data of the output device D1 from the data server 20C.
  • the specification data obtaining unit 101C may obtain all electrical specification data from the data server 20C at regular intervals and update the input / output unit table and the input / output device unit table of the storage unit 120.
  • the data specification of the input / output unit or the input / output device selected by the user may not exist in the data server 20C.
  • the data server 20C may store information indicating that the electrical specification data of the product is missing.
  • the specification data acquiring unit 101C stores information indicating that there is no electrical specification data of the input / output unit or the input / output device in the input / output unit table or the input / output device table.
  • the control unit 100C uses the display unit 130 to alert the user that the electrical specification data of the input / output unit or the input / output device selected by the user does not exist and the connection determination cannot be performed because the electrical specification data does not exist. do. For example, as shown in FIG. 21, the control unit 100C alerts the user that the connection cannot be determined by displaying a caution mark M2 near the icon indicating the output device D1 in the configuration display area C1. . In addition, the control unit 100C also alerts the user by displaying in the data display area C2 a description indicating that the electrical specification data of the output device D1 does not exist and a description indicating that the connection determination cannot be performed. .
  • the user who has received the alert can, for example, contact the administrator of the data server 20C and manually request that the electrical specification data of the output device D1 be updated.
  • the functional configuration of the setting support device 10C has been described above.
  • the operation of the connection determination by the setting support device 10C is the same as that of the first embodiment, and thus the description is omitted.
  • the data server 20C and the web server 30C will be described.
  • the data specification of the input / output units and the input / output devices is stored in the data server 20C.
  • the data server 20C is a server operated by, for example, a manufacturer of the engineering tool.
  • the data server 20C acquires the product specification table from the web server 30C, and updates the stored electrical specification data based on the acquired specification table.
  • the product here refers to an input / output unit or an input / output device manufactured by the operator of the web server 30C.
  • the data server 20C updates the electrical specification data at regular intervals such as every week or every month. Alternatively, the data server 20C may update the electrical specification data at the timing when the information on the new product is disclosed in each web server 30C.
  • the web server 30C is a web server operated by the manufacturer of the input / output unit or the manufacturer of the input / output device. A different web server 30C is operated for each manufacturer. Each web server 30C discloses a product specification table.
  • the data server 20C repeats the flow of the operation from step S41 to step S45 for all the web servers 30C for which the specification table is to be obtained.
  • the web server 30C from which the specification table is acquired is, for example, the web server 30C operated by a manufacturer of a product supported by the engineering tool.
  • the data server 20C acquires the product specification table from the web server 30C (step S42). Since the web server 30C discloses specification tables of a plurality of products, the data server 20C acquires the specification tables of the plurality of products.
  • the data server 20C analyzes the contents described in the acquired specification table, extracts electrical specification data, and stores the data in association with the product name (step S43).
  • the format of the specification table is considered to be different for each web server 30C. Therefore, the data server 20C needs to perform analysis by a different analysis method for each web server 30C. For example, when the rated input voltage is described as “Rated input voltage: 100 to 120 V AC” in one specification table and “Rated voltage (input): 100 to 120 V (AC)” in another specification table, The data server 20C needs to analyze the specification table by different analysis methods. As a result of the analysis, electrical specification data indicating that the rated input voltage is 100 to 120 V AC is extracted from any of the specification tables.
  • the data server 20C may not be able to acquire the specification table of the product for which the specification table was available in the past due to the production stoppage of the product, the failure of the web server 30C, and the like. Further, the data server 20C may fail to analyze the product specification table and may not be able to extract the electrical specification data. In these cases, the electrical specification data of the product is missing. In this case, the data server 20C stores information indicating that the data of the product is missing (step S44).
  • the data server 20C ends the data update operation after executing the operation flow from step S41 to step S45 for all the web servers 30C for which the specification table is to be obtained.
  • the configuration support device 10C according to the fourth embodiment has been described above.
  • the specification data obtaining unit 101C obtains the electrical specification data from the data server 20C, so that the connection can be determined based on the latest electrical specification data.
  • the setting support device 10 performs connection determination based on voltage specifications and current specifications among the electrical specifications.
  • the setting support device 10 may make a connection determination based on other electrical specifications. For example, there are cases where specifications regarding impedance, inrush current, noise immunity, and the like are defined as electrical specifications of the input / output unit and the input / output device. Therefore, the setting support apparatus 10 may make a connection determination based on these electrical specifications.
  • the setting support apparatus 10 makes a connection determination based on both the voltage specification and the current specification.
  • the setting support device 10 may perform the connection determination based on only one of the voltage specification and the current specification. For example, if the engineering tool specializes in setting related to a specific system, and the voltage specifications of the input / output unit and the input / output device used in the system are unified, the setting support device 10 only uses the current specification. May be determined based on the connection. Similarly, when it is clear that the system handles only a small current, the setting support apparatus 10 may determine the connection based on only the voltage specification.
  • the setting support device 10A employs the ambient temperature as the installation environment, but may employ another installation environment.
  • the installation environment in addition to the ambient temperature, humidity, air pressure, gas concentration, altitude, and the like can be given.
  • the characteristics of capacitors are particularly liable to change due to these effects. Therefore, depending on the circuit configuration of the input / output unit, it is conceivable to determine environmental specifications based on these changes in the installation environment. In this case, the setting support device 10A may determine the connection based on the environmental specifications and the installation environment.
  • the setting support device 10B determines whether the operation speed is appropriate by comparing the scan time with the sum of the on-time and the off-time. That is, the setting support device 10B determines the suitability of the operation speed based on both the ON time and the OFF time. However, the setting support device 10B may determine the suitability of the operation speed based on only one of the ON time and the OFF time. For example, instead of the sum of the on-time and the off-time, the operation speed may be determined to be appropriate by comparing the scan time with a value obtained by doubling the on-time or the off-time. Generally, there is often no large difference between the on-time and the off-time.
  • the data server 20C extracts and stores electrical specification data based on the specification table acquired from the web server 30C.
  • the electrical specification data stored in the data server 20C may be data based on manual input.
  • the data server 20C may not necessarily be able to communicate with the web server 30C. In this case, all the electrical specification data is data based on manual input.
  • the setting support device 10 includes a secondary storage device 1004.
  • the configuration is not limited thereto, and the secondary storage device 1004 may be provided outside the setting support device 10, and the setting support device 10 and the secondary storage device 1004 may be connected via the interface 1003.
  • a removable medium such as a USB flash drive or a memory card can be used as the secondary storage device 1004.
  • the setting support device 10 may be configured by a dedicated circuit using an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or the like. Good.
  • ASIC Application Specific Integrated Circuit
  • FPGA Field Programmable Gate Array
  • some of the functions of the setting support device 10 may be realized by, for example, a dedicated circuit connected to the interface 1003.
  • the program used in the setting support apparatus 10 is distributed by being stored in a computer-readable recording medium such as a CD-ROM (Compact Disc Only Memory), a DVD (Digital Versatile Disc), a USB flash drive, a memory card, and an HDD. It is possible. Then, by installing such a program on a specific or general-purpose computer, the computer can function as the setting support device 10.
  • a computer-readable recording medium such as a CD-ROM (Compact Disc Only Memory), a DVD (Digital Versatile Disc), a USB flash drive, a memory card, and an HDD.
  • the above-described program may be stored in a storage device of another server on the Internet, and the program may be downloaded from the server.
  • the present invention is suitable for supporting connection setting between an input / output unit of a programmable logic controller and an input / output device.
  • 10, 10A, 10B, 10C setting support device 20C data server, 30C web server, 100, 100A, 100B, 100C control unit, 101, 101A, 101B, 101C specification data acquisition unit, 102, 102A, 102B judgment unit, 103A Environmental data acquisition unit, 104A input voltage acquisition unit, 105B scan time acquisition unit, 110 input unit, 120, 120A, 120B storage unit, 130 display unit, 140C communication unit, 1000 bus, 1001 processor, 1002 memory, 1003 interface, 1004 Secondary storage device, C1 configuration display area, C2, C2A, C2B data display area, M1 error mark, M2 caution mark, NT Internet.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)

Abstract

設定支援装置(10)は、プログラマブルロジックコントローラの入出力ユニットと、入出力ユニットに接続される入出力機器との接続設定を支援する。入力部(110)は、入出力ユニットと入出力機器とを選択するためのユーザの操作を受け付ける。仕様データ取得部(101)は、入力部(110)によりユーザに選択された入出力ユニットの電気的仕様を示す第1の電気的仕様データを取得する。仕様データ取得部(101)は、入力部(110)によりユーザに選択された入出力機器の電気的仕様を示す第2の電気的仕様データを取得する。判定部(102)は、第1の電気的仕様データが示す仕様と第2の電気的仕様データが示す仕様とが適合するか否かに基づいて、入出力機器が入出力ユニットと接続可能か否かを判定する。

Description

設定支援装置、設定支援方法及びプログラム
 本発明は、設定支援装置、設定支援方法及びプログラムに関する。
 プログラマブルロジックコントローラの入出力ユニットには、センサ、モータなどの様々な入出力機器が接続可能である。しかし、入出力ユニットと入出力機器とを接続する際には、電圧、電流、デバイス点数、応答時間など、様々な要件を適合させる必要がある。そのため、入出力ユニットと入出力機器との接続設定を支援する技術が求められている。
 特許文献1には、入出力ユニットと入出力機器との接続設定を示す設定ファイルを生成する設定ファイル生成支援装置が開示されている。当該設定ファイル生成支援装置によれば、デバイス点数の要件を満たした設定ファイルを生成することができる。当該設定ファイル生成支援装置により、デバイス点数についての要件を人手で確認する手間が軽減するので、入出力ユニットと入出力機器との接続設定を支援することができる。
国際公開第2016/117079号
 しかし、特許文献1の設定ファイル生成支援装置は、電圧、電流などの電気的仕様について判定することなく設定ファイルを生成する。そのため、生成された設定ファイルが示す接続設定が電気的仕様についての要件を満たしているか否かについては、人手で入出力ユニット及び入出力機器の電気的仕様を確認して判断する必要がある。したがって、特許文献1の設定ファイル生成支援装置では、入出力ユニットと入出力機器との接続設定を十分に支援できない。
 本発明の目的は、上記の事情に鑑み、プログラマブルコントローラの入出力ユニットと入出力機器との接続設定を好適に支援できる設定支援装置等を提供することにある。
 上記の目的を達成するため、本発明に係る設定支援装置は、
 プログラマブルロジックコントローラの入出力ユニットと、前記入出力ユニットに接続される入出力機器との接続設定を支援する設定支援装置であって、
 接続設定の対象となる前記入出力ユニットと前記入出力機器とを選択するためのユーザの操作を受け付ける入力手段と、
 前記入力手段により前記ユーザに選択された前記入出力ユニットの電気的仕様を示す第1の電気的仕様データと、前記入力手段により前記ユーザに選択された前記入出力機器の電気的仕様を示す第2の電気的仕様データと、を取得する仕様データ取得手段と、
 前記第1の電気的仕様データが示す仕様と前記第2の電気的仕様データが示す仕様とが適合するか否かに基づいて、前記入出力機器が前記入出力ユニットと接続可能か否かを判定する判定手段と、
 を備える。
 本発明によれば、電気的仕様データに基づいて入出力機器が入出力ユニットと接続可能か否かを判定するので、入出力ユニットと入出力機器との接続設定を好適に支援できる。
本発明の実施の形態1に係る設定支援装置の機能的構成を示す図 本発明の実施の形態1に係る設定支援装置により表示される画面の一例を示す図 本発明の実施の形態1に係る設定支援装置の記憶部に格納される入出力ユニットテーブルの一例を示す図 本発明の実施の形態1に係る設定支援装置の記憶部に格納される入出力機器テーブルの一例を示す図 本発明の実施の形態1に係る設定支援装置のハードウェア構成の一例を示す図 本発明の実施の形態1に係る設定支援装置による接続判定の動作の一例を示すフローチャート 本発明の実施の形態1に係る設定支援装置の判定部による電気的仕様の適合判定の動作の一例を示すフローチャート 本発明の実施の形態2に係る設定支援装置の機能的構成を示す図 入力ユニットの周囲温度と入力電圧と使用可能点数との関係の一例を示す図 本発明の実施の形態2に係る設定支援装置により表示される画面の一例を示す図 本発明の実施の形態2に係る設定支援装置の記憶部に格納される入出力ユニットテーブルの一例を示す図 本発明の実施の形態2に係る設定支援装置の記憶部に格納される入出力機器テーブルの一例を示す図 本発明の実施の形態2に係る設定支援装置による接続判定の動作の一例を示すフローチャート 本発明の実施の形態3に係る設定支援装置の機能的構成を示す図 プログラマブルロジックコントローラにより実行されるプログラムの一例を示すラダー図 本発明の実施の形態3に係る設定支援装置により表示される画面の一例を示す図 本発明の実施の形態3に係る設定支援装置の記憶部に格納される入出力機器テーブルの一例を示す図 本発明の実施の形態3に係る設定支援装置による動作速度の適合判定の動作の一例を示すフローチャート 本発明の実施の形態3に係る設定支援装置の判定部による動作速度仕様の適合判定の動作の一例を示すフローチャート 本発明の実施の形態4に係る設定支援装置の機能的構成を示す図 本発明の実施の形態4に係る設定支援装置により表示される画面の一例を示す図 本発明の実施の形態4に係る設定支援装置と通信するデータサーバによるデータ更新の動作の一例を示すフローチャート
 以下、図面を参照しながら、本発明の実施の形態に係る設定支援装置を説明する。各図面においては、同一又は同等の部分に同一の符号を付す。
(実施の形態1)
 図1を参照しながら、実施の形態1に係る設定支援装置10を説明する。設定支援装置10は、各機能部を制御する制御部100と、ユーザの入力操作を受け付ける入力部110と、データを格納する記憶部120と、画面表示を行う表示部130と、を備える。設定支援装置10は、本発明に係る設定支援装置の一例である。
 まず、設定支援装置10の概要を説明する。設定支援装置10は、プログラマブルロジックコントローラ(Programmable Logic Controller:以下PLCという)の入出力ユニットと当該入出力ユニットに接続される入出力機器との接続設定において、入出力ユニットの電気的仕様と入出力機器の電気的仕様とが適合しているか否かを判定することにより、入出力ユニットと入出力機器とが接続可能か否かを判定する。ここでいう接続設定とは、どの入出力機器をどの入出力ユニットに接続するかについて設定することである。電気的仕様とは、定格入力電圧、最大出力電流など、入出力ユニットと入出力機器との接続の際に考慮されるべき電気的な接続仕様をいう。また、入出力ユニットの電気的仕様と入出力機器の電気的仕様とを照合し、入出力ユニットと入出力機器とを接続しても電気的な問題が生じないといえる場合、入出力ユニットの電気的仕様と入出力機器の電気的仕様とが適合している、といえる。
 なお、入出力ユニットは、入力ユニット及び出力ユニットの双方を含み、入出力機器は、入力機器及び出力機器の双方を含むものとする。入力ユニットは、出力機器が出力した信号を受けるユニットである。出力ユニットは、信号を出力して入力機器に供給するユニットである。出力機器は、信号を出力して入力ユニットに供給する機器である。入力機器は、出力ユニットが出力した信号を受けることにより機器内の回路に信号を供給する機器である。出力機器は、例えばセンサであり、入力機器は、例えばモータである。入力ユニット及び出力ユニットは、本発明に係る入出力ユニットの一例である。入力機器及び出力機器は、本発明に係る入出力機器の一例である。
 設定支援装置10は、例えば、パーソナルコンピュータ、スマートフォンなどのコンピュータが、当該コンピュータにインストールされたエンジニアリングツールのプログラムを実行することにより実現される。ここでいうエンジニアリングツールとは、PLCのユニット及び入出力機器の構成をコンピュータ上で設定するためのツールである。当該エンジニアリングツール上で、入出力ユニットと入出力機器との接続設定をすることができる。
 図2を参照しながら、設定支援装置10の表示部130により表示される画面の一例を説明する。図2にて示される画面は、設定支援装置10のGUI(Graphic User Interface)である。ユーザは、入力部110に対する入力により、GUI上で設定支援装置10を操作することができる。
 図2にて示される画面は、構成表示領域C1とデータ表示領域C2とを含む。構成表示領域C1は、PLCのユニット及び入出力機器の構成を表示するための領域である。ユーザは、構成表示領域C1に対する操作により、PLCのユニット及び入出力機器の構成を設定することができる。特に、ユーザは、画面上で入出力ユニットと入出力機器とを接続する操作を行うことにより、入出力ユニットと入出力機器との接続設定を行うことができる。この操作は、接続設定の対象となる入出力ユニットと入出力機器とを選択する操作に相当する。
 図2にて示される例では、電源ユニット、CPU(Central Processing Unit)ユニット、入力ユニットU1などのユニットによりPLCが構成されており、入力ユニットU1には出力機器D1及び出力機器D2が接続されている。また、図2にて示される例では、出力機器D1を示すアイコンの近くにエラーマークM1が表示されている。エラーマークM1の表示により、出力機器D1が入力ユニットU1とは接続不可であることが示されている。
 データ表示領域C2には、入出力ユニットの定格入力電圧及び定格入力電流、入出力機器の定格出力電圧及び最大出力電流、入出力機器が接続可能か否かを示す情報などが表示される。図2にて示される例では、電圧不適合を原因として、出力機器D1が入力ユニットU1とは接続不可であることが示されている。また、出力機器D1に関する情報が表示された領域上に表示されたエラーマークM1によっても、出力機器D1が入力ユニットU1とは接続不可であることが示されている。
 図2にて示される例では、入力ユニットU1が入出力ユニットであり、各出力機器が入出力機器である。図2にて示される例のほか、出力ユニットをPLCの構成に含み、当該出力ユニットに入力機器が接続された構成を設定することも可能である。この場合、出力ユニットが入出力ユニットであり、入力機器が入出力機器である。
 以上、設定支援装置10の概要を説明した。次に、再び図1を参照しながら、設定支援装置10の機能的構成を説明する。
 入力部110は、ユーザからの入力操作を受け付ける。特に、入力部110は、接続設定の対象となる入出力ユニットと入出力機器とを選択するためのユーザの操作を受け付ける。入力部110は、ユーザの入力を示す入力情報を制御部100に出力する。入力部110の機能は、キーボード、マウス、表示部130と一体となったタッチパネルなどの入力装置により実現される。入力部110は、本発明に係る入力手段の一例である。
 表示部130は、制御部100の制御に基づいて、例えば図2にて示される画面を表示する。特に、表示部130は、入出力機器が入出力ユニットと接続可能か否かの判定結果を表示し、判定結果をユーザに報知する。表示部130は、液晶ディスプレイ、有機EL(ElectroLuminescence)ディスプレイなどの表示装置により実現される。
 制御部100は、記憶部120から入出力ユニット及び入出力機器の仕様に関するデータを取得する仕様データ取得部101と、入出力機器が入出力ユニットと接続可能か否かを判定する判定部102と、を備える。制御部100は、入力部110から取得した入力情報に基づいて、接続設定の対象となる入出力ユニット及び入出力機器を選択する。例えば、ユーザが、図2にて示される構成表示領域C1上で入力ユニットU1と出力機器D1とを接続する操作を行った場合、制御部100は、接続設定の対象となる入出力ユニットとして入力ユニットU1を選択し、接続設定の対象となる入出力機器として出力機器D1を選択する。
 制御部100の仕様データ取得部101は、記憶部120に格納された入出力ユニットテーブルから、接続設定の対象となる入出力ユニットの電気的仕様を示す第1の電気的仕様データを取得する。仕様データ取得部101は、記憶部120に格納された入出力機器テーブルから、接続設定の対象となる入出力機器の電気的仕様を示す第2の電気的仕様データを取得する。入出力ユニットテーブル、入出力機器テーブル及び電気的仕様の詳細については後述する。仕様データ取得部101は、本発明に係る仕様データ取得手段の一例である。
 第1の電気的仕様データは、入出力ユニットの電圧に関する接続仕様を示す第1の電圧仕様データと、入出力ユニットの電流に関する接続仕様を示す第1の電流仕様データとを含む。第2の電気的仕様データは、入出力機器の電圧に関する接続仕様を示す第2の電圧仕様データと、入出力機器の電流に関する接続仕様を示す第2の電流仕様データとを含む。電圧に関する接続仕様及び電流に関する接続仕様の詳細については後述する。
 制御部100の判定部102は、仕様データ取得部101が取得した第1の電気的仕様データが示す仕様と第2の電気的仕様データが示す仕様とが適合するか否かに基づいて、入出力機器が入出力ユニットと接続可能か否かを判定する。より具体的には、判定部102は、第1の電圧仕様データが示す電圧仕様と第2の電圧仕様データが示す電圧仕様とが適合するか否かを判定し、第1の電流仕様データが示す電流仕様と第2の電流仕様データが示す電流仕様とが適合するか否かを判定し、判定結果に基づいて、入出力機器が入出力ユニットと接続可能か否かを判定する。判定の詳細については後述する。判定部102は、本発明に係る判定手段の一例である。
 制御部100は、判定部102による判定結果を表示部130に表示させ、判定結果をユーザに報知する。制御部100は、例えば、図2にて示されるとおり、接続不可と判定された入出力機器を示すアイコンの近辺にエラーマークM1を表示させることにより、当該入出力機器が接続不可であると判定されたことをユーザに報知する。また、制御部100は、図2にて示されるとおり、入出力機器及び入出力機器の電気的仕様を表示部130に表示させる。
 記憶部120は、入出力ユニットテーブル及び入出力機器テーブルを格納する。入出力ユニットテーブルには、図3にて示されるとおり、ユニット名、タイプ及び電気的仕様が関連付けられて格納されている。同様に、入出力機器テーブルには、図4にて示されるとおり、機器名、タイプ及び電気的仕様が関連付けられて格納されている。タイプは、入出力ユニットが入力ユニットであるか出力ユニットであるか、あるいは入出力機器が入力機器であるか出力機器であるかを示す。入出力ユニットが入力ユニットの場合及び入出力機器が入力機器の場合、タイプは「入力」となる。入出力ユニットが出力ユニットの場合及び入出力機器が出力機器の場合、タイプは「出力」となる。
 前述のとおり、電気的仕様とは、定格入力電圧、最大出力電流など、入出力ユニットと入出力機器との接続の際に考慮されるべき電気的な接続仕様をいう。電気的仕様は、電圧仕様及び電流仕様を含む。電圧仕様とは、電圧に関する接続仕様である。タイプが「入力」の場合、電圧仕様は定格入力電圧となる。タイプが「出力」の場合、電圧仕様は定格出力電圧となる。電流仕様とは、電流に関する接続仕様である。タイプが「入力」の場合、電流仕様は定格入力電流となる。タイプが「出力」の場合、電流仕様は最大出力電流となる。
 前述の仕様データ取得部101は、入出力ユニットテーブルにて示される電気的仕様を表すデータを第1の電気的仕様データとして取得する。仕様データ取得部101は、特に、電圧仕様を表すデータを第1の電圧仕様データとして取得し、電流仕様を表すデータを第1の電流仕様データとして取得する。同様に、仕様データ取得部101は、入出力機器テーブルにて示される電気的仕様を表すデータを第2の電気的仕様データとして取得する。仕様データ取得部101は、特に、電圧仕様を表すデータを第2の電圧仕様データとして取得し、電流仕様を表すデータを第2の電流仕様データとして取得する。
 以上、設定支援装置10の機能的構成を説明した。次に、設定支援装置10のハードウェア構成の一例を、図5を参照しながら説明する。図5に示す設定支援装置10は、前述のとおり、例えばパーソナルコンピュータ、スマートフォンなどのコンピュータにより実現される。
 設定支援装置10は、バス1000を介して互いに接続された、プロセッサ1001と、メモリ1002と、インタフェース1003と、二次記憶装置1004と、を備える。
 プロセッサ1001は、例えばCPUである。プロセッサ1001が、二次記憶装置1004に記憶された制御プログラムをメモリ1002に読み込んで実行することにより、設定支援装置10の各機能が実現される。制御プログラムとは、例えば前述のエンジニアリングツールのプログラムである。
 メモリ1002は、例えば、RAM(Random Access Memory)により構成される主記憶装置である。メモリ1002は、プロセッサ1001が二次記憶装置1004から読み込んだ専用プログラムを記憶する。また、メモリ1002は、プロセッサ1001が専用プログラムを実行する際のワークメモリとして機能する。
 インタフェース1003は、例えばシリアルポート、USB(Universal Serial Bus)ポートなどのI/O(Input/Output)ポートである。インタフェース1003に接続されたキーボード、マウス、タッチパネルなどの入力装置により、入力部110の機能が実現される。インタフェース1003に接続された液晶ディスプレイ、有機ELディスプレイなどの表示装置により、表示部130の機能が実現される。
 二次記憶装置1004は、例えば、フラッシュメモリ、HDD(Hard Disk Drive)、SSD(Solid State Drive)である。二次記憶装置1004は、プロセッサ1001が実行する専用プログラムを記憶する。また、二次記憶装置1004により、記憶部120の機能が実現される。
 なお、後述の実施の形態2-4に係る設定支援装置10A-10Cについても、同様のハードウェア構成により実現できる。
 以上、設定支援装置10の構成を説明した。次に、図6及び図7を参照しながら、設定支援装置10による接続判定の動作の一例を説明する。接続判定とは、入出力ユニットと入出力機器とが接続可能か否かを判定することをいう。図6にて示される動作は、例えば、ユーザが入出力ユニットと各入出力機器との接続設定をしたのち、接続判定の実行を指示する操作を行ったときに実行される。あるいは、ユーザが入出力ユニットと入出力機器との接続設定を行ったときに自動的に実行されてもよい。また、図6にて示される動作では、1つの入出力ユニットを接続判定の対象としているが、複数の入出力ユニットについて接続判定を行う場合は、各入出力ユニットに対して図6にて示される動作を実行すればよい。
 また、以下の説明において、表示部130にて表示される画面が図2にて示される場合を具体例として挙げながら説明する。また、当該具体例においては、画面表示に関する制御部100の動作についても説明する。
 制御部100の仕様データ取得部101は、接続設定の対象となる入出力ユニット及び入出力機器の電気的仕様データを取得する(ステップS11)。より具体的には、仕様データ取得部101は、当該入出力ユニットの電気的仕様を示す第1の電気的仕様データ及び当該入出力機器の電気的仕様を示す第2の電気的仕様データを取得する。接続設定の対象となる入出力機器が複数ある場合、仕様データ取得部101は、全ての入出力機器の電気的仕様データを取得する。
 なお、前述のとおり、第1の電気的仕様データは第1の電圧仕様データ及び第1の電流仕様データを含み、第2の電気的仕様データは第2の電圧仕様データ及び第2の電流仕様データを含む。
 図2にて示される例では、仕様データ取得部101は、入力ユニットU1の電気的仕様データ、出力機器D1の電気的仕様データ及び出力機器D2の電気的仕様データを取得する。また、仕様データ取得部101による電気的仕様データの取得に応答して、制御部100は、これらの電気的仕様データが示す電気的仕様を画面に表示させる。
 制御部100は、接続設定の対象となる各入出力機器に対して、ステップS12からステップS17までの動作を繰り返し実行する。つまり、入出力機器を1つ選択し、ステップS12からステップS17までの動作を実行する、という動作を全ての入出力機器に対して実行する。
 図2にて示される例では、制御部100は、出力機器D1及び出力機器D2に対して、ステップS12からステップS17までの動作を実行する。
 制御部100の判定部102は、入出力ユニットの電気的仕様と選択された入出力機器の電気的仕様とが適合しているか否かを判定する(ステップS13)。電気的仕様の適合判定の詳細については後述する。
 図2にて示される例では、判定部102は、入力ユニットU1の電気的仕様と出力機器D1の電気的仕様とは適合していないと判定し、入力ユニットU1の電気的仕様と出力機器D2の電気的仕様とは適合していると判定する。
 判定部102は、電気的仕様が適合していると判定したとき(ステップS14:Yes)、選択された入出力機器は入出力ユニットと接続可能であると判定する(ステップS15)。判定部102は、電気的仕様が適合していないと判定したとき(ステップS14:No)、選択された入出力機器は入出力ユニットと接続不可であると判定する(ステップS16)。
 図2にて示される例では、判定部102は、出力機器D1は入力ユニットU1と接続不可であると判定し、出力機器D2は入力ユニットU1と接続可能であると判定する。また、判定部102による接続可能か否かの判定に応答して、制御部100は、出力機器D1は接続不可であり、出力機器D2は接続可能であることを画面に表示させる。また、制御部100は、出力機器D1が接続不可であると判定された原因が電圧仕様の不適合であることも画面に表示させる。
 全ての入出力機器に対してステップS12からステップS17までの動作を実行したら、制御部100は、接続判定の動作を終了する。
 ステップS13の電気的仕様の適合判定の動作について、図7を参照しながら説明する。まず、判定部102は、第1の電気的仕様データに含まれる第1の電圧仕様データと第2の電気的仕様データに含まれる第2の電圧仕様データとを比較し、定格入力電圧と定格出力電圧とが適合しているか否かを判定する(ステップS131)。
 入出力ユニットが入力ユニットであり、入出力機器が出力機器である場合を例に、より具体的に説明する。このとき、第1の電圧仕様が入力ユニットの定格入力電圧を示し、第2の電圧仕様が出力機器の定格出力電圧を示す。判定部102は、当該定格入力電圧と当該定格出力電圧とが適合しているか否かを判定する。
 判定部102は、定格入力電圧が交流であり、定格出力電圧が直流である場合、定格入力電圧と定格出力電圧とが適合していないと判定する。同様に、判定部102は、定格入力電圧が直流であり、定格出力電圧が交流である場合、定格入力電圧と定格出力電圧とが適合していないと判定する。
 定格入力電圧及び定格出力電圧がともに交流であるとき、定格入力電圧及び定格出力電圧には周波数が示されている。このとき、判定部102は、定格出力電圧にて示される周波数が定格入力電圧にて示される周波数と適合しない場合、定格入力電圧と定格出力電圧とが適合していないと判定する。
 判定部102は、定格出力電圧にて示される電圧値が、定格入力電圧にて示される電圧値と適合しない場合、定格入力電圧と定格出力電圧とが適合していないと判定する。なお、ここでいう「電圧値」は、単一の値にて示される場合もあれば、下限値と上限値との組による範囲にて示される場合もある。例えば、定格入力電圧にて示される電圧値が100-120Vであり、定格出力電圧にて示される電圧値が110Vである場合(つまり、定格出力電圧にて示される電圧値110Vが、定格入力電圧にて示される電圧値100-120Vの範囲内の場合)には、不適合とは判定されない。
 以上のいずれの場合においても不適合と判定されない場合、判定部102は、定格入力電圧と定格出力電圧とが適合していると判定する。
 定格入力電圧と定格出力電圧とが適合していないと判定したとき(ステップS131:No)、判定部102は、入出力ユニットと入出力機器とで電気的仕様が不適合であると判定し(ステップS132)、電気的仕様の適合判定の動作を終了する。
 定格入力電圧と定格出力電圧とが適合していると判定したとき(ステップS131:Yes)、判定部102は、第1の電気的仕様データに含まれる第1の電流仕様データと第2の電気的仕様データに含まれる第2の電流仕様データとを比較し、最大出力電流が定格入力電流以下であるか否かを判定する(ステップS133)。
 上述の場合と同様に、入出力ユニットが入力ユニットであり、入出力機器が出力機器である場合を例に説明する。このとき、第1の電流仕様が入力ユニットの定格入力電流を示し、第2の電流仕様が出力機器の最大出力電流を示す。判定部102は、当該最大出力電流が当該定格入力電流以下であるか否かを判定する。
 最大出力電流が定格入力電流以下ではないと判定したとき(ステップS133:No)、判定部102は、入出力ユニットと入出力機器とで電気的仕様が不適合であると判定し(ステップS132)、電気的仕様の適合判定の動作を終了する。
 最大出力電流が定格入力電流以下であると判定したとき(ステップS133:Yes)、判定部102は、入出力ユニットと入出力機器とで電気的仕様が適合していると判定し(ステップS134)、電気的仕様の適合判定の動作を終了する。
 以上、実施の形態1に係る設定支援装置10を説明した。設定支援装置10によれば、電気的仕様データに基づいて入出力機器が入出力ユニットと接続可能か否かを判定する。そのため、設定支援装置10によれば、入出力ユニットと入出力機器との接続設定を好適に支援できる。
(実施の形態2)
 図8を参照しながら、実施の形態2に係る設定支援装置10Aについて、実施の形態1に係る設定支援装置10と異なる部分を説明する。設定支援装置10Aは、制御部100に代えて制御部100Aを、記憶部120に代えて記憶部120Aを備える。
 まず、設定支援装置10Aの概要を説明する。設定支援装置10Aは、さらに、入出力ユニットの設置環境と関連付けられた電気的仕様に基づいて接続判定を行う。入出力ユニットの設置環境とは、PLCが実際に運用され、入出力ユニットが設置されているときの環境である。
 より具体的には、設定支援装置10Aは、入出力ユニットが入力ユニットであるときに、入力ユニットの周囲温度と入力電圧と使用可能点数との関係を示した仕様に基づいて接続判定を行う。
 まず、点数について説明する。入出力ユニットには使用可能点数が定められている。また、入出力機器には使用点数が定められている。入出力ユニットに入出力機器を接続する際には、入出力機器の使用点数の合計が入出力ユニットの使用可能点数を超えてはならない。例えば、入出力ユニットの使用可能点数が16であるとき、当該入出力ユニットには、使用点数が1の入出力機器を16台まで接続できる。また、当該入出力ユニットには、使用可能点数が5の入出力機器を3台接続し、さらに使用点数が1の入出力機器を1台接続することができる。以下の説明では、理解を容易にするため、特段の断りがない限り入出力機器の使用点数は1であるものとする。
 次に、入力ユニットの周囲温度と入力電圧と使用可能点数との関係について、図9にて示される例を参照しながら説明する。図9にて示されるグラフは、例えば入力ユニットの仕様書に記載されている。使用可能点数は、周囲温度が高くなるほど少なくなる。また、使用可能点数は、入力電圧が高くなるほど少なくなる。例えば、図9によると、入力電圧が120Vで周囲温度が45℃のとき、使用可能点数は16である。また、入力電圧が132Vで周囲温度が55℃のとき、使用可能点数は10である。入力電圧に応じて使用可能点数が変動することから、周囲温度と入力電圧と使用可能点数との関係についての仕様は電気的仕様であるといえる。
 なお、上述の関係は、入出力ユニットが入力ユニットであるときにのみ定められていることが一般的であり、入出力ユニットが出力ユニットであるときには定められていない。そのため、実施の形態2の説明においては、以下、特段の断りがない限り、入出力ユニットは入力ユニットであるものとし、入出力機器は出力機器であるものとする。
 また、図9にて示される例では、入力ユニットの定格入力電圧の上限値が120Vであることを想定している。定格入力電圧の上限値が120Vであるにもかかわらず入力電圧が132Vの場合を示しているのは、入力ユニットは定格入力電圧より10%程度高い入力電圧でも動作可能であることが一般的だからである。そのため、入力ユニットのメーカは、「限界値」である132Vときの仕様を開示している場合が多い。また、図9にて示される例では、入力ユニットの周囲温度が55℃より高くなる場合については想定されておらず、周囲温度の「限界値」は55℃である、といえる。
 以上をまとめると、設定支援装置10Aは、図9にて示される周囲温度と入力電圧と使用可能点数との関係に基づいて入力ユニットと出力機器との接続判定を行う、といえる。
 図10を参照しながら、設定支援装置10Aにより表示される画面の一例を説明する。図10にて示される画面は、構成表示領域C1とデータ表示領域C2Aとを含む。構成表示領域C1は、実施の形態1の場合と同様、PLCの各ユニット及び入出力機器の構成を表示するための領域である。ただし、実施の形態1の場合に加えて、入力ユニットを示すアイコン上に合計点数が表示されている。合計点数とは、入力ユニットに接続されている入出力機器の使用点数の合計である。
 データ表示領域C2Aには、設定情報、現在設定時における入力ユニットの使用可能点数、入出力機器が接続可能か否かを示す情報などが表示される。
 データ表示領域C2Aに表示される設定情報とは、PLCを実際に運用した際に想定される、入力ユニットの周囲温度及び入力電圧を示す情報である。周囲温度及び入力電圧は、ユーザの入力操作により設定される。例えば、入力電圧を132Vと設定することで、設定支援装置10Aは、「限界値」で運用したときを想定した接続判定をすることができる。
 データ表示領域C2Aに表示される入力ユニットの使用可能点数とは、設定情報にて示された周囲温度及び入力電圧における使用可能点数である。図10にて示される例では、周囲温度が40℃、入力電圧が132Vと設定されているので、図9にて示されるとおり、入力ユニットの使用可能点数が14となる。
 図10にて示される例では、電圧仕様及び電流仕様は表示されていないものの、実施の形態1の場合と同様に、電圧不適合を原因として、出力機器D1が入力ユニットU1とは接続不可であることが示されている。これは、設定支援装置10Aは、実施の形態1に係る設定支援装置10と同様に、電圧仕様及び電流仕様による判定も行うからである。ユーザは、データ表示領域C2Aに対する操作により、当該領域の表示内容を電圧仕様及び電流仕様に関する表示に切り替えることができる。表示を切り替えることにより、電圧不適合の詳細を確認できる。
 また、図10にて示される例では、点数不足を原因として、出力機器D15及び出力機器D16が入力ユニットU1とは接続不可であることが示されている。
 以上、設定支援装置10Aの概要を説明した。次に、再び図8を参照しながら、設定支援装置10Aの機能的構成のうち、実施の形態1に係る設定支援装置10と異なる部分を説明する。
 制御部100Aは、仕様データ取得部101Aと、周囲温度データを取得する環境データ取得部103Aと、入力電圧データを取得する、入力電圧取得部104Aと、判定部102Aと、を備える。制御部100Aは、入力部110から取得した入力情報に基づいて、周囲温度を示す周囲温度データ及び入力電圧を示す入力電圧データを記憶部120Aに格納する。
 仕様データ取得部101Aは、実施の形態1に係る仕様データ取得部101の機能に加え、以下に説明する機能を有する。
 仕様データ取得部101Aは、第1の電気的仕様データを取得する際に、図9にて例示される入力ユニットの周囲温度と入力電圧と使用可能点数との関係を示すデータである使用可能点数データを取得する。詳細は後述するが、使用可能点数データは、記憶部120Aに格納された入出力ユニットテーブルに含まれている。使用可能点数データは、第1の電気的仕様データに含まれている。使用可能点数データは、設置環境である周囲温度と関連付けられた電気的仕様を示すので、本発明に係る環境仕様データの一例である。
 仕様データ取得部101Aは、記憶部120Aに格納された入出力機器テーブルから、入出力機器の使用点数を示す使用点数データを取得する。
 環境データ取得部103Aは、設定情報にて定められた周囲温度を示す周囲温度データを、記憶部120Aから取得する。周囲温度データは、入出力ユニットの設置環境を示すデータであるといえるので、本発明に係る環境データの一例である。環境データ取得部103Aは、本発明に係る環境データ取得手段の一例である。
 入力電圧取得部104Aは、設定情報にて定められた入力電圧を示す入力電圧データを、記憶部120Aから取得する。入力電圧取得部104Aは、本発明に係る入力電圧取得手段の一例である。
 判定部102Aは、実施の形態1に係る判定部102の機能に加え、以下に説明する機能を有する。
 判定部102Aは、仕様データ取得部101Aが取得した使用可能点数データと、環境データ取得部103Aが取得した周囲温度データと、入力電圧取得部104Aが取得した入力電圧データと、に基づいて、入力ユニットの使用可能点数を算出する。使用可能点数データにて示される関係から、周囲温度データが示す周囲温度及び入力電圧データが示す入力電圧における使用可能点数が算出できる。
 判定部102Aは、算出した使用可能点数と仕様データ取得部101Aが取得した使用点数データとに基づいて、出力機器が入力ユニットと接続可能か否かを判定する。判定の詳細については後述する。
 記憶部120Aは、実施の形態1に係る記憶部120と同様に、入出力ユニットテーブル及び入出力機器テーブルを格納する。ただし、入出力ユニットテーブル、入出力機器テーブルのいずれも、後述のとおり、格納されているデータは実施の形態1の場合と異なる。また、記憶部120Aは、周囲温度データと入力電圧データとを格納する。
 図11を参照しながら、記憶部120Aに格納される入出力ユニットテーブルを説明する。入出力ユニットテーブルには、電気的仕様として、使用可能点数データが格納されている。なお、図11では、その他の電気的仕様についての記載を省略している。前述のとおり、使用可能点数データとは、入力ユニットの周囲温度と入力電圧と使用可能点数との関係を示すデータである。
 図12を参照しながら、記憶部120Aに格納される入出力機器テーブルを説明する。なお、図12では、電気的仕様についての記載を省略している。入出力機器テーブルには、使用点数を示すデータが格納されている。
 以上、設定支援装置10Aの機能的構成を説明した。次に、図13を参照しながら、設定支援装置10Aによる接続判定の動作の一例を説明する。なお、設定支援装置10Aは、図13にて示される接続判定の動作に加え、実施の形態1の場合と同様、図6にて示される接続判定の動作も行う。これらの接続判定の動作は、直列に実行されるものであってもよいし、並列に実行されるものであってもよい。
 制御部100Aの環境データ取得部103Aは周囲温度データを取得し、制御部100Aの入力電圧取得部104Aは入力電圧データを取得する(ステップS21)。制御部100Aの仕様データ取得部101Aは、接続設定の対象となる入力ユニットの使用可能点数データを取得する(ステップS22)。
 制御部100Aの判定部102Aは、周囲温度データと入力電圧データと使用可能点数データとに基づいて、入力ユニットの使用可能点数を算出する(ステップS23)。制御部100Aの仕様データ取得部101Aは、接続設定の対象となる各出力機器の使用点数データを取得する(ステップS24)。
 判定部102Aは、取得した使用点数データに基づいて出力機器の使用点数の合計を算出し、使用点数の合計がステップS23にて算出した使用可能点数以下であるか否かを判定する(ステップS25)。
 使用点数の合計が使用可能点数以下であると判定したとき(ステップS25:Yes)、判定部102Aは、全ての出力機器を、入力ユニットと接続可能であると判定する(ステップS26)。そして、設定支援装置10Aは、接続判定の動作を終了する。
 使用点数の合計が使用可能点数以下ではないと判定したとき(ステップS25:No)、判定部102Aは、使用可能点数を超過して接続された分の出力機器を全て、入力ユニットと接続不可であると判定する(ステップS27)。そして、制御部100Aは、接続判定の動作を終了する。
 以上、設定支援装置10Aによる接続判定の動作の一例を説明した。ところで、図13にて示される動作と図6にて示される動作とで、同一の出力機器について異なる判定結果となる場合が考えられる。その場合には、接続不可の判定が優先される。例えば、図10にて示される例では、出力機器D1は、図6にて示される動作では接続不可と判定される一方、図13にて示される動作では接続可能と判定される。この場合、接続不可の判定が優先されるため、図10では、接続不可の表示がされている。
 以上、実施の形態2に係る設定支援装置10Aを説明した。設定支援装置10Aによれば、環境データと環境仕様データとに基づいて、入出力機器が入出力ユニットと接続可能か否かを判定する。そのため、設定支援装置10Aによれば、入出力ユニットと入出力機器との接続設定を好適に支援できる。
(実施の形態3)
 図14を参照しながら、実施の形態3に係る設定支援装置10Bについて、実施の形態1に係る設定支援装置10と異なる部分を説明する。設定支援装置10Bは、制御部100に代えて制御部100Bを、記憶部120に代えて記憶部120Bを備える。
 まず、設定支援装置10Bの概要を説明する。設定支援装置10Bは、さらに、PLCにて実行されるプログラムのスキャンタイム及び入出力機器の動作速度仕様に基づいて、プログラムの実行速度と入出力機器の動作速度とが適合しているか否かを判定する。プログラムの実行速度と入出力機器の動作速度との適合については後述する。以下、プログラムの実行速度と入出力機器の動作速度とが適合しているか否かを判定することを、単に動作速度の適合判定という。また、プログラムの実行速度と入出力機器の動作速度とが適合していること、または不適合であることを、単に入出力機器の動作速度が適合している、または不適合である、と記載する場合がある。
 スキャンタイムについて、図15を参照しながら説明する。図15のラダー図により示されるプログラムは、左上を開始位置とし、矢印で示されるとおり、左から右へ、上から下へと実行される。そして、右下のENDで示される箇所まで到達すると、再び左上からの処理を繰り返す。図15のラダー図における、左上から右下のENDまでの処理の実行に要する時間をスキャンタイムという。つまり、スキャンタイムとは、PLCで実行されるプログラムを1周実行するのに要する時間である。プログラムの規模が大きくなるほどスキャンタイムは長くなる。また、PLCのCPUユニットの性能が高いほどスキャンタイムは短くなる。スキャンタイムが短いほど、プログラムの実行速度が速い、といえる。
 次に、動作速度仕様について説明する。入出力機器の動作速度仕様のうち代表的なものとして、オン時間及びオフ時間が挙げられる。入力機器のオン時間とは、入力される信号がオフからオンに変化してから、入力機器が変化を認識するまでに要する時間である。同様に、入力機器のオフ時間とは、入力される信号がオンからオフに変化してから、入力機器が変化を認識するまでに要する時間である。
 一方、出力機器のオン時間とは、出力信号をオフからオンに変化させるべきことを認識してから出力信号がオンに変化するまでに要する時間である。例えば、出力機器がセンサである場合、センサが検知対象となる物あるいは事象を検知してから、出力信号がオンになるまでに要する時間が当該センサのオン時間となる。同様に、出力機器のオフ時間とは、出力信号をオンからオフに変化させるべきことを認識してから出力信号がオフに変化するまでに要する時間である。
 入出力機器による信号の変化が非常に高速である場合、PLCがプログラムを1周実行する間に信号がオフ、オン、オフ、と変化することが考えられる。その結果、PLCは、信号の変化を取りこぼしたまま処理を実行してしまう。具体的には、信号がオフからオンに変化し、さらにオフに変化するのに要する時間がスキャンタイムより短い場合には、信号の変化の取りこぼしが発生しうる。また、信号がオン、オフ、オンと変化する場合も同様に取りこぼしが発生しうる。信号がオフからオンに変化し、さらにオフに変化するのに要する時間は、最短でオン時間とオフ時間との合計となる。また、信号がオンからオフに変化し、さらにオンに変化するのに要する時間も同様に、最短でオン時間とオフ時間との合計となる。上記の取りこぼしが発生しえない場合、プログラムの実行速度と入出力機器の動作速度とが適合しているといえる。設定支援装置10Bは、スキャンタイム及び動作速度仕様に基づいて、上記の取りこぼしが発生しうる場合には、プログラムの実行速度と入出力機器の動作速度とが不適合であると判定する。
 図16を参照しながら、設定支援装置10Bにより表示される画面の一例を説明する。図16にて示される画面は、構成表示領域C1とデータ表示領域C2Bとを含む。構成表示領域C1は、実施の形態1の場合と同様、PLCの各ユニット及び入出力機器の構成を表示するための領域である。図16にて示される例では、出力機器D1の動作速度が不適合であることが示されている。
 データ表示領域C2Bには、スキャンタイム、入出力ユニットの情報、入出力機器の動作速度仕様、入出力機器の動作速度が適合しているか否かを示す情報などが表示される。図16にて示される例では、電気的仕様は表示されていないものの、ユーザは、データ表示領域C2Bに対する操作により、当該領域の表示内容を電気的仕様に関する表示に切り替えることができる。表示を切り替えることにより、電気的仕様に関する情報を確認できる。
 以上、設定支援装置10Bの概要を説明した。次に、再び図14を参照しながら、設定支援装置10Bの機能的構成のうち、実施の形態1に係る設定支援装置10と異なる部分を説明する。
 制御部100Bは、仕様データ取得部101Bと、スキャンタイムを取得するスキャンタイム取得部105Bと、判定部102Bと、を備える。
 仕様データ取得部101Bは、実施の形態1に係る仕様データ取得部101の機能に加え、以下に説明する機能を有する。
 仕様データ取得部101Bは、記憶部120Bに格納された入出力機器テーブルから、接続設定の対象となる入出力機器の動作速度仕様を示す速度仕様データを取得する。入出力機器テーブル及び動作速度仕様の詳細については後述する。
 速度仕様データは、入出力機器のオン時間を示すオン時間データと、入出力機器のオフ時間を示すオフ時間データとを含む。
 スキャンタイム取得部105Bは、PLCにて実行されるプログラムのスキャンタイムを取得する。スキャンタイム取得部105Bは、例えば、エンジニアリングツール上で作成されたプログラムを解析し、当該プログラムのスキャンタイムを算出することによりスキャンタイムを取得する。あるいは、ユーザにスキャンタイムを入力させ、入力部110から取得した入力情報に基づいてスキャンタイムを取得してもよい。スキャンタイム取得部105Bは、本発明に係るスキャンタイム取得手段の一例である。
 判定部102Bは、実施の形態1に係る判定部102の機能に加え、以下に説明する機能を有する。
 判定部102Bは、速度仕様データと、スキャンタイム取得部105Bが取得したスキャンタイムと、に基づいて、プログラムの実行速度と入出力機器の動作速度とが適合しているか否かを判定する。判定の詳細については後述する。
 記憶部120Bは、実施の形態1に係る記憶部120と同様に、入出力ユニットテーブル及び入出力機器テーブルを格納する。ただし、後述のとおり、入出力機器テーブルに格納されているデータは実施の形態1の場合と異なる。
 図17を参照しながら、記憶部120Bに格納される入出力機器テーブルを説明する。入出力機器テーブルには、動作速度仕様が格納されている。図17では、電気的仕様についての記載を省略している。動作速度仕様は、オン時間及びオフ時間を含む。
 以上、設定支援装置10Bの機能的構成を説明した。次に、図18及び図19を参照しながら、設定支援装置10Bによる動作速度の適合判定の動作の一例を説明する。なお、設定支援装置10Bは、図18にて示される動作速度の適合判定の動作に加え、実施の形態1の場合と同様、図6にて示される接続判定の動作も行う。これらの判定の動作は、直列に実行されるものであってもよいし、並列に実行されるものであってもよい。
 制御部100Bのスキャンタイム取得部105Bは、PLCにて実行されるプログラムのスキャンタイムを取得する(ステップS31)。
 制御部100Bの仕様データ取得部101Bは、接続設定の対象となる入出力機器の速度仕様データを取得する(ステップS32)。接続設定の対象となる入出力機器が複数ある場合、仕様データ取得部101Bは、全ての入出力機器の速度仕様データを取得する。
 制御部100Bは、入出力機器を1つ選択し、ステップS33からステップS38までの動作を実行する、という動作を全ての入出力機器に対して実行する。
 制御部100Bの判定部102Bは、選択された入出力機器の動作速度仕様が適合しているか否かを判定する(ステップS34)。動作速度仕様の適合判定の詳細については後述する。
 判定部102Bは、動作速度仕様が適合していると判定したとき(ステップS35:Yes)、選択された入出力機器の動作速度は適合していると判定する(ステップS36)。判定部102Bは、動作速度仕様が適合していないと判定したとき(ステップS35:No)、選択された入出力機器の動作速度は不適合であると判定する(ステップS37)。
 全ての入出力機器に対してステップS33からステップS38までの動作を実行したら、制御部100Bは、動作速度の適合判定の動作を終了する。
 ステップS34の動作速度仕様の適合判定の動作について、図19を参照しながら説明する。まず、判定部102Bは、スキャンタイムが、オン時間データが示す入出力機器のオン時間とオフ時間データが示す入出力機器のオフ時間との合計より短いか否かを判定する(ステップS341)。判定部102Bは、スキャンタイムと、オン時間とオフ時間の合計とを比較することにより、PLCが信号の変化を取りこぼしうるか否かを判定する、といえる。
 スキャンタイムがオン時間とオフ時間との合計以上であると判定したとき(ステップS341:No)、判定部102Bは、入出力機器の動作速度仕様が不適合であると判定し(ステップS342)、動作速度仕様の適合判定の動作を終了する。
 スキャンタイムがオン時間とオフ時間との合計より短いと判定したとき(ステップS341:Yes)、判定部102Bは、入出力機器の動作速度仕様が適合していると判定し(ステップS343)、動作速度仕様の適合判定の動作を終了する。
 以上、設定支援装置10Bによる動作速度の適合判定の動作の一例を説明した。図16に示す例では、判定部102Bは、出力機器D1の動作速度は不適合であると判定し、出力機器D2の動作速度は適合していると判定する。また、判定部102Bによる動作速度の適合判定に応答して、制御部100Bは、出力機器D1の動作速度は不適合であり、出力機器D2の動作速度は適合していることを画面に表示させる。
 以上、実施の形態3に係る設定支援装置10Bを説明した。設定支援装置10Bによれば、スキャンタイムと速度仕様データとに基づいて、PLCにて実行されるプログラムの実行速度と入出力機器の動作速度とが適合しているか否かを判定する。そのため、設定支援装置10Bによれば、入出力ユニットと入出力機器との接続設定を好適に支援できる。
(実施の形態4)
 図20を参照しながら、実施の形態4に係る設定支援装置10Cについて、実施の形態1に係る設定支援装置10と異なる部分を説明する。設定支援装置10Cは、入出力ユニット及び入出力機器の電気的仕様データが格納されたデータサーバ20Cと接続されている。設定支援装置10Cは、制御部100に代えて制御部100Cを備える。また、設定支援装置10Cは、さらに、データサーバ20Cと通信する通信部140Cを備える。データサーバ20Cは、インターネットNTを介して、入出力ユニットの製造者または入出力機器製造者が運営するウェブサーバ30Cと通信する。
 設定支援装置10Cの機能的構成のうち、実施の形態1に係る設定支援装置10と異なる部分を説明する。制御部100Cは、仕様データ取得部101に代えて仕様データ取得部101Cを備える。仕様データ取得部101Cは、通信部140Cを介して、データサーバ20Cから入出力ユニット及び入出力機器の電気的仕様データを取得する。仕様データ取得部101Cは、取得した入出力ユニットの電気的仕様データを記憶部120の入出力ユニットテーブルに格納する。仕様データ取得部101Cは、取得した入出力機器の電気的仕様データを記憶部120の入出力機器テーブルに格納する。
 仕様データ取得部101Cによるデータサーバ20Cからの電気的仕様データの取得は、例えば、ユーザが選択した入出力ユニットまたは入出力機器の電気的仕様データが記憶部120に存在しなかったときに行われる。例えば、ユーザが接続設定の対象となる入出力機器として出力機器D1を選択したが、出力機器D1は新製品であるため、出力機器D1の電気的仕様データが記憶部120の入出力機器テーブルに存在しない場合が考えられる。この場合、仕様データ取得部101Cは、出力機器D1の電気的仕様データをデータサーバ20Cから取得する。あるいは、仕様データ取得部101Cは、一定期間ごとにデータサーバ20Cから全ての電気的仕様データを取得し、記憶部120の入出力ユニットテーブル及び入出力機器ユニットテーブルを更新してもよい。
 しかし、データサーバ20Cにも、ユーザが選択した入出力ユニットまたは入出力機器の電気的仕様データが存在しない場合がある。また、後述のとおり、データサーバ20Cには、製品の電気的仕様データが欠落していることを示す情報が格納されている場合もある。これらの場合、仕様データ取得部101Cは、当該入出力ユニットまたは入出力機器の電気的仕様データが存在しないことを示す情報を、入出力ユニットテーブルあるいは入出力機器テーブルに格納する。
 制御部100Cは、ユーザにより選択された入出力ユニットまたは入出力機器の電気的仕様データが存在しないこと及び電気的仕様データが存在しないので接続判定ができないことを、表示部130によりユーザに注意喚起をする。例えば、図21に示すとおり、制御部100Cは、構成表示領域C1内の、出力機器D1を示すアイコンの近辺に注意マークM2を表示させることにより、接続判定ができないことをユーザに注意喚起をする。また、制御部100Cは、併せて、出力機器D1の電気的仕様データが存在しない旨の記載及び接続判定ができない旨の記載をデータ表示領域C2内に表示させることにより、ユーザに注意喚起をする。当該注意喚起を受けたユーザは、例えば、データサーバ20Cの管理者に連絡し、人手により出力機器D1の電気的仕様データを更新するよう依頼することができる。
 以上、設定支援装置10Cの機能的構成について説明した。設定支援装置10Cによる接続判定の動作は、実施の形態1の場合と同様であるため説明を省略する。次に、データサーバ20C及びウェブサーバ30Cについて説明する。
 データサーバ20Cには、入出力ユニット及び入出力機器の電気的仕様データが格納されている。データサーバ20Cは、例えばエンジニアリングツールの製造者が運営するサーバである。データサーバ20Cは、ウェブサーバ30Cから製品の仕様表を取得し、取得した仕様表に基づいて、格納されている電気的仕様データを更新する。ここでいう製品とは、ウェブサーバ30Cの運営者が製造する入出力ユニットまたは入出力機器のことである。データサーバ20Cは、例えば1週間ごと、1月ごとなどの一定期間ごとに電気的仕様データの更新を行う。あるいは、データサーバ20Cは、各ウェブサーバ30Cにて新製品についての情報が公開されるタイミングで電気的仕様データの更新を行ってもよい。
 ウェブサーバ30Cは、入出力ユニットの製造者または入出力機器の製造者が運営するウェブサーバである。製造者ごとに異なるウェブサーバ30Cが運営されている。各ウェブサーバ30Cにより、製品の仕様表が公開されている。
 図22を参照しながら、データサーバ20Cによるデータ更新の動作の一例を説明する。データサーバ20Cは、仕様表の取得対象となる全てのウェブサーバ30Cに対して、ステップS41からステップS45までの動作の流れを繰り返す。仕様表の取得対象となるウェブサーバ30Cとは、例えば、エンジニアリングツールにてサポートされる製品の製造者が運営するウェブサーバ30Cである。
 データサーバ20Cは、ウェブサーバ30Cから製品の仕様表を取得する(ステップS42)。ウェブサーバ30Cでは複数の製品の仕様表が公開されているので、データサーバ20Cは、複数の製品の仕様表を取得する。
 データサーバ20Cは、取得した仕様表に記載された内容を解析して電気的仕様データを抽出し、製品名と関連付けて格納する(ステップS43)。仕様表の書式は、ウェブサーバ30Cごとに異なると考えられる。そのため、データサーバ20Cは、ウェブサーバ30Cごとに異なる解析方法により解析を行う必要がある。例えば、定格入力電圧について、ある仕様表では「定格入力電圧:AC100-120V」と記載され、別の仕様表では「定格電圧(入力):100-120V(交流)」と記載されている場合、データサーバ20Cは、それぞれ異なる解析方法により仕様表を解析する必要がある。解析の結果、いずれの仕様表においても、定格入力電圧がAC100-120Vであることを示す電気的仕様データが抽出される。
 なお、製品の生産中止、ウェブサーバ30Cの不具合等を原因として、データサーバ20Cは、過去に仕様表の取得が可能であった製品の仕様表が取得できなくなる場合がある。また、データサーバ20Cは、製品の仕様表の解析に失敗し、電気的仕様データが抽出できない場合がある。これらの場合、当該製品の電気的仕様データが欠落することとなる。この場合、データサーバ20Cは、当該製品のデータが欠落していていることを示す情報を格納する(ステップS44)。
 データサーバ20Cは、仕様表の取得対象となる全てのウェブサーバ30Cに対して、ステップS41からステップS45までの動作の流れを実行したら、データ更新の動作を終了する。
 以上、実施の形態4に係る設定支援装置10Cについて説明した。設定支援装置10Cによれば、仕様データ取得部101Cがデータサーバ20Cから電気的仕様データを取得するので、最新の電気的仕様データに基づいて接続判定をすることができる。
(変形例)
 実施の形態1に係る設定支援装置10は、電気的仕様のうち、電圧仕様及び電流仕様に基づいて接続判定を行っている。しかし、設定支援装置10は、その他の電気的仕様に基づいて接続判定を行ってもよい。例えば、入出力ユニット及び入出力機器の電気的仕様として、インピーダンス、突入電流、ノイズ耐量などに関する仕様が定められている場合がある。そのため、設定支援装置10は、これらの電気的仕様に基づいて接続判定を行ってもよい。
 実施の形態1に係る設定支援装置10は、電圧仕様及び電流仕様の双方に基づいて接続判定をしている。しかし、設定支援装置10は、電圧仕様または電流仕様の一方のみに基づいて接続判定を行ってもよい。例えば、エンジニアリングツールが特定のシステムに関する設定に特化しており、当該システムで使用される入出力ユニット及び入出力機器の電圧仕様が統一されている場合には、設定支援装置10は、電流仕様のみに基づいて接続判定をすればよい。同様に、当該システムにおいては微小電流のみを扱うことが明らかである場合には、設定支援装置10は、電圧仕様のみに基づいて接続判定すればよい。
 実施の形態2に係る設定支援装置10Aは、周囲温度を設置環境として採用しているが、その他の設置環境を採用してもよい。設置環境の一例として、周囲温度の他に、湿度、気圧、ガス濃度、標高などが挙げられる。電子部品のうちコンデンサは特に、これらの影響により特性が変化しやすい。そのため、入出力ユニットの回路構成次第では、これらの設置環境の変化に基づいて環境仕様を定めることが考えられる。この場合、設定支援装置10Aは、当該環境仕様及び設置環境に基づいて接続判定をすればよい。
 実施の形態3に係る設定支援装置10Bは、オン時間とオフ時間との合計とスキャンタイムとを比較することにより、動作速度の適合判定をしている。つまり、設定支援装置10Bは、オン時間及びオフ時間の双方に基づいて動作速度の適合判定をしている。しかし、設定支援装置10Bは、オン時間またはオフ時間の一方のみに基づいて動作速度の適合判定を行ってもよい。例えば、オン時間とオフ時間との合計の代わりに、オン時間あるいはオフ時間を2倍にしたものとスキャンタイムとを比較することにより、動作速度の適合判定をしてもよい。一般的に、オン時間とオフ時間には大きな差がないことが多いからである。
 実施の形態4の説明において、データサーバ20Cは、ウェブサーバ30Cから取得した仕様表に基づいて電気的仕様データを抽出し、格納している。しかし、データサーバ20Cに格納される電気的仕様データは、人手による入力に基づくデータであってもよい。また、データサーバ20Cは、必ずしもウェブサーバ30Cと通信可能でなくてもよい。この場合、全ての電気的仕様データは、人手による入力に基づくデータとなる。
 図5に示すハードウェア構成においては、設定支援装置10が二次記憶装置1004を備えている。しかし、これに限らず、二次記憶装置1004を設定支援装置10の外部に設け、インタフェース1003を介して設定支援装置10と二次記憶装置1004とが接続される形態としてもよい。この形態においては、USBフラッシュドライブ、メモリカードなどのリムーバブルメディアも二次記憶装置1004として使用可能である。
 また、図5に示すハードウェア構成に代えて、ASIC(Application Specific Integrated Circuit:特定用途向け集積回路)、FPGA(Field Programmable Gate Array)などを用いた専用回路により設定支援装置10を構成してもよい。また、図5に示すハードウェア構成において、設定支援装置10の機能の一部を、例えばインタフェース1003に接続された専用回路により実現してもよい。
 設定支援装置10で用いられるプログラムは、CD-ROM(Compact Disc Read Only Memory)、DVD(Digital Versatile Disc)、USBフラッシュドライブ、メモリカード、HDD等のコンピュータ読み取り可能な記録媒体に格納して配布することが可能である。そして、かかるプログラムを特定の又は汎用のコンピュータにインストールすることによって、当該コンピュータを設定支援装置10として機能させることが可能である。
 また、上述のプログラムをインターネット上の他のサーバが有する記憶装置に格納しておき、当該サーバから上述のプログラムがダウンロードされるようにしてもよい。
 本発明は、本発明の広義の精神と範囲を逸脱することなく、様々な実施の形態及び変形が可能とされるものである。また、上述した実施の形態は、本発明を説明するためのものであり、本発明の範囲を限定するものではない。つまり、本発明の範囲は、実施の形態ではなく、請求の範囲によって示される。そして、請求の範囲内及びそれと同等の発明の意義の範囲内で施される様々な変形が、本発明の範囲内とみなされる。
 本発明は、プログラマブルロジックコントローラの入出力ユニットと入出力機器との接続設定の支援に好適である。
 10,10A,10B,10C 設定支援装置、20C データサーバ、30C ウェブサーバ、100,100A,100B,100C 制御部、101,101A,101B,101C 仕様データ取得部、102,102A,102B 判定部、103A 環境データ取得部、104A 入力電圧取得部、105B スキャンタイム取得部、110 入力部、120,120A,120B 記憶部、130 表示部、140C 通信部、1000 バス、1001 プロセッサ、1002 メモリ、1003 インタフェース、1004 二次記憶装置、C1 構成表示領域、C2,C2A,C2B データ表示領域、M1 エラーマーク、M2 注意マーク、NT インターネット。

Claims (11)

  1.  プログラマブルロジックコントローラの入出力ユニットと、前記入出力ユニットに接続される入出力機器との接続設定を支援する設定支援装置であって、
     接続設定の対象となる前記入出力ユニットと前記入出力機器とを選択するためのユーザの操作を受け付ける入力手段と、
     前記入力手段により前記ユーザに選択された前記入出力ユニットの電気的仕様を示す第1の電気的仕様データと、前記入力手段により前記ユーザに選択された前記入出力機器の電気的仕様を示す第2の電気的仕様データと、を取得する仕様データ取得手段と、
     前記第1の電気的仕様データが示す仕様と前記第2の電気的仕様データが示す仕様とが適合するか否かに基づいて、前記入出力機器が前記入出力ユニットと接続可能か否かを判定する判定手段と、
     を備える設定支援装置。
  2.  前記第1の電気的仕様データは、前記入出力ユニットの電圧に関する接続仕様を示す第1の電圧仕様データを含み、
     前記第2の電気的仕様データは、前記入出力機器の電圧に関する接続仕様を示す第2の電圧仕様データを含み、
     前記判定手段は、前記第1の電圧仕様データが示す電圧仕様と前記第2の電圧仕様データが示す電圧仕様とが適合するか否かに基づいて、前記入出力機器が前記入出力ユニットと接続可能か否かを判定する、
     請求項1に記載の設定支援装置。
  3.  前記第1の電気的仕様データは、前記入出力ユニットの電流に関する接続仕様を示す第1の電流仕様データを含み、
     前記第2の電気的仕様データは、前記入出力機器の電流に関する接続仕様を示す第2の電流仕様データを含み、
     前記判定手段は、前記第1の電流仕様データが示す電流仕様と前記第2の電流仕様データが示す電流仕様とが適合するか否かに基づいて、前記入出力機器が前記入出力ユニットと接続可能か否かを判定する、
     請求項1または2に記載の設定支援装置。
  4.  前記仕様データ取得手段は、前記第1の電気的仕様データと前記第2の電気的仕様データとの少なくとも一方をサーバから取得する、
     請求項1から3のいずれか1項に記載の設定支援装置。
  5.  前記入出力ユニットの設置環境を示す環境データを取得する環境データ取得手段をさらに備え、
     前記第1の電気的仕様データは、設置環境と関連付けられた前記入出力ユニットの電気的仕様を示す環境仕様データを含み、
     前記判定手段は、さらに、前記環境データと前記環境仕様データとに基づいて、前記入出力機器が前記入出力ユニットと接続可能か否かを判定する、
     請求項1から4のいずれか1項に記載の設定支援装置。
  6.  前記入出力ユニットに入力される入力電圧を示す入力電圧データを取得する入力電圧取得手段をさらに備え、
     前記環境データは、前記入出力ユニットの周囲温度を示す周囲温度データを含み、
     前記環境仕様データは、周囲温度と入力電圧と前記入出力ユニットの使用可能点数とを関連付けた使用可能点数データを含み、
     前記仕様データ取得手段は、さらに、前記入出力機器の使用点数を示す使用点数データを取得し、
     前記判定手段は、前記周囲温度データと前記入力電圧データと前記使用可能点数データとに基づいて使用可能点数を算出し、算出した使用可能点数と前記使用点数データとに基づいて、前記入出力機器が前記入出力ユニットと接続可能か否かを判定する、
     請求項5に記載の設定支援装置。
  7.  前記プログラマブルロジックコントローラにより実行されるプログラムのスキャンタイムを取得するスキャンタイム取得手段をさらに備え、
     前記仕様データ取得手段は、さらに、前記入出力機器の動作速度の仕様を示す速度仕様データを取得し、
     前記判定手段は、さらに、前記スキャンタイムと前記速度仕様データとに基づいて、前記プログラムの実行速度と前記入出力機器の動作速度とが適合しているか否かを判定する、
     請求項1から6のいずれか1項に記載の設定支援装置。
  8.  前記速度仕様データは、前記入出力機器のオン時間を示すオン時間データと前記入出力機器のオフ時間を示すオフ時間データとを含み、
     前記判定手段は、前記スキャンタイムと前記オン時間データと前記オフ時間データとに基づいて、前記プログラムの実行速度と前記入出力機器の動作速度とが適合しているか否かを判定する、
     請求項7に記載の設定支援装置。
  9.  前記判定手段は、前記オン時間と前記オフ時間との合計が前記スキャンタイム以上のとき、前記プログラムの実行速度と前記入出力機器の動作速度とは適合していると判定し、前記オン時間と前記オフ時間との合計が前記スキャンタイムより短いとき、前記プログラムの実行速度と前記入出力機器の動作速度とは不適合であると判定する、
     請求項8に記載の設定支援装置。
  10.  プログラマブルロジックコントローラの入出力ユニットと前記入出力ユニットに接続される入出力機器とを接続設定の対象としてユーザに選択させ、
     前記入出力ユニットの電気的仕様を示す第1の電気的仕様データを取得し、
     前記入出力機器の電気的仕様を示す第2の電気的仕様データを取得し、
     前記第1の電気的仕様データが示す仕様と前記第2の電気的仕様データが示す仕様とが適合するか否かに基づいて、前記入出力機器が前記入出力ユニットと接続可能か否かを判定する、
     設定支援方法。
  11.  コンピュータに、
     プログラマブルロジックコントローラの入出力ユニットと前記入出力ユニットに接続される入出力機器とを接続設定の対象として選択するユーザの操作を受け付けさせ、
     前記入出力ユニットの電気的仕様を示す第1の電気的仕様データを取得させ、
     前記入出力機器の電気的仕様を示す第2の電気的仕様データを取得させ、
     前記第1の電気的仕様データが示す仕様と前記第2の電気的仕様データが示す仕様とが適合するか否かに基づいて、前記入出力機器が前記入出力ユニットと接続可能か否かを判定させる、
     プログラム。
PCT/JP2018/033998 2018-09-13 2018-09-13 設定支援装置、設定支援方法及びプログラム WO2020054023A1 (ja)

Priority Applications (5)

Application Number Priority Date Filing Date Title
US17/265,209 US20210303495A1 (en) 2018-09-13 2018-09-13 Setting assistance device, setting assistance method, and program
JP2019508987A JP6541919B1 (ja) 2018-09-13 2018-09-13 設定支援装置、設定支援方法及びプログラム
CN201880097303.6A CN112654937B (zh) 2018-09-13 2018-09-13 设定辅助装置、设定辅助方法及记录介质
PCT/JP2018/033998 WO2020054023A1 (ja) 2018-09-13 2018-09-13 設定支援装置、設定支援方法及びプログラム
TW108113535A TWI685730B (zh) 2018-09-13 2019-04-18 設定支援裝置、設定支援方法及程式

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2018/033998 WO2020054023A1 (ja) 2018-09-13 2018-09-13 設定支援装置、設定支援方法及びプログラム

Publications (1)

Publication Number Publication Date
WO2020054023A1 true WO2020054023A1 (ja) 2020-03-19

Family

ID=67212138

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2018/033998 WO2020054023A1 (ja) 2018-09-13 2018-09-13 設定支援装置、設定支援方法及びプログラム

Country Status (5)

Country Link
US (1) US20210303495A1 (ja)
JP (1) JP6541919B1 (ja)
CN (1) CN112654937B (ja)
TW (1) TWI685730B (ja)
WO (1) WO2020054023A1 (ja)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109766291B (zh) * 2018-12-06 2020-10-23 珠海格力电器股份有限公司 一种i/o端口的自动配置方法及系统

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1097310A (ja) * 1996-09-20 1998-04-14 Sharp Corp プログラマブルコントローラ、および、プログラマブルコントローラシステム
US20180088546A1 (en) * 2016-09-23 2018-03-29 Robotis Co., Ltd. Robot assembly device

Family Cites Families (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6629048B1 (en) * 2000-11-20 2003-09-30 Tektronix, Inc. Measurement test instrument and associated voltage management system for accessory device
JP2002163020A (ja) * 2000-11-27 2002-06-07 Matsushita Electric Works Ltd プログラマブルコントローラにおける異常検出方法およびその装置
JP2004013612A (ja) * 2002-06-07 2004-01-15 Canon Electronics Inc 情報処理装置、情報処理方法、プログラム及び記録媒体
JP2006244057A (ja) * 2005-03-02 2006-09-14 Canon Inc Usb機器及びその制御方法、並びにプログラム
JP4849261B2 (ja) * 2007-05-14 2012-01-11 オムロン株式会社 安全アプリケーション作成支援装置
CN102057395A (zh) * 2008-06-10 2011-05-11 松下电工株式会社 能量管理系统以及计算机程序
JP2010186311A (ja) * 2009-02-12 2010-08-26 Seiko Epson Corp 情報処理装置及びその制御方法
US8346984B2 (en) * 2009-05-05 2013-01-01 Jeffrey Huang Apparatus and method for intelligent analysis of device compatibility and adaptive processing of multimedia data
WO2011089688A1 (ja) * 2010-01-20 2011-07-28 三菱電機株式会社 プログラマブルコントローラシステムおよび開発システム
JP2012108901A (ja) * 2010-10-29 2012-06-07 Sanin Seigyo Corp 混注作業支援装置
CN103314334B (zh) * 2011-01-21 2016-03-02 三菱电机株式会社 模拟输入单元以及可编程控制器
US8849431B2 (en) * 2011-03-01 2014-09-30 Flow Data, Inc. Configuration based programmable logic controller (PLC) programming
JP4894961B1 (ja) * 2011-03-15 2012-03-14 オムロン株式会社 Plcのcpuユニット、plc用システムプログラムおよびplc用システムプログラムを格納した記録媒体
TWI481979B (zh) * 2011-11-08 2015-04-21 Inst Information Industry Programmable logic controller drive system, method and recording media
US10223327B2 (en) * 2013-03-14 2019-03-05 Fisher-Rosemount Systems, Inc. Collecting and delivering data to a big data machine in a process control system
JP5843932B1 (ja) * 2014-09-12 2016-01-13 三菱電機株式会社 プログラマブルコントローラ
JP6514479B2 (ja) * 2014-10-16 2019-05-15 株式会社キーエンス プログラマブル・ロジック・コントローラ、システム、制御方法およびプログラム
DE112014007146T5 (de) * 2014-12-03 2017-08-10 Mitsubishi Electric Corporation Ein-Ausgabegerät
DE112014007228T5 (de) * 2014-12-03 2017-08-24 Mitsubishi Electric Corporation Speicherprogrammierbares Steuerungssystem
CN107209492B (zh) * 2015-01-22 2019-03-26 三菱电机株式会社 可编程逻辑控制器设定文件生成辅助装置
JP2018120327A (ja) * 2017-01-24 2018-08-02 オムロン株式会社 制御装置、制御プログラムおよび制御システム
JP6601433B2 (ja) * 2017-02-08 2019-11-06 横河電機株式会社 イベント解析装置、イベント解析システム、イベント解析方法、イベント解析プログラム及び記録媒体
JP6767896B2 (ja) * 2017-02-14 2020-10-14 株式会社キーエンス プログラマブルロジックコントローラシステム、プログラマブルロジックコントローラ、通信テスト支援装置、通信テスト支援方法、及び通信テスト支援装置で実行することが可能なコンピュータプログラム
US10558197B2 (en) * 2017-02-28 2020-02-11 Sap Se Manufacturing process data collection and analytics

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1097310A (ja) * 1996-09-20 1998-04-14 Sharp Corp プログラマブルコントローラ、および、プログラマブルコントローラシステム
US20180088546A1 (en) * 2016-09-23 2018-03-29 Robotis Co., Ltd. Robot assembly device

Also Published As

Publication number Publication date
TWI685730B (zh) 2020-02-21
JPWO2020054023A1 (ja) 2020-10-22
JP6541919B1 (ja) 2019-07-10
CN112654937B (zh) 2022-10-28
TW202011128A (zh) 2020-03-16
US20210303495A1 (en) 2021-09-30
CN112654937A (zh) 2021-04-13

Similar Documents

Publication Publication Date Title
JP6886870B2 (ja) プラント運転監視システム及びプラント運転監視方法
US20150363543A1 (en) Systems and methods for designing an industrial automation system
US7882382B2 (en) System and method for performing computer system maintenance and service
WO2020054023A1 (ja) 設定支援装置、設定支援方法及びプログラム
US20140195794A1 (en) Electronic device with baseboard management controller updating system
US11868117B2 (en) Systems and methods for incorporating proxy components in an industrial automation system
CN115427901B (zh) 存储介质、调试辅助装置及调试辅助方法
JP6791152B2 (ja) 推定装置、推定方法、及び、プログラム
JPWO2017047296A1 (ja) 教師データ提供装置、推定装置、推定システム、教師データ提供方法、推定方法、及び、プログラム
JP6909117B2 (ja) 稼働モニタリング装置、および、稼働モニタリング装置の制御プログラム
JP5934428B2 (ja) プログラマブル表示器、プログラマブルコントローラシステム、プログラム
EP3152870A1 (en) Information retrieval system and method
CN110058983A (zh) 异常检查参数调整显示装置
US8898607B2 (en) Method and system for using a breadboard
TW201423391A (zh) 機櫃伺服器系統及其檢測方法
US20180269908A1 (en) System and method to auto-configure a transmitter for a sensor
EP4177685A1 (en) Symbolic access of industrial device systems and methods based on an on-premise gateway device
US11334060B2 (en) Alert-enabled passive application integration
JP2020149301A (ja) 解析装置、解析方法、及び解析プログラム
JP2011215822A (ja) プログラマブルコントローラ、設定値変更システム、演算表示装置及び設定値変更ユニット
WO2019187087A1 (ja) 作画装置、作画プログラムおよび記憶媒体
CN209763420U (zh) 一种空调主机控制器及空调器
CN113260984A (zh) 监视系统、监视方法和监视程序
CN111831307A (zh) 更新系统
JP2015230522A (ja) 情報処理装置、診断順序決定方法及び制御プログラム

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2019508987

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

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

Country of ref document: EP

Kind code of ref document: A1