WO2014200070A1 - 情報処理装置、情報処理装置の制御方法および制御プログラム - Google Patents

情報処理装置、情報処理装置の制御方法および制御プログラム Download PDF

Info

Publication number
WO2014200070A1
WO2014200070A1 PCT/JP2014/065626 JP2014065626W WO2014200070A1 WO 2014200070 A1 WO2014200070 A1 WO 2014200070A1 JP 2014065626 W JP2014065626 W JP 2014065626W WO 2014200070 A1 WO2014200070 A1 WO 2014200070A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication
log
safety
abnormality
master
Prior art date
Application number
PCT/JP2014/065626
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 CN201480026403.1A priority Critical patent/CN105209987B/zh
Priority to EP14811741.9A priority patent/EP2990896A4/en
Priority to US14/892,751 priority patent/US10114358B2/en
Publication of WO2014200070A1 publication Critical patent/WO2014200070A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/058Safety, monitoring
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/12Plc mp multi processor system
    • G05B2219/1215Master slave system
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/14Plc safety
    • G05B2219/14055Make log, journal, history file of state changes
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0259Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the response to fault detection
    • G05B23/0264Control of logging system, e.g. decision on which data to store; time-stamping measurements

Definitions

  • the present invention relates to an information processing apparatus that collects an operating state of a communication system formed by a master apparatus that manages communication on a network and at least one slave apparatus that can communicate according to an instruction of the master apparatus.
  • the present invention relates to a control method and a control program.
  • a PLC Programmable Logic Controller
  • a control device for industrial equipment or the like is composed of a plurality of units such as a CPU unit for controlling the entire PLC, a communication unit for communication, and an I / O unit for signal input / output.
  • predetermined software is installed in the personal computer (computer). However, it is common to use the installed software.
  • Non-patent Document 1 Such a development support apparatus that supports the development of PLC is disclosed in, for example, “CX-Programmer Support Software Ver 9.0 Japanese Version (released in 2009) manufactured by OMRON” (Non-patent Document 1).
  • a personal computer (computer) is connected to a PLC on which control contents are designed using such a development support apparatus when performing maintenance work on the PLC.
  • Support software for performing maintenance work of the PLC is installed in the personal computer.
  • the support software includes a PLC handling method and guide information (contents) for troubleshooting.
  • a code uniquely indicating the state of the PLC and the operation of the PLC is determined in advance.
  • the operation state of the PLC is collected and displayed. The technique to display is disclosed.
  • the present invention has been made to solve the above-described problems, and is formed of a master device that manages communication on a network and at least one slave device that can communicate according to instructions from the master device.
  • the present invention provides an information processing apparatus that collects operating states of a communication system, an information processing apparatus capable of easily grasping error states associated with each other, a control method for the information processing apparatus, and a control program Objective.
  • An information processing apparatus is an operation state of a communication system formed by a master apparatus that manages communication on a network and at least one slave apparatus that is connected to the network and can communicate according to instructions of the master apparatus
  • the master device and the slave device record a communication log related to time information and a communication state according to the communication process, and the information processing device acquires the communication log from at least one of the master device and the slave device.
  • Communication abnormality information indicating that an abnormality has occurred in communication as a communication state among communication logs edited by the log editing unit, a log editing unit that edits a communication log acquired based on time information
  • a log extracting unit that extracts a communication log within a predetermined time from the generation of the communication log having the same.
  • the information processing apparatus further includes a display unit that displays the extracted communication log.
  • the communication system includes a safety slave device connected to a safety-related device and a safety master device for managing the safety slave device.
  • the safety slave device or the safety master device is a master device.
  • the safety master device connected to at least one of the slave devices is configured to instruct the safety slave device via the master device.
  • the safety master device and the safety slave device record the time information and the communication log related to the communication state according to the communication process.
  • the acquisition unit further acquires a communication log from at least one of the safety master device and the safety slave device.
  • the information processing apparatus relates to an abnormality cause analysis database in which an abnormality cause and an abnormality pattern including a communication log having at least one communication abnormality information are stored in association with each other, and an extracted communication log.
  • An abnormality cause identifying unit that identifies an abnormality cause with reference to the abnormality cause analysis database is further provided.
  • a method for controlling an information processing device includes a master device that manages communication on a network and at least one slave device that is connected to the network and can communicate according to instructions from the master device.
  • the information processing device control method for collecting the operation status of the master device and the slave device, wherein the master device and the slave device are recorded with a communication log related to time information and a communication state according to the communication process, and the communication log from at least one of the master device and the slave device.
  • a control program for an information processing device is a communication system formed by a master device that manages communication on a network and at least one slave device that is connected to the network and can communicate according to instructions from the master device.
  • a control program executed by the computer of the information processing apparatus that collects the operation status of the computer
  • the master device and the slave device are recorded with a communication log regarding the time information and the communication status according to the communication process, and the program is stored in the computer
  • a step of acquiring a communication log from at least one of the device and the slave device, a step of editing the communication log acquired based on the time information, and that a communication abnormality has occurred as a communication state among the edited communication logs At a predetermined time from the occurrence of a communication log with communication error information And a step of extracting the communication log of the internal, to execute the process.
  • FIG. 2 is a block diagram schematically showing a functional configuration of a master PLC 20.
  • FIG. It is a schematic block diagram which shows the hardware constitutions of PC10 according to this Embodiment 1.
  • FIG. It is a figure explaining the functional block performed in CPU11 of PC10 according to this Embodiment 1.
  • FIG. It is a figure explaining the case where communication abnormality arises in the communication system according to this Embodiment 1.
  • FIG. It is a figure explaining an example of the communication log which PC10 processes in the communication system according to this Embodiment 1.
  • FIG. It is a figure explaining the case where communication abnormality arises in the communication system according to the modification of this Embodiment 1.
  • FIG. 1 It is a figure explaining an example of the communication log which PC10 processes in the communication system according to the modification of this Embodiment 1.
  • FIG. It is a figure explaining the functional block performed in CPU11 of PC10 according to this Embodiment 2.
  • FIG. It is a figure explaining the trouble log display displayed on the display part 13 according to this Embodiment 2.
  • FIG. 1 is a diagram illustrating a configuration of a communication system according to the first embodiment of the present invention.
  • a personal computer (PC) 10 that is an information processing apparatus, a master PLC 20, a slave PLC 22, a slave PLC 24, and each PLC are connected.
  • Network 26 a personal computer
  • a configuration in which three PLCs are connected to the network 26 will be described as an example.
  • the number of the PLCs is not limited to this, and a configuration in which a plurality of PLCs are connected may be used. Is possible.
  • Predetermined software for performing PLC maintenance work as a development support apparatus is installed in the PC 10, and PLC maintenance processing based on the software is executed.
  • the PC 10 is connected to the master PLC 20 and acquires information on the states of the slave PLCs 22 and 24 and the like via the master PLC 20 and the master PLC 20.
  • the various processing for performing the maintenance work of PLC is performed. For example, guide information for troubleshooting is displayed.
  • the present invention is not limited to this configuration and is shown in FIG. As described above, it may be configured to be connected to the network 26 and acquire information on the state of each PLC.
  • Standard PLC is a CPU unit that executes calculations based on control programs, an input unit that connects input devices and captures their on / off signals as input signals, and an output that connects output devices and sends output signals to them It is configured by combining a plurality of units such as a unit, a communication unit that transmits / receives data to / from other devices connected to the network, and a power supply unit that supplies power to each unit. These units are electrically connected by an internal bus, and send and receive data between predetermined units via the internal bus.
  • This CPU unit inputs, for example, an ON signal or OFF signal of the input device that is IN data, performs a logical operation on the input ON / OFF information by a user program, and outputs OUT data that is a calculation result to the output device.
  • the production facility is controlled by cyclically executing a process in which the output becomes an operation instruction to the output device and the output device operates.
  • Each standard PLC connected to the network constitutes a communication system, and performs data transmission / reception via each communication unit.
  • at least one of the plurality of PLCs manages communication on the network as a master PLC, and other PLCs (also referred to as slave PLCs in this example) perform data communication with each other in accordance with instructions from the master PLC.
  • Safety PLC has a high degree of reliability in its control by incorporating a self-diagnosis function for safety.
  • a function for forcibly performing safe control is provided so that self-control does not lead to danger.
  • a safety PLC has a communication master function for network communication with a safety I / O terminal, and is sometimes referred to as a safety master.
  • the safety I / O terminal is also referred to as a safety slave.
  • the safety slave has a network communication function with the communication master function of the safety PLC, that is, a communication slave function controlled according to the master.
  • the safety slave includes a connection terminal, and at least one of a safety input device such as a switch that outputs an on / off signal and a safety output device that is an output destination of the control signal is connected to the connection terminal.
  • safety input devices are emergency stop switch SW, light curtain, door switch, and 2 hand switch.
  • safety output devices are safety relays and contactors. These safety input devices or safety output devices also comply with safety standards.
  • the safety slave generates control data based on a signal input from the connected safety application device, and performs network communication of the generated control data to the safety PLC.
  • Safety PLCs and safety slaves also have basically the same functions as standard PLCs.
  • the safety PLC inputs the input signal of the safety input device input by network communication from the safety slave through the communication unit, and performs a logical operation on / off of the input signal by a pre-stored logic program. An output signal based on the calculation result is output to the safety slave by network communication via the communication unit. The safety slave outputs the output signal to the safety output device.
  • Safety relays and contactors that are safety output devices connected to safety slaves are connected to manufacturing robots, processing machines, cutting machines, etc. It operates and the production robot stops while the contacts are off. Therefore, the safety PLC performs control related to the operation stop of the final operation target operation robot or the like by performing on / off control of the safety output device.
  • FIG. 2 is a block diagram schematically showing the functional configuration of the master PLC 20.
  • the master PLC 20 includes a control unit 124, a nonvolatile memory 122, an internal memory 126, and a communication unit 128. This function is realized by combining a plurality of units such as a CPU unit and a communication unit.
  • the control unit 124 is configured mainly with a microprocessor or the like, and comprehensively manages the entire PLC.
  • a transmission data designation table is stored in the nonvolatile memory 122.
  • the contents of the transmission data specification table may be changed by the development support apparatus (PC 10) executing a predetermined tool function.
  • the transmission data specification table stores information such as a PLC that is a transmission destination for transmitting the transmission data in association with the transmission data, for example. Accordingly, data communication between the PLCs is executed.
  • the internal memory 126 relays between the control unit 124 and the communication unit 128, and stores a transmission or reception buffer therein.
  • the internal memory 126 is also used as a working memory.
  • the communication unit 128 is configured by a transmission / reception circuit, and transmits transmission data stored in a transmission buffer in the internal memory 126 to another PLC, and from other PLCs (slave PLC22, slave PLC24, etc.). Data for transmission is received and stored in a reception buffer in the internal memory 126.
  • the reception data stored in the reception buffer in the internal memory 126 is read from the control unit 124 at an appropriate timing and used for executing the user program.
  • the transmission data stored in the transmission buffer in the internal memory 126 is also read from the communication unit 128 at an appropriate timing, and transmitted to the slave PLC 22 or the slave PLC 24 over the network 26.
  • the slave PLC and the safety master and the safety slave to be described later have basically the same functional configuration, and between each device, The data communication is configured to be possible.
  • each of the master PLC and the slave PLC records a communication log during data communication (communication processing) and stores it in the nonvolatile memory 122.
  • the communication log includes time information of communication processing, information related to a communication state (for example, normal communication or abnormality), and the like.
  • FIG. 3 is a schematic block diagram showing a hardware configuration of PC 10 according to the first embodiment.
  • the block diagram shown in the figure represents a typical configuration example.
  • the PC 10 includes at least a CPU 11 that controls and controls the entire apparatus, an input operation unit 12 that includes a mouse operation and a keyboard operation, a display unit 13 that performs display processing, an operation input process, a predetermined calculation process, and a display screen.
  • a work RAM 14 used for image processing or the like, a communication unit 16 that controls an external communication interface, and a storage device 15 are included.
  • the storage device 15 stores a support program for performing maintenance work on the PLC of the communication system included in the information processing apparatus 10, and various processes in the present application are executed by reading the program.
  • Each unit is configured to be connected to the internal bus 17.
  • the PC 10 may be a development support apparatus for designing a PLC that constructs the system.
  • a predetermined tool software may be incorporated into a personal computer.
  • the PLC designed by the development support apparatus can be downloaded to each PLC to realize various functions. And it is also possible to perform the processing in this example by providing a function for diagnosing the presence or absence of an abnormality in the communication system as a part of the function of the development support apparatus.
  • FIG. 4 is a diagram illustrating functional blocks executed in CPU 11 of PC 10 according to the first embodiment.
  • the PC 10 has edited a log acquisition unit 102 that acquires a communication log as history information about a communication state from each PLC, a log editing unit 104 that edits the acquired communication log, and A log extraction unit 106 that extracts a log as necessary from the communication log and a log display unit 108 that displays the extracted log are included.
  • FIG. 5 is a diagram illustrating a case where a communication abnormality occurs in the communication system according to the first embodiment.
  • each PLC a communication log in the data communication is recorded.
  • the master PLC 20 holds a communication log group LB in which communication logs are recorded.
  • the slave PLC 22 holds a communication log group LA.
  • the slave PLC 24 holds a communication log group LC.
  • the PC 10 requests transmission of the communication log recorded for each PLC.
  • Each PLC transmits a communication log stored by itself to the PC 10 in response to the transmission request.
  • the slave PLC 22 is the device “A”
  • the master PLC 20 is the device “B”
  • the slave PLC 24 is the device “C” to execute data communication.
  • FIG. 6 is a diagram illustrating an example of a communication log processed by the PC 10 in the communication system according to the first embodiment.
  • the log acquisition unit 102 of the PC 10 acquires a communication log from each PLC. Specifically, in this example, the communication log groups LA and LB of the master PLC 20 and the slave PLC are acquired. In this example, it is assumed that the communication log group LC is not acquired from the slave PLC 24 because a communication abnormality has occurred.
  • the log editing unit 104 of the PC 10 edits according to the time series according to the time (time information) included in the communication logs included in the communication log groups LA and LB.
  • the log extraction unit 106 extracts a communication log within a predetermined time from the occurrence of a communication log having communication abnormality information indicating that a communication abnormality has occurred as a communication state among the communication logs edited by the log editing unit 104. Extract. Specifically, in this example, it is assumed that “transmission NG” and “timeout” correspond to a communication log indicating communication abnormality information.
  • a communication log within a predetermined time (predetermined range) before and after a communication log (also referred to as an error log) having communication abnormality information as a communication log within a predetermined time from the occurrence of the communication log having the communication abnormality information.
  • the method of extracting the communication log within a predetermined time based on the error log has been described.
  • those skilled in the art can appropriately change the predetermined time.
  • the case where communication logs within a predetermined time before and after the communication log are extracted has been described.
  • subsequent communication logs may be extracted based on the error log that has occurred.
  • FIG. 7 is a diagram illustrating a case where communication abnormality occurs in the communication system according to the modification of the first embodiment.
  • the communication system according to the modification of the first embodiment further includes a safety master and a safety slave.
  • a safety master and a safety slave are combined with a master PLC and a slave PLC to form a communication system.
  • the safety master and the safety slave operate in cooperation with the master PLC or the slave PLC.
  • the safety master 30 is connected to the slave PLC 22 and the safety slave 32 is connected to the slave PLC 24 is shown.
  • the safety master 30 is connected to the network 26 via the internal bus of the slave PLC 22 and executes data communication.
  • the safety slave 32 is connected to the network 26 via the internal bus of the slave PLC 24 to execute data communication.
  • each PLC a communication log in the data communication is recorded.
  • the master PLC 20 holds a communication log group LB # in which communication logs are recorded.
  • the slave PLC 22 holds a communication log group LA #.
  • the slave PLC 24 holds a communication log group LC #.
  • the safety master 30 holds a communication log group LD.
  • the safety slave 32 holds a communication log group LE.
  • the PC 10 requests transmission of the communication log recorded for each PLC.
  • Each PLC transmits a communication log stored by itself to the PC 10 in response to the transmission request.
  • the slave PLC 22 is the device “A”
  • the master PLC 20 is the device “B”
  • the slave PLC 24 is the device “C”
  • the safety master 30 is the device “D”
  • the safety slave 32 is the device “E”. The case of executing will be described.
  • FIG. 8 is a diagram for explaining an example of a communication log processed by the PC 10 in the communication system according to the modification of the first embodiment.
  • the log acquisition unit 102 of the PC 10 acquires a communication log from each PLC. Specifically, in this example, communication log groups LA #, LB #, and LC # of the master PLC 20 and the slave PLC are acquired. Further, the communication log group LD of the safety master 30 is acquired. In this example, it is assumed that the communication log group LE is not acquired from the safety slave 32 because a communication abnormality has occurred.
  • the log editing unit 104 of the PC 10 edits according to the time series according to the time (time information) included in the communication log included in the communication log group LA # to LC #, LD.
  • the log extraction unit 106 extracts a communication log within a predetermined time from the occurrence of a communication log having communication abnormality information indicating that a communication abnormality has occurred as a communication state among the communication logs edited by the log editing unit 104. Extract. Specifically, in this example, it is assumed that “transmission NG” and “timeout” correspond to a communication log indicating communication abnormality information.
  • a communication log within a predetermined time (predetermined range) before and after a communication log (also referred to as an error log) having communication abnormality information as a communication log within a predetermined time from the occurrence of the communication log having the communication abnormality information.
  • FIG. 9 is a diagram illustrating functional blocks executed in CPU 11 of PC 10 according to the second embodiment.
  • the PC 10 has edited a log acquisition unit 102 that acquires a communication log as history information related to a communication state from each PLC, and a log editing unit 104 that edits the acquired communication log.
  • a log extraction unit 106 that extracts a log as necessary from the communication log, an abnormality cause identification unit 107 that identifies an abnormality cause with reference to an abnormality cause analysis database to be described later regarding the extracted communication log, and an abnormality cause identification unit
  • a cause display unit 109 for displaying the cause of the abnormality identified by 107.
  • the storage device 15 in this example has an abnormality cause analysis database DB (also simply referred to as a database DB) in which an abnormality cause and an abnormality pattern including a communication log having at least one communication abnormality information are stored in association with each other. ).
  • the database DB stores a plurality of error pattern data DP as an abnormal pattern, and the error pattern data DP is associated with an error factor and a communication log pattern for estimating the error factor.
  • a combination of a plurality of timeouts and an error factor are associated is shown.
  • the cause of the abnormality is identified by referring to the database DB in accordance with the communication log extracted by the abnormality cause identifying unit 107. Specifically, based on the communication log having the extracted communication abnormality information, it is determined whether there is error pattern data DP corresponding to the extracted communication log pattern with reference to the database DB. If the error pattern data DP is present, an error factor is specified according to the error pattern data DP. Then, the cause display unit 109 displays the specified cause of abnormality on the display unit 13.
  • the error factor is not limited to one, and when there are a plurality of factors, a plurality of factors are displayed.
  • the error pattern data DP is created by analyzing a communication log pattern and a pattern that causes an abnormality in advance by simulation or experiment.
  • the data is stored in advance in the storage device 15 will be described, but it is naturally possible to download and save it from a server or the like.
  • FIG. 10 is a diagram for explaining the troubleshooting log display displayed on the display unit 13 according to the second embodiment.
  • a communication log within a predetermined time is extracted from the occurrence of the communication log having the communication abnormality information described in FIG. 8, and the communication log from time T10 to T20 is extracted and displayed. The cause of the abnormality identified based on the extraction result is shown.
  • a communication timeout has occurred during communication with the safety slave is displayed as the content of the abnormality, and in this example, four example factors are shown. Although four factor examples are shown, one factor example can be used, and a plurality of factor examples can be displayed. Moreover, you may make it display in order with high possibility.
  • the master PLC task execution timeout time is set to a value that is too small.
  • This display allows the user to easily grasp the cause of the error. As a result, it is possible to easily grasp the cause of the error and easily identify the location where the failure is removed.
  • an application that can be executed by a personal computer may be provided as a program in the present embodiment.
  • the program according to the present embodiment may be incorporated as a partial function of various applications executed on the personal computer.
  • 10 information processing device 11 CPU, 12 input operation unit, 13 display unit, 14 RAM, 15 storage device, 16, 128 communication unit, 17 internal bus, 20, 22, 24 PLC, 26 network, 30 safety master, 32 safety Slave, 102 log acquisition unit, 104 log editing unit, 106 log extraction unit, 107 abnormality cause identification unit, 108 log display unit, 109 cause display unit, 122 non-volatile memory, 124 control unit, 126 internal memory.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

 情報処理装置は、ネットワーク上の通信を管理するマスタ装置と、ネットワークと接続されマスタ装置の指示に従い通信が可能な少なくとも1つのスレーブ装置とで形成される通信システムの動作状態を収集する情報処理装置であって、マスタ装置およびスレーブ装置は、通信処理に従い時刻情報および通信状態に関する通信ログを記録し、情報処理装置は、マスタ装置およびスレーブ装置の少なくとも一方から通信ログを取得する取得部と、時刻情報に基づいて取得した通信ログを編集するログ編集部と、ログ編集部により編集された通信ログのうち通信状態として通信に異常が生じていることを示す通信異常情報を有する通信ログの発生から所定時間内の通信ログを抽出するログ抽出部とを備える。

Description

情報処理装置、情報処理装置の制御方法および制御プログラム
 本発明は、ネットワーク上の通信を管理するマスタ装置と、マスタ装置の指示に従い通信が可能な少なくとも1つのスレーブ装置とで形成される通信システムの動作状態を収集する情報処理装置、情報処理装置の制御方法および制御プログラムに関する。
 産業用機器等の制御装置として用いられるPLC(Programmable Logic Controller)は、PLC全体を制御するCPUユニットや通信を行う通信ユニットや信号の入出力を行うI/Oユニット等の複数のユニットから構成される。このようなPLCにユーザの所望の制御を実行させるために、ユーザプログラムをどのように設計するか等、ユーザがPLCの制御内容を設計する際には、パソコン(コンピュータ)に所定のソフトウェアをインストールし、このインストールしたソフトウェアを用いることが一般的である。
 このようなPLCの開発を支援する開発支援装置は、例えば、「オムロン社製 CX-Programmer サポートソフト Ver 9.0 日本語版(2009年発売)」(非特許文献1)に開示されている。
 このような開発支援装置を用いて、制御内容の設計等が行われるPLCには、PLCの保守作業を行う場合に、例えば、パソコン(コンピュータ)が接続される。パソコンには、PLCの保守作業を行うためのサポートソフトがインストールされている。
 具体的には、サポートソフトには、PLCの取扱方法やトラブルシューティングのためのガイド情報(コンテンツ)を具備している。
 PLCには、PLCの状態やPLCの動作を一意に示すコード(イベントコード)が予め定められており、この点で、特開2012-208931号公報においては、PLCの動作状態を収集してディスプレイに表示する技術が開示されている。
特開2012-208931号公報
「オムロン社製 CX-Programmer サポートソフト Ver 9.0 日本語版(2009年発売)」
 しかしながら、従来の構成においては、複数のPLCを用いたシステムに関して、それぞれのPLCに格納されている異常(エラー)の状態を収集して単にエラー状態を表示するだけであったので、通信異常の如く相互に関連のあるエラー状態であってもそれを容易に把握することができなかった。したがって障害を除去する箇所を容易に特定することが難しいという問題があった。
 本発明は、上記のような問題を解決するためになされたものであって、ネットワーク上の通信を管理するマスタ装置と、マスタ装置の指示に従い通信が可能な少なくとも1つのスレーブ装置とで形成される通信システムの動作状態を収集する情報処理装置であって、相互に関連のあるエラー状態を容易に把握することが可能な情報処理装置、情報処理装置の制御方法および制御プログラムを提供することを目的とする。
 本発明のある局面に従う情報処理装置は、ネットワーク上の通信を管理するマスタ装置と、ネットワークと接続されマスタ装置の指示に従い通信が可能な少なくとも1つのスレーブ装置とで形成される通信システムの動作状態を収集する情報処理装置であって、マスタ装置およびスレーブ装置は、通信処理に従い時刻情報および通信状態に関する通信ログを記録し、情報処理装置は、マスタ装置およびスレーブ装置の少なくとも一方から通信ログを取得する取得部と、時刻情報に基づいて取得した通信ログを編集するログ編集部と、ログ編集部により編集された通信ログのうち通信状態として通信に異常が生じていることを示す通信異常情報を有する通信ログの発生から所定時間内の通信ログを抽出するログ抽出部とを備える。
 好ましくは、情報処理装置は、抽出した通信ログを表示する表示部をさらに備える。
 好ましくは、通信システムには、安全に関連する機器と接続される安全スレーブ装置と、安全スレーブ装置を管理するための安全マスタ装置とが設けられ、安全スレーブ装置あるいは安全マスタ装置は、マスタ装置およスレーブ装置の少なくとも一方と接続され、安全マスタ装置は、マスタ装置を介して安全スレーブ装置に対して指示するように構成される。安全マスタ装置および安全スレーブ装置は、通信処理に従い時刻情報および通信状態に関する通信ログを記録する。取得部は、安全マスタ装置および安全スレーブ装置の少なくとも一方から通信ログをさらに取得する。
 好ましくは、情報処理装置は、異常原因と、少なくとも1つ以上の通信異常情報を有する通信ログを含む異常パターンとが対応付けられて格納された異常原因分析データベースと、抽出された通信ログに関して、異常原因分析データベースを参照して、異常原因を特定する異常原因特定部とをさらに備える。
 本発明のある局面に従う情報処理装置の制御方法は、ネットワーク上の通信を管理するマスタ装置と、ネットワークと接続されマスタ装置の指示に従い通信が可能な少なくとも1つのスレーブ装置とで形成される通信システムの動作状態を収集する情報処理装置の制御方法であって、マスタ装置およびスレーブ装置には、通信処理に従い時刻情報および通信状態に関する通信ログが記録され、マスタ装置およびスレーブ装置の少なくとも一方から通信ログを取得するステップと、時刻情報に基づいて取得した通信ログを編集するステップと、編集された通信ログのうち通信状態として通信に異常が生じていることを示す通信異常情報を有する通信ログの発生から所定時間内の通信ログを抽出するステップとを備える。
 本発明のある局面に従う情報処理装置の制御プログラムは、ネットワーク上の通信を管理するマスタ装置と、ネットワークと接続されマスタ装置の指示に従い通信が可能な少なくとも1つのスレーブ装置とで形成される通信システムの動作状態を収集する情報処理装置のコンピュータが実行する制御プログラムであって、マスタ装置およびスレーブ装置には、通信処理に従い時刻情報および通信状態に関する通信ログが記録され、プログラムは、コンピュータに、マスタ装置およびスレーブ装置の少なくとも一方から通信ログを取得するステップと、時刻情報に基づいて取得した通信ログを編集するステップと、編集された通信ログのうち通信状態として通信に異常が生じていることを示す通信異常情報を有する通信ログの発生から所定時間内の通信ログを抽出するステップとを備える、処理を実行させる。
 相互に関連のあるエラー状態を容易に特定することができる。
本発明の実施の形態1に従う通信システムの構成を説明する図である。 マスタPLC20の機能構成を概略的に示すブロック図である。 本実施の形態1に従うPC10のハードウェア構成を示す概略ブロック図である。 本実施の形態1に従うPC10のCPU11において実行される機能ブロックを説明する図である。 本実施の形態1に従う通信システムにおいて通信異常が生じた場合を説明する図である。 本実施の形態1に従う通信システムにおいてPC10が処理する通信ログの一例を説明する図である。 本実施の形態1の変形例に従う通信システムにおいて通信異常が生じた場合を説明する図である。 本実施の形態1の変形例に従う通信システムにおいてPC10が処理する通信ログの一例を説明する図である。 本実施の形態2に従うPC10のCPU11において実行される機能ブロックを説明する図である。 本実施の形態2に従う表示部13に表示されたトラブルシュートログ表示を説明する図である。
 以下、この発明の実施の形態について図面を参照しながら詳細に説明する。なお、図中同一または相当部分には同一符号を付し、その説明は繰り返さない。
 (実施の形態1)
 図1は、本発明の実施の形態1に従う通信システムの構成を説明する図である。
 図1(A)を参照して、実施の形態1に従う通信システムは、情報処理装置であるPC(Personal Computer)10と、マスタPLC20と、スレーブPLC22と、スレーブPLC24と、各PLCが接続されるネットワーク26とを含む。
 本例においては、一例として3つのPLCについて互いにネットワーク26に接続される構成について説明するが、当該PLCの個数はこれに限定されるものではなく、さらに複数のPLCを接続する構成とすることも可能である。
 PC10には、開発支援装置としてPLCの保守作業を行うための所定のソフトウェアがインストールされ、当該ソフトウェアに基づくPLCの保守処理が実行される。本例においては、PC10は、マスタPLC20と接続されて、マスタPLC20およびマスタPLC20を介して各スレーブPLC22,24等の状態に関する情報を取得する。そして、取得結果に基づいてPLCの保守作業を行うための各種処理を実行する。例えば、トラブルシューティングのためのガイド情報を表示等する。本例においては、図1(A)に示されるようにマスタPLC20を介して各PLCの状態に関する情報を取得する場合について説明するが、特に当該構成に限られず、図1(B)に示されるようにネットワーク26に接続されて各PLCの状態に関する情報を取得する構成としても良い。
 一般的に、工場内における生産機器の制御等に使用されるPLCとしては、通常の制御対象を制御するスタンダード型のもの(スタンダードPLC)と安全用に用いられる安全型のもの(安全PLC)とが知られている。
 スタンダードPLCは、制御プログラムに基づいて演算実行するCPUユニット、入力機器を接続してそれらのオン・オフ信号を入力信号として取り込む入力ユニット、出力機器を接続してそれらに対して出力信号を送り出す出力ユニット、ネットワークに接続された他の装置とデータの送受を行なう通信ユニット、各ユニットに電源を供給する電源ユニット、などの複数のユニットを組み合わせることにより構成されている。これらのユニットは、内部バスにより電気的に接続され、その内部バスを介して所定のユニット間でデータの送受を行なう。
 このCPUユニットは例えば、INデータである入力機器のON信号またはOFF信号を入力し、入力したON/OFF情報をユーザプログラムによって論理演算し、演算結果であるOUTデータを出力機器へ出力する。その出力が出力機器に対する動作指示となって出力機器が動作するといった処理をサイクリックに繰り返し実行することにより、生産設備を制御する。
 そして、ネットワークに接続された各スタンダードPLCは、通信システムを構成し、各通信ユニットを介してデータの送受信を実行する。この点で、複数のPLCのうちの少なくとも1つがマスタPLCとしてネットワーク上の通信を管理し、他のPLC(本例においてはスレーブPLCとも称する)はマスタPLCの指示に従い互いにデータ通信を実行する。
 安全PLCは、安全面の自己診断機能を内蔵させることにより、その制御において、高度な信頼性を確保したものである。安全PLCの自己診断結果により異常を検出した場合には、自己の制御が危険につながらないように、強制的に安全な制御を行うような機能(フェールセーフ機能)を備えている。
 安全PLCは、安全I/Oターミナルに対してネットワーク通信する通信マスタ機能を備えていて、安全マスタと称されることもある。また、安全I/Oターミナルは、安全スレーブとも称される。
 安全スレーブは、安全PLCの通信マスタ機能との間でネットワーク通信機能、つまり、マスタに従って制御される通信スレーブ機能を備えている。安全スレーブは接続端子を備えていて、その接続端子に、オンオフ信号を出すスイッチ等の安全入力機器と、制御信号の出力先となる安全出力機器との少なくとも一方が接続されている。
 安全入力機器の例は、非常停止スイッチSW、ライトカーテン、ドアスイッチ、2ハンドスイッチなどである。安全出力機器の例は、安全リレーやコンタクタである。これらの安全入力機器または安全出力機器も安全規格に対応している。安全スレーブは、接続された安全用途機器から入力した信号に基づいて制御データを生成し、生成した制御データを安全PLCへネットワーク通信する。
 安全PLCや安全スレーブもスタンダードPLCと基本的に同種の機能を有している。
 安全PLCは、通信ユニットを介して安全スレーブからネットワーク通信により入力した安全入力機器の入力信号を入力し、予め記憶されたロジックプログラムによってその入力信号のオンオフを論理演算する。その演算結果に基づく出力信号を通信ユニットを介してネットワーク通信により安全スレーブへ出力する。安全スレーブは、その出力信号を安全出力機器へ出力する。この一連の動作を繰り返し実行することにより、安全PLCにより製造器ロボットを含むシステム全体を制御することが可能である。また、安全スレーブに接続された安全出力機器であるところの安全リレーやコンタクタは、製造器ロボットや加工機械、切断機械等につながれていて、リレーやコンタクタの接点がオン中は製造器ロボット等が動作し、接点がオフ中は製造器ロボット等が停止するようになっている。よって、安全PLCは、安全出力機器をオンオフ制御することで、最終的な制御対象の操作ロボット等の動作停止に関する制御を実行する。
 図2は、マスタPLC20の機能構成を概略的に示すブロック図である。
 図2を参照して、マスタPLC20には、制御部124と、不揮発性メモリ122と、内部メモリ126と、通信部128とが含まれている。当該機能は、複数のユニット、例えばCPUユニット、通信ユニット等を組み合わせて実現されるものである。
 制御部124は、マイクロプロセッサ等を主体として構成されており、PLC全体を統括管理する。
 不揮発性メモリ122内には、例えば、送信用データ指定テーブル等が格納されている。この送信用データ指定テーブルの内容は、開発支援装置(PC10)が所定のツール機能を実行することにより変更するようにしても良い。当該送信用データ指定テーブルは、例えば送信用データに対応付けられて、当該送信用データを送信する送信先となるPLC等の情報が格納されたものである。これに従いPLC間でのデータ通信等が実行される。
 内部メモリ126は、制御部124と通信部128との間を中継するものであって、その内部には送信あるいは受信バッファが格納される。また、当該内部メモリ126は、ワーキングメモリとしても用いられる。
 通信部128は送受信回路で構成され、内部メモリ126内の送信用バッファに格納された送信用データを、別のPLCに宛てて送信すると共に、他のPLC(スレーブPLC22,スレーブPLC24など)からの送信用データを受信して、これを内部メモリ126内の受信バッファに格納する。こうして内部メモリ126内の受信バッファに格納された受信用データは、適当なタイミングで制御部124から読み出され、ユーザプログラムの実行に利用される。また、内部メモリ126内の送信バッファに格納された送信用データも、適当なタイミングで、通信部128から読み出され、各スレーブPLC22あるいはスレーブPLC24へと宛ててネットワーク26上に送信される。
 なお、ここでは、マスタPLCの機能構成の概略について説明したが、スレーブPLCまた、後述する安全マスタ、安全スレーブについても基本的には同様の機能構成を有しており、各装置との間でのデータ通信が可能なように構成されている。
 本例においては、マスタPLCおよびスレーブPLCの各々は、データ通信(通信処理)の際に通信ログを記録し、不揮発性メモリ122内に格納するものとする。当該通信ログは、通信処理の時刻情報と通信状態に関する情報(例えば、正常に通信されたあるいは異常)等を含む。
 図3は、本実施の形態1に従うPC10のハードウェア構成を示す概略ブロック図である。
 図3を参照して、図中に示されるブロック図は代表的な構成例を表すものである。
 PC10は、少なくとも、装置全体を統括し制御するCPU11と、マウス操作やキーボード操作等を含む入力操作部12と、表示処理を行う表示部13と、操作入力処理や、所定の演算処理、表示画面に対する画像処理等に使用されるワークRAM14と、外部への通信インターフェースを司る通信部16と、記憶装置15とを含む。記憶装置15には、当該情報処理装置10が有する通信システムのPLCの保守作業を行うためのサポートプログラムが格納されており、当該プログラムを読み込むことにより本願における各種の処理が実行される。
 また、各部は、内部バス17に接続された形態で構成されている。
 なお、上記したように、当該PC10は、当該システムを構築するPLCの設計のための開発支援装置であっても良い。具体的には、パソコンに所定のツールソフトを組み込んで構成するようにしても良い。そして、開発支援装置で設計されたPLCがそれぞれのPLCにダウンロードされて種々の機能を実現することが可能である。そして、当該開発支援装置の機能の一部として通信システムの異常の有無を診断するための機能を設けるようにして本例における処理を実行することも可能である。
 図4は、本実施の形態1に従うPC10のCPU11において実行される機能ブロックを説明する図である。
 図4を参照して、本例においては、PC10は、各PLCから通信状態に関する履歴情報として通信ログを取得するログ取得部102と、取得した通信ログを編集するログ編集部104と、編集した通信ログから必要に応じてログを抽出するログ抽出部106と、抽出されたログを表示するログ表示部108とを含む。
 図5は、本実施の形態1に従う通信システムにおいて通信異常が生じた場合を説明する図である。
 図5を参照して、当該通信システムにおいて、本例においては、スレーブPLC22からマスタPLC20を介してスレーブPLC24に対してデータが送信される場合について説明する。
 そして、本例においては、マスタPLC20からスレーブPLC24に対してデータ通信される際に通信異常が発生したものとする。
 各PLCには、当該データ通信における通信ログが記録される。本例においては、一例としてマスタPLC20は、通信ログが記録された通信ログ群LBを保持しているものとする。また、スレーブPLC22は、通信ログ群LAを保持しているものとする。また、スレーブPLC24は、通信ログ群LCを保持しているものとする。
 そして、PC10は、各PLCに対して記録されている通信ログの送信を要求する。そして、各PLCは、当該送信要求に対して自己が保存している通信ログをPC10に対して送信する。
 本例においては、スレーブPLC22を装置「A」、マスタPLC20を装置「B」、スレーブPLC24を装置「C」としてデータ通信を実行する場合について説明する。
 通信ログ群LAには、時刻T0において、装置Aから装置Bに対して正常にデータ送信された場合が記録されている「送信OK(A→B)」。時刻T4において、装置Cから装置Aに対するデータ通信が無かったためにタイムアウトが生じた場合が記録されている「タイムアウト(A←C)」。
 通信ログ群LBには、時刻T1において、装置Bが装置Aから正常にデータを受信した場合が記録されている「受信OK(B←A)」。時刻T2において、装置Bから装置Cに対して正常にデータ送信ができなかった場合が記録されている「送信NG(B→C)」。時刻T3において、装置Cから装置Bに対するデータ通信が無かったためにタイムアウトが生じた場合が記録されている「タイムアウト(B←C)」。
 図6は、本実施の形態1に従う通信システムにおいてPC10が処理する通信ログの一例を説明する図である。
 図6を参照して、PC10のログ取得部102は、各PLCから通信ログを取得する。具体的には、本例においては、マスタPLC20およびスレーブPLCの通信ログ群LA,LBを取得する。なお、本例においては、通信異常が生じているためスレーブPLC24からは通信ログ群LCは取得していないものとする。
 PC10のログ編集部104は、通信ログ群LA,LBに含まれている通信ログに含まれる時刻(時刻情報)に従って時系列に従って編集する。
 本例においては、時刻T0~T4まで時系列に従って編集された場合が示されている。
 そして、ログ抽出部106は、ログ編集部104により編集された通信ログのうち通信状態として通信に異常が生じていることを示す通信異常情報を有する通信ログの発生から所定時間内の通信ログを抽出する。具体的には、本例においては、「送信NG」、「タイムアウト」が通信異常情報を指し示す通信ログに相当するものとする。
 一例として、当該通信異常情報を有する通信ログの発生から所定時間内の通信ログとして、通信異常情報を有する通信ログ(エラーログとも称する)を基準に前後、所定時間(所定範囲)内の通信ログを抽出する。
 当該処理により、通信異常情報を有する通信ログのみ抽出して表示するのではなく、また、全ての通信ログを表示するのでもなく、通信異常情報を有する通信ログを基準に前後、所定時間内の通信ログを抽出することにより、通信異常情報を有する通信ログ(エラーログ)等を含む一連の通信ログを一括して表示することが可能となる。これにより相互に関連のあるエラー状態を容易に把握することが可能である。
 なお、本例においては、エラーログを基準に所定時間内の通信ログを抽出する方式について説明したが、当該所定時間については、当業者が適宜変更することが可能である。また、本例においては、通信ログを基準に前後の所定時間内の通信ログを抽出する場合について説明したが、発生したエラーログを基準にそれ以降の通信ログを抽出するようにしても良い。
 (変形例)
 図7は、本実施の形態1の変形例に従う通信システムにおいて通信異常が生じた場合を説明する図である。
 図7を参照して、本実施の形態1の変形例に従う通信システムは、安全マスタおよび安全スレーブをさらに含む。具体的には、安全マスタおよび安全スレーブが、マスタPLCおよびスレーブPLCと組合わせられて通信システムを構成している場合が示されている。本例においては、安全マスタおよび安全スレーブは、マスタPLCあるいはスレーブPLCと協働して動作する。一例として、安全マスタ30はスレーブPLC22と連結され、安全スレーブ32はスレーブPLC24と連結されている場合が示されている。当該連結により安全マスタ30は、スレーブPLC22の内部バスを介してネットワーク26と接続されてデータ通信を実行する。また、安全スレーブ32は、スレーブPLC24の内部バスを介してネットワーク26と接続されてデータ通信を実行する。
 本例においては、安全マスタ30から安全スレーブ32に対してデータを送信する場合について説明する。そして、本例においては、スレーブPLC24から安全スレーブ32に対してデータ通信される際に通信異常が発生したものとする。
 各PLCには、当該データ通信における通信ログが記録される。本例においては、一例としてマスタPLC20は、通信ログが記録された通信ログ群LB#を保持しているものとする。また、スレーブPLC22は、通信ログ群LA#を保持しているものとする。また、スレーブPLC24は、通信ログ群LC#を保持しているものとする。また、安全マスタ30は、通信ログ群LDを保持しているものとする。また、安全スレーブ32は、通信ログ群LEを保持しているものとする。
 そして、PC10は、各PLCに対して記録されている通信ログの送信を要求する。そして、各PLCは、当該送信要求に対して自己が保存している通信ログをPC10に対して送信する。
 本例においては、スレーブPLC22を装置「A」、マスタPLC20を装置「B」、スレーブPLC24を装置「C」、安全マスタ30を装置「D」、安全スレーブ32を装置「E」としてデータ通信を実行する場合について説明する。
 通信ログ群LDには、時刻T10において、装置Dから装置Aに対して正常にデータ送信された場合が記録されている「送信OK(D→A)」。時刻T20において、装置Eから装置Dに対するデータ通信が無かったためにタイムアウトが生じた場合が記録されている「タイムアウト(D←E)」。
 通信ログ群LA#には、時刻T11において、装置Aが装置Dから正常にデータを受信した場合が記録されている「受信OK(A←D)」。そして、時刻T12において、装置Aから装置Bに対して正常にデータ送信された場合が記録されている「送信OK(A→B)」。時刻T19において、装置Bから装置Aに対するデータ通信が無かったためにタイムアウトが生じた場合が記録されている「タイムアウト(A←B)」。
 通信ログ群LB#には、時刻T13において、装置Bが装置Aから正常にデータを受信した場合が記録されている「受信OK(B←A)」。時刻T14において、装置Bから装置Cに対して正常にデータ送信された場合が記録されている「送信OK(B→C)」。時刻T18において、装置Cから装置Bに対するデータ通信が無かったためにタイムアウトが生じた場合が記録されている「タイムアウト(B←C)」。
 通信ログ群LC#には、時刻T15において、装置Cが装置Bから正常にデータを受信した場合が記録されている「受信OK(C←B)」。時刻T16において、装置Cから装置Eに対して正常にデータ通信できなかった場合が記録されている「送信NG(C→E)」。時刻T17において、装置Eから装置Cに対するデータ通信が無かったためにタイムアウトが生じた場合が記録されている「タイムアウト(C←E)」。
 図8は、本実施の形態1の変形例に従う通信システムにおいてPC10が処理する通信ログの一例を説明する図である。
 図8を参照して、PC10のログ取得部102は、各PLCから通信ログを取得する。具体的には、本例においては、マスタPLC20、スレーブPLCの通信ログ群LA#,LB#,LC#を取得する。さらに、安全マスタ30の通信ログ群LDを取得する。なお、本例においては、通信異常が生じているため安全スレーブ32からは通信ログ群LEは取得していないものとする。
 PC10のログ編集部104は、通信ログ群LA#~LC#,LDに含まれている通信ログに含まれる時刻(時刻情報)に従って時系列に従って編集する。
 本例においては、時刻T10~T20まで時系列に従って編集された場合が示されている。
 そして、ログ抽出部106は、ログ編集部104により編集された通信ログのうち通信状態として通信に異常が生じていることを示す通信異常情報を有する通信ログの発生から所定時間内の通信ログを抽出する。具体的には、本例においては、「送信NG」、「タイムアウト」が通信異常情報を指し示す通信ログに相当するものとする。
 一例として、当該通信異常情報を有する通信ログの発生から所定時間内の通信ログとして、通信異常情報を有する通信ログ(エラーログとも称する)を基準に前後、所定時間(所定範囲)内の通信ログを抽出する。
 当該処理により、通信異常情報を有する通信ログのみ抽出して表示するのではなく、また、全ての通信ログを表示するのでもなく、通信異常情報を有する通信ログを基準に前後、所定時間内の通信ログを抽出することにより、通信異常情報を有する通信ログ(エラーログ)等を含む一連の通信ログを一括して表示することが可能となる。これにより相互に関連のあるエラー状態を容易に把握することが可能である。
 なお、本例においては、安全マスタ30および安全スレーブ32がスレーブPLCと連結される場合について説明したが、当該構成に限られず、例えば、安全マスタ30と連結される構成としても良い。
 (実施の形態2)
 上記の実施の形態1およびその変形例においては、通信異常情報を有する通信ログを基準に所定時間内の通信ログを抽出する場合について説明したが、本実施の形態2においては抽出した通信ログに基づいてさらにエラー状態を容易に把握する方式について説明する。
 図9は、本実施の形態2に従うPC10のCPU11において実行される機能ブロックを説明する図である。
 図9を参照して、本例においては、PC10は、各PLCから通信状態に関する履歴情報として通信ログを取得するログ取得部102と、取得した通信ログを編集するログ編集部104と、編集した通信ログから必要に応じてログを抽出するログ抽出部106と、抽出された通信ログに関して後述する異常原因分析データベースを参照して、異常原因を特定する異常原因特定部107と、異常原因特定部107により特定された異常原因を表示する原因表示部109とを含む。また、本例における記憶装置15は、異常原因と、少なくとも1つ以上の通信異常情報を有する通信ログを含む異常パターンとが対応付けられて格納された異常原因分析データベースDB(単にデータベースDBとも称する)を有する。当該データベースDBには、異常パターンとして複数のエラーパターンデータDPが格納されており、当該エラーパターンデータDPは、エラー要因と、当該エラー要因を推定する通信ログパターンとが対応付けられている。ここでは、一例として複数のタイムアウトの組み合わせとエラー要因とが関連付けられている場合が示されている。
 本実施の形態2においては、異常原因特定部107が抽出した通信ログに従って当該データベースDBを参照して、異常原因を特定する。具体的には、抽出した通信異常情報を有する通信ログに基づいて、データベースDBを参照して抽出した通信ログのパターンに対応するエラーパターンデータDPが有るか否か判断する。そして、当該エラーパターンデータDPが有る場合には、当該エラーパターンデータDPに従ってエラー要因を特定する。そして、原因表示部109が当該特定した異常原因を表示部13に表示する。なお、エラー要因として1つに限られず、複数の要因が有る場合には複数の要因を表示するものとする。
 なお、当該エラーパターンデータDPは、予めシミュレーションや実験等により通信ログのパターンと、異常原因となるパターンとを分析して作成されたものである。なお、本例においては、予め記憶装置15に格納されている場合について説明するが、サーバ等からダウンロードして保存するようにすることも当然に可能である。
 図10は、本実施の形態2に従う表示部13に表示されたトラブルシュートログ表示を説明する図である。
 図10を参照して、本例においては、原因表示部109が当該トラブルシュートログを表示部13に表示した場合について説明する。
 本例においては、一例として、図8で説明した通信異常情報を有する通信ログの発生から所定時間内の通信ログを抽出して、時刻T10~T20までの通信ログが抽出されて表示されるとともに、当該抽出結果に基づいて特定された異常原因が示されている。
 具体的には、異常の内容として「安全スレーブとの通信で通信タイムアウトが発生しました。」と表示されるとともに、その要因として本例においては4つの要因例が示されている。なお、4つの要因例が示されているが1つの要因例とすることも可能であるし、さらに複数の要因例を表示するようにすることも可能である。また、可能性の高い順に表示するようにしても良い。
 具体的には、(1)設定異常 マスタPLCのタスク実行タイムアウト時間が小さすぎる値に設定されている。(2)過度のノイズが発生した。(3)マスタPLCにシステム異常が発生した(4)安全スレーブPLCに異常が発生した。本装置に何らかの異常が発生し、プロセスデータ通信が正しく実行されなかった。
 当該表示により、ユーザは、エラーの原因を容易に把握することが可能である。これにより、エラーの原因を容易に把握して、障害を除去する箇所を容易に特定することが可能となる。
 なお、上記表示例は一例であり、他の通信ログ等の組み合わせに基づいて他のエラーパターンデータDPに従う表示処理を実行することも当然に可能である。
 また、本実施の形態におけるプログラムとして、パーソナルコンピュータで実行可能なアプリケーションを提供してもよい。このとき、本実施の形態に係るプログラムは、パーソナルコンピュータ上で実行される各種アプリケーションの一部の機能として組み込まれてもよい。
 今回開示された実施の形態は例示であって、上記内容のみに制限されるものではない。本発明の範囲は請求の範囲によって示され、請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。
 10 情報処理装置、11 CPU、12 入力操作部、13 表示部、14 RAM、15 記憶装置、16,128 通信部、17 内部バス、20,22,24 PLC、26 ネットワーク、30 安全マスタ、32 安全スレーブ、102 ログ取得部、104 ログ編集部、106 ログ抽出部、107 異常原因特定部、108 ログ表示部、109 原因表示部、122 不揮発性メモリ、124 制御部、126 内部メモリ。

Claims (6)

  1.  ネットワーク上の通信を管理するマスタ装置と、前記ネットワークと接続され前記マスタ装置の指示に従い通信が可能な少なくとも1つのスレーブ装置とで形成される通信システムの動作状態を収集する情報処理装置であって、
     前記マスタ装置および前記スレーブ装置は、通信処理に従い時刻情報および通信状態に関する通信ログを記録し、
     前記情報処理装置は、
      前記マスタ装置および前記スレーブ装置の少なくとも一方から前記通信ログを取得する取得部と、
      時刻情報に基づいて取得した通信ログを編集するログ編集部と、
      前記ログ編集部により編集された通信ログのうち通信状態として通信に異常が生じていることを示す通信異常情報を有する通信ログの発生から所定時間内の通信ログを抽出するログ抽出部とを備える、情報処理装置。
  2.  前記情報処理装置は、
      前記抽出した通信ログを表示する表示部をさらに備える、請求項1記載の情報処理装置。
  3.  前記通信システムには、安全に関連する機器と接続される安全スレーブ装置と、前記安全スレーブ装置を管理するための安全マスタ装置とが設けられ、
     前記安全スレーブ装置あるいは前記安全マスタ装置は、前記マスタ装置および前記スレーブ装置の少なくとも一方と接続され、
     前記安全マスタ装置は、前記マスタ装置を介して前記安全スレーブ装置に対して指示するように構成され、
     前記安全マスタ装置および前記安全スレーブ装置は、前記通信処理に従い時刻情報および通信状態に関する通信ログを記録し、
     前記取得部は、前記安全マスタ装置および前記安全スレーブ装置の少なくとも一方から前記通信ログをさらに取得する、請求項1記載の情報処理装置。
  4.  前記情報処理装置は、
      異常原因と、少なくとも1つ以上の通信異常情報を有する通信ログを含む異常パターンとが対応付けられて格納された異常原因分析データベースと、
      前記抽出された通信ログに関して、前記異常原因分析データベースを参照して、異常原因を特定する異常原因特定部とをさらに備える、請求項1~3のいずれかに記載の情報処理装置。
  5.  ネットワーク上の通信を管理するマスタ装置と、前記ネットワークと接続され前記マスタ装置の指示に従い通信が可能な少なくとも1つのスレーブ装置とで形成される通信システムの動作状態を収集する情報処理装置の制御方法であって、
     前記マスタ装置および前記スレーブ装置には、通信処理に従い時刻情報および通信状態に関する通信ログが記録され、
     前記マスタ装置および前記スレーブ装置の少なくとも一方から前記通信ログを取得するステップと、
     時刻情報に基づいて取得した通信ログを編集するステップと、
     編集された通信ログのうち通信状態として通信に異常が生じていることを示す通信異常情報を有する通信ログの発生から所定時間内の通信ログを抽出するステップとを備える、情報処理装置の制御方法。
  6.  ネットワーク上の通信を管理するマスタ装置と、前記ネットワークと接続され前記マスタ装置の指示に従い通信が可能な少なくとも1つのスレーブ装置とで形成される通信システムの動作状態を収集する情報処理装置のコンピュータが実行する制御プログラムであって、
     前記マスタ装置および前記スレーブ装置には、通信処理に従い時刻情報および通信状態に関する通信ログが記録され、
     前記プログラムは、前記コンピュータに、
     前記マスタ装置および前記スレーブ装置の少なくとも一方から前記通信ログを取得するステップと、
     時刻情報に基づいて取得した通信ログを編集するステップと、
     編集された通信ログのうち通信状態として通信に異常が生じていることを示す通信異常情報を有する通信ログの発生から所定時間内の通信ログを抽出するステップとを備える、処理を実行させる、情報処理装置の制御プログラム。
PCT/JP2014/065626 2013-06-13 2014-06-12 情報処理装置、情報処理装置の制御方法および制御プログラム WO2014200070A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201480026403.1A CN105209987B (zh) 2013-06-13 2014-06-12 信息处理装置、信息处理装置的控制方法及记录介质
EP14811741.9A EP2990896A4 (en) 2013-06-13 2014-06-12 INFORMATION PROCESSING DEVICE AND INFORMATION PROCESSING CONTROL METHOD AND CONTROL PROGRAM
US14/892,751 US10114358B2 (en) 2013-06-13 2014-06-12 Information processing device, information processing device control method and control program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2013-124413 2013-06-13
JP2013124413A JP6127755B2 (ja) 2013-06-13 2013-06-13 情報処理装置、情報処理装置の制御方法および制御プログラム

Publications (1)

Publication Number Publication Date
WO2014200070A1 true WO2014200070A1 (ja) 2014-12-18

Family

ID=52022356

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2014/065626 WO2014200070A1 (ja) 2013-06-13 2014-06-12 情報処理装置、情報処理装置の制御方法および制御プログラム

Country Status (5)

Country Link
US (1) US10114358B2 (ja)
EP (1) EP2990896A4 (ja)
JP (1) JP6127755B2 (ja)
CN (1) CN105209987B (ja)
WO (1) WO2014200070A1 (ja)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019159362A1 (ja) * 2018-02-19 2019-08-22 株式会社Fuji 作業装置および作業装置の動作確認方法
WO2020230433A1 (ja) * 2019-05-13 2020-11-19 オムロン株式会社 制御装置

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017173971A (ja) * 2016-03-22 2017-09-28 ブラザー工業株式会社 情報収集システム、情報収集方法、及び、端末装置
JP6356726B2 (ja) 2016-05-19 2018-07-11 ファナック株式会社 ラダープログラム解析装置
WO2018049308A1 (en) * 2016-09-09 2018-03-15 Fanuc America Corporation Program and variable change analysis
JP6870347B2 (ja) * 2017-01-31 2021-05-12 オムロン株式会社 情報処理装置、情報処理プログラムおよび情報処理方法
JP6852421B2 (ja) * 2017-01-31 2021-03-31 オムロン株式会社 情報処理装置、情報処理プログラムおよび情報処理方法
JP6816554B2 (ja) * 2017-02-22 2021-01-20 オムロン株式会社 制御システム、制御装置および制御プログラム
JP6460137B2 (ja) * 2017-03-06 2019-01-30 オムロン株式会社 制御装置、制御方法、およびプログラム
JP6874438B2 (ja) 2017-03-14 2021-05-19 オムロン株式会社 スレーブ装置、スレーブ装置の制御方法、情報処理プログラム、および記録媒体
JP6504190B2 (ja) * 2017-03-14 2019-04-24 オムロン株式会社 制御装置および情報処理方法
JP6851273B2 (ja) * 2017-07-06 2021-03-31 三菱電機株式会社 プラント監視制御装置
JP2019169089A (ja) * 2018-03-26 2019-10-03 オムロン株式会社 ネットワーク管理装置、管理方法、管理プログラムおよび記録媒体
JP7192243B2 (ja) * 2018-05-11 2022-12-20 オムロン株式会社 解析支援装置及び解析支援方法
JP7110715B2 (ja) * 2018-05-14 2022-08-02 オムロン株式会社 モータ制御装置および設定装置
JP7052602B2 (ja) * 2018-07-02 2022-04-12 日本電信電話株式会社 生成装置、生成方法及び生成プログラム
WO2020095420A1 (ja) * 2018-11-08 2020-05-14 中国電力株式会社 情報処理装置及び異常可視化システム
KR20200098157A (ko) * 2019-02-12 2020-08-20 삼성전자주식회사 대형 디스플레이에 발생한 결함을 감지하기 위한 디스플레이 시스템
JP7484252B2 (ja) 2020-03-13 2024-05-16 オムロン株式会社 端末監視装置
EP3882771A1 (en) * 2020-03-16 2021-09-22 Leica Microsystems CMS GmbH Control system and method for operating a system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006277728A (ja) * 2005-03-01 2006-10-12 Omron Corp プログラマブル・コントローラ・システム
JP2010079450A (ja) * 2008-09-24 2010-04-08 Toyo Electric Corp 空間光伝送装置
JP2011141779A (ja) * 2010-01-08 2011-07-21 Panasonic Corp サーボシステム
JP2012208931A (ja) 2011-03-15 2012-10-25 Omron Corp Plcシステム、情報表示方法、plc、および保守装置

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4908746A (en) * 1986-10-15 1990-03-13 United States Data Corporation Industrial control system
JPH05274193A (ja) * 1992-03-25 1993-10-22 Oki Electric Ind Co Ltd ログ編集機能付コンピュータシステム
JP2000151605A (ja) * 1998-11-09 2000-05-30 Hitachi Ltd 通信ネットワーク管理支援システム
EP1396771B1 (en) 2001-05-31 2016-02-17 Omron Corporation Slave units and network system as well as slave unit processing method and device information collecting method
JP2004259079A (ja) * 2003-02-27 2004-09-16 Hitachi Ltd データ処理システム
JP2004348315A (ja) * 2003-05-21 2004-12-09 Fanuc Ltd 通信インタフェースを備えた制御装置
JP4212970B2 (ja) * 2003-06-30 2009-01-21 株式会社キーエンス 安全リレーシステム
US6968292B2 (en) * 2004-03-02 2005-11-22 Paragon Technical Services, Inc. Industrial controller event logging
JP3754692B2 (ja) * 2004-03-03 2006-03-15 株式会社エヌ・ティ・ティ・ドコモ 通信網管理装置及びジャーナルデータ管理方法
WO2005091098A1 (ja) * 2004-03-22 2005-09-29 Digital Electronics Corporation 表示器、コンピュータを表示器として機能させるためのプログラムプロダクト、およびそのプログラムプロダクトを格納した記録媒体
DE102004052343A1 (de) * 2004-10-27 2006-05-11 Bosch Rexroth Aktiengesellschaft Verfahren und Vorrichtung zur Auswertung von Maschinenzuständen in Schrittketten
US7881812B2 (en) * 2005-09-29 2011-02-01 Rockwell Automation Technologies, Inc. Editing and configuring device
JP2007312043A (ja) * 2006-05-17 2007-11-29 Omron Corp リモートi/oシステム
JP2008005039A (ja) * 2006-06-20 2008-01-10 Aruze Corp 無線通信障害監視システム、並びに無線通信障害監視装置
US20080313228A1 (en) * 2007-06-15 2008-12-18 Rockwell Automation Technologies, Inc. Controller log and log aggregation
CN101075915A (zh) * 2007-06-28 2007-11-21 中兴通讯股份有限公司 通信设备中snmp的日志功能实现方法
JP2011134061A (ja) * 2009-12-24 2011-07-07 Hitachi Industrial Equipment Systems Co Ltd プログラマブルコントローラ
JP5518594B2 (ja) * 2010-06-30 2014-06-11 三菱電機株式会社 内部ネットワーク管理システム及び内部ネットワーク管理方法及びプログラム
US9294946B2 (en) * 2010-08-27 2016-03-22 Qualcomm Incorporated Adaptive automatic detail diagnostic log collection in a wireless communication system
US20120290107A1 (en) 2011-05-12 2012-11-15 John Carlson Apparatus and method for displaying state data of an industrial plant

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006277728A (ja) * 2005-03-01 2006-10-12 Omron Corp プログラマブル・コントローラ・システム
JP2010079450A (ja) * 2008-09-24 2010-04-08 Toyo Electric Corp 空間光伝送装置
JP2011141779A (ja) * 2010-01-08 2011-07-21 Panasonic Corp サーボシステム
JP2012208931A (ja) 2011-03-15 2012-10-25 Omron Corp Plcシステム、情報表示方法、plc、および保守装置

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Omron Corporation, CX-Programmer support software Ver. 9.0", JAPANESE-LANGUAGE VERSION, 2009
See also references of EP2990896A4 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019159362A1 (ja) * 2018-02-19 2019-08-22 株式会社Fuji 作業装置および作業装置の動作確認方法
JPWO2019159362A1 (ja) * 2018-02-19 2021-02-25 株式会社Fuji 作業装置および作業装置の動作確認方法
JP7075475B2 (ja) 2018-02-19 2022-05-25 株式会社Fuji 作業装置および作業装置の動作確認方法
WO2020230433A1 (ja) * 2019-05-13 2020-11-19 オムロン株式会社 制御装置
US11740604B2 (en) 2019-05-13 2023-08-29 Omron Corporation Control device

Also Published As

Publication number Publication date
CN105209987A (zh) 2015-12-30
US20160091883A1 (en) 2016-03-31
JP6127755B2 (ja) 2017-05-17
US10114358B2 (en) 2018-10-30
EP2990896A1 (en) 2016-03-02
CN105209987B (zh) 2018-04-03
JP2015001758A (ja) 2015-01-05
EP2990896A4 (en) 2016-07-20

Similar Documents

Publication Publication Date Title
JP6127755B2 (ja) 情報処理装置、情報処理装置の制御方法および制御プログラム
US20170068229A1 (en) Control system, method, program, and information processing device
US9984244B2 (en) Controller, information processing apparatus, and recording medium
CN108009081B (zh) 工程设计工具协同装置及工程设计工具协同方法
EP3336637A1 (en) Control system, control program, and control method
JP5274667B2 (ja) 安全ステップの判定方法および安全マネージャ
JP6111675B2 (ja) 安全コントローラのユーザプログラムの設計を支援する方法、装置およびプログラム
TWI559107B (zh) 監視控制裝置
US10545471B2 (en) Evaluation system, safety controller, computer readable storage medium, and evaluation method
JP2018067282A (ja) 工業用自動化制御装置のための改良型テストマネージャ
JP2016012173A (ja) プログラマブル表示器
CN108572611B (zh) 信息处理装置、信息处理方法及计算机可读取记录媒体
JP2009042913A (ja) マルチplc・分散制御システムにおけるツール装置
US20220342380A1 (en) Control system, support device, and support program
US10678231B2 (en) Production controller equipped with function of identifying cause upon operation stop of production facility including manufacturing facilities
JP2007304939A (ja) プログラマブルコントローラおよびモニタ
EP4036664A1 (en) Support device, support program, and setting method
US20150236901A1 (en) Control system management apparatus
US20220173974A1 (en) Network management device, management method, and recording medium
US11092945B2 (en) Control device, control method, and non-transitory storage medium storing control program
EP3506034B1 (en) Control system
JP6163735B2 (ja) 安全スレーブユニット、その制御方法、その制御プログラム、および安全制御システム
WO2023053511A1 (ja) 制御システム、情報処理方法および情報処理装置
JP2015185083A (ja) 機器管理装置および機器管理方法
WO2024042126A1 (en) Method and system for managing technical installation during occurrence of error state in a controller

Legal Events

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

Ref document number: 14811741

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 14892751

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 2014811741

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE