WO2012056539A1 - Logging setup device, logging setup method and recordable medium - Google Patents
Logging setup device, logging setup method and recordable medium Download PDFInfo
- Publication number
- WO2012056539A1 WO2012056539A1 PCT/JP2010/069113 JP2010069113W WO2012056539A1 WO 2012056539 A1 WO2012056539 A1 WO 2012056539A1 JP 2010069113 W JP2010069113 W JP 2010069113W WO 2012056539 A1 WO2012056539 A1 WO 2012056539A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- unit
- logging
- input
- logging setting
- start address
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B23/00—Testing or monitoring of control systems or parts thereof
- G05B23/02—Electric testing or monitoring
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/05—Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
- G05B19/058—Safety, monitoring
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/05—Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Definitions
- the present invention relates to a logging setting device that performs logging setting of a programmable controller (PLC), a logging setting method, and a recording medium that records a program that causes a computer to execute the logging setting method.
- PLC programmable controller
- PLCs have a function for logging device values. Which device is targeted for logging is set in the PLC using a programming device (logging setting device).
- logging setting device a programming device
- a user creates a user program with reference to an example in an instruction manual (hereinafter simply referred to as a manual), it is described as an operation example of the referenced part for comparison with the operation example described in the manual. You may want to log the same device value as the current device.
- Patent Document 1 As a technique for assisting the user in setting a device, for example, in Patent Document 1, when a device such as a solenoid or a coil that the user wants to monitor is specified, a device related to the specified device is searched from the user program, and all related A technique related to an apparatus that monitors a state including a device is disclosed.
- the present invention has been made in view of the above, and is a logging setting device capable of performing logging setting as easily as possible, a logging setting method, and a recording in which a program for causing a computer to execute the logging setting method is recorded
- the purpose is to obtain a medium.
- the present invention accepts an input specifying a device, and forms a model name of a unit constituting a programmable controller (PLC) to be set for logging and a device used by the unit.
- PLC programmable controller
- a unit information acquisition unit that acquires the model name of the unit that uses the specified device and the start address of the unit from the unit information list that describes the correspondence with the start address of the address space.
- the correspondence between the name of the typical example of the control operation and the related device group related to the control operation is stored together with the start address dependency indicating the relationship between the device address and the start address for each device constituting the related device group.
- Logging setting item group database and the user acquired by the unit information acquisition unit A related item group extraction unit that searches the logging setting item group database using a model name as a search key and extracts a list of typical examples of control operations related to the unit, and the control operation extracted from the user
- the logging setting item database stores the address of each device constituting the related device group associated with the selected control operation in response to an input for selecting one of the list of names.
- a device change unit that changes based on the start address dependency and the acquired start address, and a logging setting output unit that sets each device constituting the changed related device group as a logging target. It is characterized by that.
- the logging setting device can perform logging setting as easily as possible since the user can collectively set logging related devices to the selected device.
- FIG. 1 is a diagram illustrating a configuration example of a PLC that is a target of logging setting.
- FIG. 2 is a diagram illustrating an example of a user program related to control of an intelligent unit (positioning unit) described in a manual.
- FIG. 3 is a timing chart showing an operation example of the intelligent unit according to the program example shown in FIG.
- FIG. 4 is a diagram illustrating an example of a program in the case where the head XY is 20 and the axis 3 is a driving target.
- FIG. 5 is a diagram illustrating a configuration example of a programming device as a logging setting device according to the present embodiment.
- FIG. 6 is a diagram illustrating a functional configuration of the programming device according to the present embodiment.
- FIG. 1 is a diagram illustrating a configuration example of a PLC that is a target of logging setting.
- FIG. 2 is a diagram illustrating an example of a user program related to control of an intelligent unit (positioning unit) described in a manual
- FIG. 7 is a diagram for explaining an example of the data structure of the logging setting item group DB.
- FIG. 8 is a flowchart illustrating a logging setting method according to the embodiment of this invention.
- FIG. 9 is a diagram illustrating an example of a user program editing screen.
- FIG. 10 is a diagram illustrating an example of the logging setting screen.
- FIG. 11 is a diagram illustrating an example of a list display screen of a logging setting item group.
- FIG. 12 is a diagram illustrating an example of a related device list display screen after changing the device address.
- FIG. 13 is a diagram illustrating an operation example of the intelligent unit when the changed device is set as a logging target.
- FIG. 1 is a diagram illustrating a configuration example of a programmable controller (PLC) that is a target of logging setting. As shown in the figure, the PLC 1 is configured by connecting a CPU unit 2 and an intelligent unit 3 as one of the subunits to a bus unit 4.
- PLC programmable controller
- the CPU unit 2 is a unit that comprehensively controls the entire PLC 1 based on the user program 25.
- the intelligent unit 3 includes a separate CPU 31 different from the CPU unit 2 and operates as a slave of the CPU unit 2 based on a unique program (unit program 33). Examples of the intelligent unit 3 include a positioning unit that calculates a drive command for a servo amplifier that drives a motor attached to a drive shaft or the like based on a command from the user program 25.
- the CPU unit 2 can be further added to the bus unit 4 so that the CPU unit 2 can be duplicated, or another sub unit other than the intelligent unit 3 can be mounted. Yes.
- the CPU unit 2 includes a CPU 21, a storage device 22, and a communication interface 23. Each of these elements is connected to each other by an internal bus.
- the storage device 22 includes a ROM (Read Only Memory), a RAM (Random Access Memory), and the like, and stores a unit information list 24, a user program 25, and logging setting data 26.
- a device address is assigned to the storage device 22, and a device memory area 27 in which device values are stored and a log data storage area 28 in which log data is stored are secured.
- the unit information list 24 is a list of unit information in which the model name of the sub unit mounted on the bus unit 4 and the head XY that is the offset address of the device to which the sub unit is assigned are described. The leading XY changes depending on the mounting position of the subunit.
- the logging setting data 26 is setting information describing a device to be logged.
- the unit information list 24 and the logging setting data 26 are set by the user together with the user program 25 using a programming device. Note that there may be a case where the mounting position and model name are automatically acquired from the unit in which the CPU unit 2 is mounted, and the unit information list 24 is automatically created based on the acquired information. In some cases, the user may arbitrarily set the top XY for each subunit by editing the unit information list 24 using a programming device.
- the CPU21 performs control of the subunit with which the same PLC1 is provided by running the user program 25.
- FIG. the CPU 21 acquires an input value written in an input device assigned to the device memory area 27 from the subunit to the subunit, and uses the acquired input value for the subunit. Calculate the output value. Further, the CPU 21 stores the calculated output value in a predetermined output device assigned to the device memory area 27 for the subunit.
- the CPU 21 not only inputs / outputs data to / from the subunit via a device, but also stores intermediate data in a device different from the input device or the output device in the device memory area 27.
- the device address is also assigned to a buffer memory area 34 provided in the intelligent unit 3 to be described later, and the CPU 21 designates the device address assigned to the buffer memory area 34 so as to Direct access is also possible.
- the CPU 21 sequentially acquires the device address value set in the logging setting data 26 and accumulates and stores the acquired device value in the log data storage area 28 as log data.
- the user acquires the log data sequentially input to the log data storage area 28 from the programmable display in substantially real time to monitor the control operation of the PLC 1 or program the log data stored and stored in the log data storage area 28 It can be acquired from the device or programmable display at a predetermined timing and used for subsequent analysis.
- the communication I / F 23 is a communication interface for connecting an external device, and the user connects the programming device of the present embodiment to the communication I / F 23 to set the user program 25 and the logging setting data 26. Be able to.
- the intelligent unit 3 includes a CPU 31 and a storage device 32.
- the CPU 31 and the storage device 32 are connected to each other by a bus.
- the storage device 32 is configured by a ROM, a RAM, or the like, and stores a unit program 33.
- a buffer memory area 34 is secured in the storage device 32.
- the unit program 33 is a program that operates in response to a command from the user program 25, and implements a function required for the intelligent unit 3 when executed by the CPU 31. For example, when the intelligent unit 3 is a positioning unit, when a position command is input from the user program 25, the CPU 31 calculates a drive command with a finer granularity than the input position command based on the unit program 33.
- the CPU 31 stores intermediate data generated when the unit program 33 is executed in a predetermined area in the buffer memory area 34.
- Input / output between the CPU unit 2 and the intelligent unit 3 is executed using a device allocated to the device memory area 27 or the buffer memory area 34. Further, the CPU unit 2 can acquire the above-described intermediate data stored in the buffer memory area 34 by using a device assigned to the buffer memory area 34.
- the intelligent unit 3 is a positioning unit capable of driving control of a plurality of axes, and the plurality of axes are assigned an axis number in ascending order from 1 so that they can be distinguished from each other.
- FIG. 2 is a diagram for explaining an example of a user program related to the control of the intelligent unit (positioning unit) 3 described in the manual.
- the manual is created so that the head XY of the allocation address of the intelligent unit 3 has a zero value and the drive control of the axis 1 is performed.
- a positioning start signal Y10, a start completion signal X10, and a positioning start command pulse M104 are used in the user program.
- FIG. 3 is a timing chart showing an operation example of the intelligent unit 3 according to the program example shown in FIG. Normally, the manual stores not only the devices used in the program example but also intermediate data when the program example is executed so that the user can check whether the user program has been created correctly. An example of the operation of a device closely related to the example program is described.
- the sequencer ready signal Y0, the unit preparation completion signal X0, the BUSY signal XC, and the positioning completion signal X14, error detection signal X8 and feed rate U0 ⁇ G804 are shown to perform closely related operations.
- the intelligent unit 3 turns on the unit preparation completion signal X0. Thereafter, when the CPU unit 2 turns on the positioning start signal Y10, the intelligent unit 3 starts driving control of the shaft 1 and turns on the start completion signal X10 and the BUSY signal XC. The intelligent unit 3 turns on the positioning completion signal X14 in a pulse manner every time the shaft 1 reaches the position commanded by the position command.
- the intelligent unit 3 completes a series of operations determined by the unit program 33, it turns off the BUSY signal, confirms that the BUSY signal is turned off, and the CPU unit 2 turns off the positioning start signal.
- the intelligent unit 3 turns off the start completion signal X10 after confirming that the positioning start signal is turned off.
- the intelligent unit 3 sequentially outputs the current feed speed as intermediate data to a position to which the device U0 ⁇ G804 is assigned.
- the device U0 ⁇ G804 is a device for storing intermediate data allocated to the buffer memory area 34, and is normally not used in the user program 25.
- the intelligent unit 3 turns on the error detection signal X8 when an error is detected during operation.
- Y10, Y0, X0, X10, XC, X14, X8, U0 ⁇ G804 are taken up as devices closely related to the program example of FIG. 2, and an operation example is described for each device.
- the user sets Y10, Y0, X0, X10, XC, X14, X8, U0 ⁇ G804 as the logging target. It is good to set.
- a plurality of devices whose operation examples are described in a manual setting example, such as X10, Y0, X0, X10, XC, X14, X8, U0 ⁇ G804, are related device groups, Individual devices constituting the related device group are referred to as related devices.
- FIG. 4 shows a program example in the case where the head XY is 20 and the axis 3 is the driving target.
- the positioning start signal for which Y10 was used has been changed to Y32.
- “32” of Y32 has an offset “22” obtained by adding the value “2” obtained by subtracting 1 from the head XY value “20” and the axis number to “10” of the manual address Y10. It is an added value.
- the start completion signal in which X10 was manually used is changed to X32 by adding the offset “22”.
- the numeric part of the device address depends on the head XY and whether it depends on the axis number differs depending on the device, so it is difficult for the user to change the address for each related device and set it as a logging target. It is a complicated task.
- the related device is registered in advance for each related device group so that the user can easily set the device address to be logged, and the address of each related device is automatically set.
- the main feature is that it can be changed.
- FIG. 5 is a diagram illustrating a configuration example of a programming device as a logging setting device according to the present embodiment.
- the logging setting device is described as being implemented as a function of the programming device.
- the logging setting device may be configured as a device different from the programming device.
- the programming device 5 has a configuration of a normal computer including a CPU 51, a RAM 52, a ROM 53, a communication I / F 54, an external storage device 55, a CD-ROM drive 56, an input device 57, and an output device 58.
- the CPU 51, RAM 52, ROM 53, communication I / F 54, external storage device 55, CD-ROM drive 56, input device 57, and output device 58 are connected to each other via a bus.
- the CPU 51 executes a logging setting program 62 that is a computer program for executing logging settings.
- the output device 58 is a display device such as a liquid crystal monitor, and displays output information for the user such as an operation screen based on an instruction from the CPU 51.
- the input device 57 includes a mouse and a keyboard, and an operation on the programming device 5 from a user is input. The operation information input to the input device 57 is sent to the CPU 51.
- the communication I / F 54 is a connection interface for performing communication with the CPU unit 2.
- a user program 25 and logging setting data 26 are set in the CPU unit 2 via the communication I / F 54.
- the ROM 53 stores boot information for starting the programming device 5.
- the CPU 51 stores a system program (not shown) stored in an external storage device 55 configured by, for example, a hard disk drive based on the boot information. And the programming device 5 is activated.
- the logging setting program 62 is stored in the external storage device 55.
- the logging setting program 62 is loaded into the RAM 52 via the bus line.
- the CPU 51 executes a logging setting program 62 loaded in the RAM 52.
- the external storage device 55 stores a unit information list 60 and a user program 61 in advance.
- the user program 61 is created using, for example, the programming device 5, and the unit information list 60 is obtained from the PLC 1, for example.
- the CPU 51 executes various steps described later by executing the logging setting program loaded in the RAM 52, and outputs logging setting data.
- the logging setting program 62 may be stored on a computer connected to a network such as the Internet and provided or distributed by being downloaded via the network.
- the logging setting program 62 may be provided or distributed via a network such as the Internet.
- the logging setting program 62 may be configured to be incorporated in the ROM 53 or the like and provided to the programming device 5.
- the CD-ROM drive 56 is a device for reading information recorded on the CD-ROM 59.
- the logging setting program 62 may be provided or distributed by being stored in a computer-readable recording medium such as the CD-ROM 59.
- the logging setting program 62 recorded on the CD-ROM 59 may be read via the CD-ROM 59 and installed in the external storage device 55 or may be loaded directly into the RAM 52. .
- FIG. 6 is a diagram illustrating a functional configuration of the programming device 5 realized by executing the logging setting program 62 loaded in the RAM 52.
- the programming device 5 includes a unit information acquisition unit 70, a related item group extraction unit 71, a logging setting item group database (DB) 72, a related item group display / selection unit 73, an offset reflection unit 74, and a logging setting.
- An output unit 75 is provided.
- Each of these functional components is generated in the RAM 52, for example.
- the unit information acquisition unit 70 searches the unit information list 60 based on input from the user via the input device 57, and acquires unit information (unit model name and head XY) related to the logging target unit.
- the unit information is acquired from the unit information list 60 stored in advance in the external storage device 55.
- the programming device 5 is connected to the PLC 1, the unit set in the CPU unit 2 is used. You may make it acquire from the information list 24.
- FIG. 1 is based on input from the user via the input device 57, and acquires unit information (unit model name and head XY) related to the logging target unit.
- the unit information is acquired from the unit information list 60 stored in advance in the external storage device 55.
- the programming device 5 is connected to the PLC 1, the unit set in the CPU unit 2 is used. You may make it acquire from the information list 24.
- the logging setting item group DB 72 is a database that manages the association between the logging setting item and the related device list related to the logging setting item for each unit.
- FIG. 7 is a diagram for explaining an example of the data structure of the logging setting item group DB 72.
- the logging setting item group DB 72 has a table-type data structure having fields that describe a model name, a logging setting item name, and a related device.
- the logging setting item name is a name for identifying a related device group.
- the related device group is defined for each program example described in the manual, it is recommended to use a name that makes it easy to identify the program examples described in the manual as the logging setting item name.
- the related device group according to the program example of FIG. 2 is given the logging setting item name “block start control”.
- the number of logging setting item names registered per unit type name is not particularly limited.
- the same device address may be registered in related devices of a plurality of logging setting items.
- the head XY dependency and the axis number dependency are registered as attribute information of each device for each related device.
- values to be added to the numeric part of the device address when the head XY is ⁇ and the axis number is ⁇ + 1 are registered.
- “Y10” becomes “Y (10 + ⁇ + ⁇ )” after the device address is changed when the head XY is changed to ⁇ and the axis number is changed to ⁇ + 1.
- “Y0”, “X0”, and “U0 ⁇ G804” do not depend on the axis number for the device address.
- U0 ⁇ G804 is added with a value obtained by dividing the value ⁇ of the head XY by the value “10” in hexadecimal notation as an offset.
- the related item group extraction unit 71 searches the logging setting item group DB 72 using the unit type name acquired by the unit information acquisition unit 70 as a search key, and extracts the logging setting item belonging to the unit type name.
- the related item group display / selection unit 73 displays the items extracted by the related item group extraction unit 71 on the output device 58, and receives selection input of items desired by the user among the displayed items.
- the offset reflection unit 74 displays the attribute information of each related device, the head XY acquired by the unit information acquisition unit 70, and the axis number of the logging target for each related device belonging to the logging setting item selected by using the offset reflection unit 74. By reflecting, the device address after the change of each related device is calculated.
- the logging setting output unit 75 outputs logging setting data D1 in which the device address after the change of each related device calculated by the offset reflection unit 74 is set as a logging target.
- the logging setting data D1 is set to the CPU unit 2 after being output to the RAM 52 or the external storage device 55, for example.
- FIG. 8 is a flowchart for explaining the logging setting method according to the embodiment of the present invention realized by using the programming device 5.
- step S1 the user performs input for designating a device (step S1).
- the device can be specified from the editing screen of the user program 61.
- a pull-down menu including “Add to logging setting item” and “Add related item to logging setting item” when the cursor is moved to “SET Y32” and a predetermined click operation is performed. Appears.
- the programming device 5 recognizes the designation input of the device “Y32”.
- “add to logging setting item” is selected, “Y32” is independently designated and input as a logging target without performing the steps described below.
- FIG. 10 is a diagram illustrating an example of the logging setting screen when “Y32” is designated as a logging target alone. As shown in the figure, only “Y32” is listed as a logging target.
- the unit information acquisition unit 70 acquires unit information in which the unit type name of the subunit that uses the selected device and the head XY are described (step S2).
- the related item group extraction unit 71 searches the logging setting item group DB 72 using the acquired unit type name as a search key, and acquires a list of logging setting item groups (step S3). Further, the related item group extraction unit 71 calculates an axis number based on the attribute information of the related device registered in the logging setting item group DB 72, the input device, and the acquired head XY (step S4).
- the related item group display / selection unit 73 displays the acquired logging setting item group as a list, and prompts the selection input of the logging setting item (step S5).
- FIG. 11 is a diagram illustrating an example of a list display screen of a logging setting item group. In this figure, in addition to the logging setting item group, the acquired unit model name and the acquired head XY are displayed. In addition, “block start control” in the logging setting item group is actively displayed.
- the offset reflecting unit 74 reflects the offset relating to the calculated head number XY and the axis number calculated on the related device constituting the related device group of the selected logging setting item.
- the address is changed (step S7).
- the logging setting output unit 75 outputs logging setting data targeting each related device after changing the device address (step S8), and the logging setting is completed.
- FIG. 12 is an example of a related device list display screen after the device address is changed.
- the addresses Y10, Y0, X0, X10, XC, X14, X8, U0 ⁇ G804 of the related devices related to “block start control” are Y32, Y20, X20, X32, X2E, X36, X2A, respectively.
- the list is changed to U2 ⁇ G804.
- logging setting data for Y32, Y20, X20, X32, X2E, X36, X2A, U2 ⁇ G804 is output.
- FIG. 13 is a diagram for explaining an operation example of the intelligent unit 3 when the changed device (Y32, Y20, X20, X32, X2E, X36, X2A, U2 ⁇ G804) is set as a logging target.
- the addresses of the related devices in the program example related to “block start control” were appropriately converted according to the head XY and the axis number, respectively. Therefore, the operation example described in the manual shown in FIG. This makes it possible to examine whether there is an error in the user program.
- the programming device 5 automatically calculates the axis number.
- the user may input the axis number.
- Y0 and X0 shown in FIG. 7 do not depend on the axis number. Therefore, when “Y20” is selected and input, the axis number cannot be specified. In such a case, it is necessary to specify an axis number by the user.
- the positioning unit that performs drive control of a plurality of axes has been described as an example of the intelligent unit 3, but a unit including a plurality of input / output systems (for example, A / D conversion of one or more input systems (channels) is performed.
- the embodiment of the present invention can be applied to any unit as long as it is an A / D conversion unit.
- the axis number may be interpreted as the input / output system identification number.
- the related device group has been described as being defined for each program example described in the manual, the related device group is not limited to the program description example, but is defined for each typical example of the control operation. Also good. Thereby, it is possible to reduce the labor for the user to individually set the related devices related to the operation registered in the logging setting item group database 72, not only when comparing the operation with the manual.
- the logging setting item group database 72 may be configured to be editable by the user.
- the programming device 5 70 is configured to automatically correct the logging setting data D1 by detecting the editing or changing of the unit information list, reacquiring unit information for each device, and executing the operation in step S3 and subsequent steps in the programming device 5. May be. With this configuration, it is possible to reduce the trouble of changing the logging target device address every time the subunit mounting position is changed.
- the correspondence between the name of the typical example of the control operation and the related device group related to the control operation for each unit is set for each device constituting the related device group.
- a logging setting item group database 72 stored together with the head XY dependency; a list of typical names of control operations relating to units using the logging target device is extracted from the logging setting item group database 72; Since the address of each related device constituting the related device group associated with one selected by the user from the extracted list of names is changed based on the top XY dependency, the user Allows you to configure logging settings for all devices related to the selected device. So it is possible to perform.
- the intelligent unit 3 not described in the user program 25 can be set as a logging target even for a device used as an intermediate data storage area.
- the logging setting device and the logging setting method according to the present invention are suitable for application to a logging setting device and a logging setting method for performing PLC logging settings.
Abstract
Description
図1は、ロギング設定の対象となるプログラマブルコントローラ(PLC)の構成例を説明する図である。図示するように、PLC1は、CPUユニット2と、サブユニットのうちの1つとしてのインテリジェントユニット3とがバスユニット4に接続されて構成されている。 Embodiment.
FIG. 1 is a diagram illustrating a configuration example of a programmable controller (PLC) that is a target of logging setting. As shown in the figure, the
2 CPUユニット
3 インテリジェントユニット
4 バスユニット
5 プログラミング装置
21 CPU
22 記憶装置
23 通信インタフェース
24 ユニット情報リスト
25 ユーザプログラム
26 ロギング設定データ
27 デバイスメモリ領域
28 ログデータ格納領域
31 CPU
32 記憶装置
33 ユニットプログラム
34 バッファメモリ領域
51 CPU
52 RAM
53 ROM
54 通信インタフェース
55 外部記憶装置
56 CD-ROMドライブ
57 入力装置
58 出力装置
60 ユニット情報リスト
61 ユーザプログラム
62 ロギング設定プログラム
70 ユニット情報取得部
71 関連項目群抽出部
72 ロギング設定項目群データベース
73 関連項目群表示/選択部
74 オフセット反映部
75 ロギング設定出力部 1 PLC
2
22
32
52 RAM
53 ROM
54
Claims (7)
- デバイスを指定する入力を受け付けて、ロギング設定対象のプログラマブルコントローラ(PLC)を構成するユニットの形名と当該ユニットが使用するデバイスアドレス空間の先頭アドレスとの対応を記述した予め作成されたユニット情報リストから、前記指定されたデバイスを使用するユニットの形名および当該ユニットの先頭アドレスを取得するユニット情報取得部と、
ユニット毎に制御動作の典型例の名称と当該制御動作にかかる関連デバイス群との対応付けを、関連デバイス群を構成するデバイス毎にデバイスアドレスと先頭アドレスとの関係を示す先頭アドレス依存性とともに記憶しているロギング設定項目群データベースと、
前記ユニット情報取得部が取得したユニットの形名を検索キーとして前記ロギング設定項目群データベースを検索して、当該ユニットにかかる制御動作の典型例の名称の一覧を抽出する関連項目群抽出部と、
ユーザから前記抽出した制御動作の名称の一覧のうちの一つを選択する入力を受け付けて、前記選択された制御動作に対応づけられている関連デバイス群を構成する夫々のデバイスのアドレスを前記ロギング設定項目群データベースが記憶している先頭アドレス依存性と前記取得した先頭アドレスとに基づいて変更するデバイス変更部と、
前記変更された関連デバイス群を構成する夫々のデバイスをロギング対象に設定するロギング設定出力部と、
を備えることを特徴とするロギング設定装置。 Pre-created unit information list that accepts input specifying a device and describes the correspondence between the model names of the units constituting the programmable controller (PLC) to be set for logging and the start address of the device address space used by the unit From the unit information acquisition unit that acquires the model name of the unit that uses the specified device and the start address of the unit,
Stores the correspondence between the name of a typical control operation for each unit and the related device group related to the control operation, along with the start address dependency indicating the relationship between the device address and the start address for each device constituting the related device group. Logging setting item group database,
A related item group extraction unit that searches the logging setting item group database using the unit model name acquired by the unit information acquisition unit as a search key, and extracts a list of typical examples of control operations related to the unit;
Accepting an input for selecting one of the extracted list of control operation names from the user, and logging the addresses of the respective devices constituting the related device group associated with the selected control operation A device changing unit that changes based on the start address dependency stored in the setting item group database and the acquired start address;
A logging setting output unit for setting each device constituting the changed related device group as a logging target; and
A logging setting device comprising: - 前記ユニット情報リストは、前記ロギング設定対象のPLCまたは当該PLCのユーザプログラムを作成するプログラミング装置に予め格納されている、ことを特徴とする請求項1に記載のロギング設定装置。 2. The logging setting device according to claim 1, wherein the unit information list is stored in advance in a programming device for creating the PLC for logging setting or a user program of the PLC.
- PLCを構成するユニットは、複数系統の入出力を実行する複数系統入出力ユニットを含み、
前記ロギング設定項目群データベースは、前記複数系統入出力ユニットが使用するデバイス毎にデバイスアドレスと入出力系統との関係を示す入出力系統依存性を記憶し、
前記デバイス変更部は、前記選択された制御動作に対応づけられている関連デバイス群を構成する夫々のデバイスのうち前記複数系統入出力ユニットが使用するデバイスのアドレスを前記ロギング設定項目群データベースに記憶されている先頭アドレス依存性および入出力系統依存性に基づいて変更する、
ことを特徴とする請求項1に記載のロギング設定装置。 The units constituting the PLC include a plurality of input / output units that execute input / output of a plurality of systems,
The logging setting item group database stores input / output system dependency indicating a relationship between a device address and an input / output system for each device used by the multiple system input / output unit.
The device changing unit stores, in the logging setting item group database, addresses of devices used by the multiple-system input / output units among the respective devices constituting the related device group associated with the selected control operation. Change based on the start address dependency and input / output dependency
The logging setting device according to claim 1. - 前記ユニット情報取得部は、前記ユニット情報リストの変更を検知したとき、前記指定されたデバイスを使用するユニットの形名および当該ユニットの先頭アドレスを再取得する、
ことを特徴とする請求項1に記載のロギング設定装置。 When the unit information acquisition unit detects a change in the unit information list, the unit information acquisition unit re-acquires the model name of the unit that uses the specified device and the start address of the unit.
The logging setting device according to claim 1. - デバイスを指定する入力を受け付けるデバイス指定入力受け付けステップと、
ロギング設定対象のプログラマブルコントローラ(PLC)を構成するユニットの形名と当該ユニットが使用するデバイスアドレス空間の先頭アドレスとの対応を記述した予め作成されたユニット情報リストから、前記指定されたデバイスを使用するユニットの形名および当該ユニットの先頭アドレスを取得するユニット情報取得ステップと、
ユニット毎に制御動作の典型例の名称と当該制御動作にかかる関連デバイス群との対応付けを、関連デバイス群を構成するデバイス毎にデバイスアドレスと先頭アドレスとの関係を示す先頭アドレス依存性とともに記憶しているロギング設定項目群データベースを前記ユニット情報取得部が取得したユニットの形名を検索キーとして検索して、当該ユニットにかかる制御動作の典型例の名称の一覧を抽出する関連項目群抽出ステップと、
ユーザから前記抽出した制御動作の名称の一覧のうちの一つを選択する入力を受け付ける制御動作入力受け付けステップと、
前記選択された制御動作に対応づけられている関連デバイス群を構成する夫々のデバイスのアドレスを前記ロギング設定項目群データベースが記憶している先頭アドレス依存性と前記取得した先頭アドレスとに基づいて変更するデバイス変更ステップと、
前記変更された関連デバイス群を構成する夫々のデバイスをロギング対象に設定するロギング設定出力ステップと、
を備えることを特徴とするロギング設定方法。 A device specification input reception step for receiving an input for specifying a device;
Use the specified device from the unit information list created in advance that describes the correspondence between the model name of the unit that configures the programmable controller (PLC) for logging setting and the start address of the device address space used by the unit. A unit information acquisition step for acquiring the model name of the unit to be performed and the start address of the unit;
Stores the correspondence between the name of a typical control operation for each unit and the related device group related to the control operation, along with the start address dependency indicating the relationship between the device address and the start address for each device constituting the related device group. A related item group extraction step of searching the logging setting item group database that is used by the unit information acquisition unit as a search key and extracting a list of typical names of control operations related to the unit When,
A control operation input receiving step for receiving an input for selecting one of the extracted list of names of the control operations from the user;
The address of each device constituting the related device group associated with the selected control operation is changed based on the start address dependency stored in the logging setting item group database and the acquired start address. A device change step to
A logging setting output step of setting each device constituting the changed related device group as a logging target; and
A logging setting method comprising: - PLCを構成するユニットは、複数系統の入出力を実行する複数系統入出力ユニットを含み、
前記ロギング設定項目群データベースは、前記複数系統入出力ユニットが使用するデバイス毎にデバイスアドレスと入出力系統との関係を示す入出力系統依存性を記憶し、
前記デバイス変更ステップにおいて、前記選択された制御動作に対応づけられている関連デバイス群を構成する夫々のデバイスのうち前記複数系統入出力ユニットが使用するデバイスのアドレスを前記ロギング設定項目群データベースに記憶されている先頭アドレス依存性および入出力系統依存性に基づいて変更する、
ことを特徴とする請求項5に記載のロギング設定方法。 The units constituting the PLC include a plurality of input / output units that execute input / output of a plurality of systems,
The logging setting item group database stores input / output system dependency indicating a relationship between a device address and an input / output system for each device used by the multiple system input / output unit.
In the device changing step, the address of the device used by the multiple-system input / output unit among the devices constituting the related device group associated with the selected control operation is stored in the logging setting item group database. Change based on the start address dependency and input / output dependency
The logging setting method according to claim 5, wherein: - デバイスを指定する入力を受け付けるデバイス指定入力受け付けステップと、
ロギング設定対象のプログラマブルコントローラ(PLC)を構成するユニットの形名と当該ユニットが使用するデバイスアドレス空間の先頭アドレスとの対応を記述した予め作成されたユニット情報リストから、前記指定されたデバイスを使用するユニットの形名および当該ユニットの先頭アドレスを取得するユニット情報取得ステップと、
ユニット毎に制御動作の典型例の名称と当該制御動作にかかる関連デバイス群との対応付けを、関連デバイス群を構成するデバイス毎にデバイスアドレスと先頭アドレスとの関係を示す先頭アドレス依存性とともに記憶しているロギング設定項目群データベースを前記ユニット情報取得部が取得したユニットの形名を検索キーとして検索して、当該ユニットにかかる制御動作の典型例の名称の一覧を抽出する関連項目群抽出ステップと、
ユーザから前記抽出した制御動作の名称の一覧のうちの一つを選択する入力を受け付ける制御動作入力受け付けステップと、
前記選択された制御動作に対応づけられている関連デバイス群を構成する夫々のデバイスのアドレスを前記ロギング設定項目群データベースが記憶している先頭アドレス依存性と前記取得した先頭アドレスとに基づいて変更するデバイス変更ステップと、
前記変更された関連デバイス群を構成する夫々のデバイスをロギング対象に設定するロギング設定出力ステップと、
をコンピュータに実行させるプログラムを記録したコンピュータに読み取り可能な記録媒体。 A device specification input reception step for receiving an input for specifying a device;
Use the specified device from the unit information list created in advance that describes the correspondence between the model name of the unit that configures the programmable controller (PLC) for logging setting and the start address of the device address space used by the unit. A unit information acquisition step for acquiring the model name of the unit to be performed and the start address of the unit;
Stores the correspondence between the name of a typical control operation for each unit and the related device group related to the control operation, along with the start address dependency indicating the relationship between the device address and the start address for each device constituting the related device group. A related item group extraction step of searching the logging setting item group database that is used by the unit information acquisition unit as a search key and extracting a list of typical names of control operations related to the unit When,
A control operation input receiving step for receiving an input for selecting one of the extracted list of names of the control operations from the user;
The address of each device constituting the related device group associated with the selected control operation is changed based on the start address dependency stored in the logging setting item group database and the acquired start address. A device change step to
A logging setting output step of setting each device constituting the changed related device group as a logging target; and
The computer-readable recording medium which recorded the program which makes a computer perform.
Priority Applications (6)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020137012316A KR101472697B1 (en) | 2010-10-27 | 2010-10-27 | Logging setup device, logging setup method and recordable medium |
DE112010005963.2T DE112010005963B4 (en) | 2010-10-27 | 2010-10-27 | Log setting device, logging setting method and recording medium |
JP2012540579A JP5312695B2 (en) | 2010-10-27 | 2010-10-27 | Logging setting device, logging setting method, and recording medium |
PCT/JP2010/069113 WO2012056539A1 (en) | 2010-10-27 | 2010-10-27 | Logging setup device, logging setup method and recordable medium |
CN201080069816.XA CN103180789B (en) | 2010-10-27 | 2010-10-27 | Daily record setting device, daily record establishing method |
TW100112169A TWI448858B (en) | 2010-10-27 | 2011-04-08 | Logging setting device, method for setting logging, and recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2010/069113 WO2012056539A1 (en) | 2010-10-27 | 2010-10-27 | Logging setup device, logging setup method and recordable medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2012056539A1 true WO2012056539A1 (en) | 2012-05-03 |
Family
ID=45993294
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2010/069113 WO2012056539A1 (en) | 2010-10-27 | 2010-10-27 | Logging setup device, logging setup method and recordable medium |
Country Status (6)
Country | Link |
---|---|
JP (1) | JP5312695B2 (en) |
KR (1) | KR101472697B1 (en) |
CN (1) | CN103180789B (en) |
DE (1) | DE112010005963B4 (en) |
TW (1) | TWI448858B (en) |
WO (1) | WO2012056539A1 (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI499877B (en) * | 2013-04-04 | 2015-09-11 | Mitsubishi Electric Corp | Engineering tool and programmable logic controller |
JP2020013528A (en) * | 2018-10-23 | 2020-01-23 | 株式会社キーエンス | Engineering tool for programmable logic controller |
JP2020067751A (en) * | 2018-10-23 | 2020-04-30 | 株式会社キーエンス | Programmable logic controller system, program creation assisting device, and computer program |
JP2020067752A (en) * | 2018-10-23 | 2020-04-30 | 株式会社キーエンス | Programmable logic controller system, program creation assisting device, and computer program |
JP2020177712A (en) * | 2020-08-07 | 2020-10-29 | 株式会社キーエンス | External setting device |
JP2020190945A (en) * | 2019-05-22 | 2020-11-26 | オムロン株式会社 | Information providing system, server, and information providing method |
US11188048B2 (en) | 2018-10-23 | 2021-11-30 | Keyence Corporation | Programmable logic controller and main unit |
JP7021401B1 (en) * | 2021-01-21 | 2022-02-16 | 三菱電機株式会社 | Logging support device, logging system, logging support method and program |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016012172A (en) * | 2014-06-27 | 2016-01-21 | オムロン株式会社 | Communication system, programmable display, information processing device, operation control method, information processing method, and program |
CN107615191B (en) * | 2015-06-01 | 2019-03-15 | 三菱电机株式会社 | Debugging apparatus and adjustment method |
WO2017212592A1 (en) * | 2016-06-08 | 2017-12-14 | 三菱電機株式会社 | Programmable display device |
CN115427901B (en) * | 2020-04-14 | 2023-10-03 | 三菱电机株式会社 | Storage medium, debug supporting device, and debug supporting method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000172314A (en) * | 1998-12-04 | 2000-06-23 | Mitsubishi Electric Corp | Program peripheral device for programmable controller |
JP2004310592A (en) * | 2003-04-09 | 2004-11-04 | Mitsubishi Electric Corp | Logging processor |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4831582A (en) | 1986-11-07 | 1989-05-16 | Allen-Bradley Company, Inc. | Database access machine for factory automation network |
EP1752843B1 (en) | 2000-03-17 | 2011-07-27 | Digital Electronics Corporation | Control server, control terminal, control system, and recording medium storing control communication program |
EP1739512B1 (en) * | 2004-04-15 | 2010-10-06 | Mitsubishi Denki Kabushiki Kaisha | Programmable logic controller peripheral device and program creation method thereof |
JP4278580B2 (en) * | 2004-07-16 | 2009-06-17 | 三菱電機株式会社 | Program change method, programmable controller, and program editing apparatus. |
JP2007011936A (en) * | 2005-07-04 | 2007-01-18 | Mitsubishi Electric Corp | Programmable display unit |
US7835806B2 (en) | 2007-01-29 | 2010-11-16 | Rockwell Automation Technologies, Inc. | Method for indirect access to controller data using name stored in string tag |
CN101365994B (en) * | 2007-02-19 | 2013-08-21 | 三菱电机株式会社 | Peripheral device of programmable controller, replacing method and program |
US7974828B2 (en) * | 2007-04-27 | 2011-07-05 | Omron Corporation | Simulation device for programmable controller |
US8688258B2 (en) * | 2008-09-11 | 2014-04-01 | Rockwell Automation Technologies, Inc. | Method of controlling a machine tool |
-
2010
- 2010-10-27 DE DE112010005963.2T patent/DE112010005963B4/en active Active
- 2010-10-27 WO PCT/JP2010/069113 patent/WO2012056539A1/en active Application Filing
- 2010-10-27 JP JP2012540579A patent/JP5312695B2/en not_active Expired - Fee Related
- 2010-10-27 CN CN201080069816.XA patent/CN103180789B/en not_active Expired - Fee Related
- 2010-10-27 KR KR1020137012316A patent/KR101472697B1/en not_active IP Right Cessation
-
2011
- 2011-04-08 TW TW100112169A patent/TWI448858B/en not_active IP Right Cessation
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000172314A (en) * | 1998-12-04 | 2000-06-23 | Mitsubishi Electric Corp | Program peripheral device for programmable controller |
JP2004310592A (en) * | 2003-04-09 | 2004-11-04 | Mitsubishi Electric Corp | Logging processor |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI499877B (en) * | 2013-04-04 | 2015-09-11 | Mitsubishi Electric Corp | Engineering tool and programmable logic controller |
JP2020013528A (en) * | 2018-10-23 | 2020-01-23 | 株式会社キーエンス | Engineering tool for programmable logic controller |
JP2020067751A (en) * | 2018-10-23 | 2020-04-30 | 株式会社キーエンス | Programmable logic controller system, program creation assisting device, and computer program |
JP2020067752A (en) * | 2018-10-23 | 2020-04-30 | 株式会社キーエンス | Programmable logic controller system, program creation assisting device, and computer program |
JP7412076B2 (en) | 2018-10-23 | 2024-01-12 | 株式会社キーエンス | Engineering tools for programmable logic controllers |
JP7212496B2 (en) | 2018-10-23 | 2023-01-25 | 株式会社キーエンス | Programmable logic controller system, programming support device and computer program |
JP7173826B2 (en) | 2018-10-23 | 2022-11-16 | 株式会社キーエンス | Programmable logic controller system, programming support device and computer program |
US11188048B2 (en) | 2018-10-23 | 2021-11-30 | Keyence Corporation | Programmable logic controller and main unit |
CN113785268A (en) * | 2019-05-22 | 2021-12-10 | 欧姆龙株式会社 | Information providing system, server, and information providing method |
WO2020235183A1 (en) * | 2019-05-22 | 2020-11-26 | オムロン株式会社 | Information providing system, server, and information providing method |
JP2020190945A (en) * | 2019-05-22 | 2020-11-26 | オムロン株式会社 | Information providing system, server, and information providing method |
JP7303424B2 (en) | 2019-05-22 | 2023-07-05 | オムロン株式会社 | Information provision system, server and information provision method |
CN113785268B (en) * | 2019-05-22 | 2023-12-15 | 欧姆龙株式会社 | Information providing system, server, and information providing method |
JP2020177712A (en) * | 2020-08-07 | 2020-10-29 | 株式会社キーエンス | External setting device |
JP7021401B1 (en) * | 2021-01-21 | 2022-02-16 | 三菱電機株式会社 | Logging support device, logging system, logging support method and program |
WO2022157891A1 (en) * | 2021-01-21 | 2022-07-28 | 三菱電機株式会社 | Logging assistance device, logging system, logging assistance method, and program |
Also Published As
Publication number | Publication date |
---|---|
JP5312695B2 (en) | 2013-10-09 |
DE112010005963T5 (en) | 2013-07-25 |
KR101472697B1 (en) | 2014-12-12 |
TW201217925A (en) | 2012-05-01 |
KR20130103549A (en) | 2013-09-23 |
CN103180789B (en) | 2016-03-02 |
CN103180789A (en) | 2013-06-26 |
TWI448858B (en) | 2014-08-11 |
DE112010005963B4 (en) | 2018-05-03 |
JPWO2012056539A1 (en) | 2014-03-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5312695B2 (en) | Logging setting device, logging setting method, and recording medium | |
JP4462449B2 (en) | Control system setting device | |
US8255799B2 (en) | Dynamic action recorder | |
JP2005327263A (en) | Control system setting device | |
US8676359B2 (en) | Field device management apparatus and computer program | |
JP7043782B2 (en) | Servo motor adjustment device and servo motor adjustment method | |
KR20160119168A (en) | Plotting device and control system | |
JP6372308B2 (en) | Information processing apparatus, information processing method, information processing program, and recording medium | |
TWI541622B (en) | Apparatus for supporting the compilation of a sequence program | |
US11402819B2 (en) | Screen creation device and screen creation system | |
JP3251423B2 (en) | Programming equipment for programmable controllers and functional units for programmable controllers | |
JP4842541B2 (en) | Display device for control, screen data generation device, and program and recording medium thereof | |
JPWO2005114344A1 (en) | How to select engineering tool and engineering tool startup program and add new program | |
EP3104236B1 (en) | Control device, control system, support apparatus, and control-device maintenance management method | |
EP3101537A1 (en) | Control device, control system, control method for control device, and control method for control system | |
JP2008052738A (en) | Automation system and method for clock time, process and/or machine optimization | |
JP2006243841A (en) | Plc tool device | |
JP2011175351A (en) | Screen data preparation device, screen data preparation method, and screen data preparation program | |
KR101896081B1 (en) | Apparatus for displaying menu of HMI program | |
JP2003295910A (en) | Unit, tool equipment, and program product | |
JP2007011728A (en) | Device, method, and program for preparation of operating procedure of general-purpose computer | |
WO2018096675A1 (en) | Processing program conversion device and numeric value control device | |
US20230004146A1 (en) | Machining system, machine tool, information processing system, setting data inheritance method, and setting data inheritance program | |
JP3932751B2 (en) | Production program creation device | |
JP6413990B2 (en) | Servo controller parameter adjusting device, servo system and computer program |
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: 10858928 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2012540579 Country of ref document: JP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 1120100059632 Country of ref document: DE Ref document number: 112010005963 Country of ref document: DE |
|
ENP | Entry into the national phase |
Ref document number: 20137012316 Country of ref document: KR Kind code of ref document: A |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 10858928 Country of ref document: EP Kind code of ref document: A1 |