TW201217925A - Logging setting device, method for setting logging, and recording medium - Google Patents

Logging setting device, method for setting logging, and recording medium Download PDF

Info

Publication number
TW201217925A
TW201217925A TW100112169A TW100112169A TW201217925A TW 201217925 A TW201217925 A TW 201217925A TW 100112169 A TW100112169 A TW 100112169A TW 100112169 A TW100112169 A TW 100112169A TW 201217925 A TW201217925 A TW 201217925A
Authority
TW
Taiwan
Prior art keywords
module
address
input
group
setting
Prior art date
Application number
TW100112169A
Other languages
Chinese (zh)
Other versions
TWI448858B (en
Inventor
Shuichi Tanaka
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Publication of TW201217925A publication Critical patent/TW201217925A/en
Application granted granted Critical
Publication of TWI448858B publication Critical patent/TWI448858B/en

Links

Classifications

    • 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
    • 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
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

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

Abstract

This invention provides a logging setting device which has a logging setting item group data base 72 in which relationship between the descriptions of typical examples of the control action of each unit and the related device group with respect to such a control action are stored along with a leading XY dependency of each device which constitutes the related device group. A list of the descriptions of the typical examples of the control actions with respect to the units which use the devices to be logged is drawn from the logging setting item group data base 72, and the address of each related device which constitutes the related device group is changed according to the leading XY dependency.

Description

201217925 六、發明說明: 【發明所屬之技術領域】 本發明有關於實行可程式化控制器(PLC)之記入設定 之記入設定裝置,記入設定方法以及記錄了用以使電腦執 行該記入設定方法之程式之記錄媒體。 【先前技術】 以刖,於PLC,具備有記入裝置值之功能者。何裝置 做為記入對象,係使用程式規畫裝置(記入設定裝置)設定 於PLC。使用者於參考使用操作說明書(以下,單以手, 之)之記載例製作使用者程式時,為了與手冊所記戴之稱 例進行比較,而會有欲記入與作為已參考之部份之 所記載之裝置相同的裝置值之情況。 作例 另一方面 ’ PLC中有下述構成之類型者:於基广 (base module)安裝整合性地控制plc全體動作之=氐模如 (CPU module)及配合目的而適宜選擇之副模*模紐 module)。該種類型PLC之情形,裝置之分配位址《級(Sul 模組之裴設位置而變化。因而,使用者記入毁定’、十應备1 生了須實行尋求與手冊所記载之裝置對應之骏置之時,氣 特別是,在對於手冊裡一個程式例記載了複數個關作業。 之動作例之情形,需要一個個尋求各自對應該複連骏ϊ 的裝置,對於使用者而言記入設定為非常繁雜之作個裝】 作為支援由使用者所進行之裝置之設定的 /。 如在專利文獻1中公開有關於下述裝置之技術.$者,命 指定欲監視之電磁開關(solenoid)或線圈等萝 使用4 置時’檢^ 332997 4 201217925 由使用者程式已指定之裝置的相關裝置,監視包含全部關 ' 連裝置之狀態之裴置。 •(先前技術文獻) (專利文獻) 專利文獻1 :日本特開2007-11936號公報。 【發明内容】 (發明欲解決的課題) 然而’如根據前述以前的技術則有下述之問題:因藉 由檢查使用者程式而抽出關連各構件,故例如在使用基於 智慧型模組那樣地與使用者程式不同之程式而動作之模組 之情形’會產生該模組無法抽出作為中間資料之儲存區域 使用之裝置的問題。 本發明為有鑑於前述之問題點所開發者,係為得到可 實行儘可忐簡易記入設定之記入設定裝置,記入設定方法 以及記錄了使電腦執行該記入設定方法之程式之記錄媒體 為目的。 (解決課題的手段) 為解決上述問題而達成目的,本發明具有: 接收指定裝置之輸入,由預先作成之記述有構成記入 設定對象之可程式化控制器(pLC)之模組的型名和該模組 使用之裝置位址空間之起始位址之對應之模組資訊列表, 取得使用前述被指定之|置之模組的型名以及該模組之起 始位址之模組資訊取得部; 將依各模組對控制動作之典型例之名稱和有關該控制 332997 5 201217925 關連裝置群心之_性、與依構成關連震 各裝置表示奘罢τ〜 衣置位址和起始位址之關係的起始位址依存性 一起記2的記入設定項目群資料庫; 關鍵將資訊取得部所取得之模組之型名作為檢索 檢索則述记入設定項目群資料庫,且 組之=動作之典型例之名稱一覽之關連項目群^ 4肖者接收用以選擇前述抽出之控 覽裡之-個的輸入,並基於前述記入設定項】=: 記憶之起始位址佑户、目群資料庫所 止依存性和前述取得之起始位 成前述所選擇之抻制议址,而變更構 祐番Μ 作所被賦”聯之關卿置群的各 裝置之位址之裝置變更部;以及 卩裝置群的各 入對:更之關連裝置群之各個敦置設定為記 入對象之δ己入5又疋輸出部。 (發明的效果) 有關本發明之記入設定裝置可達成下述致果:因使用 者可將與已選擇之|置有關之裝置—括地做記入設定,故 而月b儘可此簡易地進行記入役定。 【實施方式】 以下參照圖面詳細說明本發明之記入設定裝置、記入 設定方法以及記錄媒體之實施形態。另外,本 不以 該實施形態為限。 ^ ' 實施形態 第1圖係說明做為記人設定對象之可料化控制器 (PLC)之構成例之圖。如圖所示,PLC1係將c冲模組2與 6 332997 201217925 智慧型模組3(作為5ι丨描& β . 構成。 為曰】椟、及之一者)連接於匯流排模組4而 CPU模組2係根據使用者程式25整合性地控制—【 組。智慧型模組3係具備與CpU模組2不同之另 、U31 ’係為根據獨自之程式(模組程式33)作為cpu 、、且2之從屬(slave)而動作之模組。智慧型模組3之例係 例如$根據由使用者程式25而來之指令,計算出用以驅 動=女裝於驅動軸等之馬達之伺服放大器所用之驅動指令 之定位模、'•且等1外在匯流排模組4,可對應目的復增設 CPU模組2而雙工化cpu模組2,或除智慧型模組3之外復 安裝另外之副模組。 CPU模組2係具備CPU21、記憶裝置22、以及通信介 面23,諸此之各構件以内部匯流排相互連接。 舌己憶裝置22係為由唯讀記憶體(R〇M ; Read 〇nly201217925 VI. Description of the Invention: [Technical Field] The present invention relates to a recording setting device that implements a setting of a programmable controller (PLC), a setting method, and a recording method for causing a computer to execute the setting method. Program recording media. [Prior Art] In the case of PLC, there is a function to record the value of the device. The device is set as the object to be recorded, and is set to the PLC using the program planning device (recording setting device). When the user creates a user program with reference to the description of the operating instructions (hereinafter, by hand, the user's program), in order to compare with the example written in the manual, there is a need to record and refer to the referenced part. The case where the device described has the same device value. On the other hand, the PLC has the following types of components: the base module is installed to control the overall operation of the plc = the CPU module and the submodule * which is suitable for the purpose of matching. New module). In the case of this type of PLC, the device's assigned address "level (the location of the Sul module changes. Therefore, the user is logged into the ruin], the ten should be prepared, and the device described in the manual and the manual must be implemented. In the case of the corresponding Jun, the gas, in particular, describes a plurality of closing operations for a program in the manual. In the case of the operation example, it is necessary to seek a device corresponding to each other, for the user. It is set to support the setting of the device by the user. As disclosed in Patent Document 1, the technology of the following device is disclosed. Solenoid or coil etc. when using 4 sets 'detection 332997 4 201217925 The device related to the device specified by the user program monitors the state of the device including all the devices. (Previous Technical Literature) (Patent Literature) Patent Document 1: Japanese Laid-Open Patent Publication No. 2007-11936. SUMMARY OF THE INVENTION [Problems to be Solved by the Invention] However, as in the foregoing prior art, there is the following problem: The user program extracts the related components, so that, for example, in the case of a module that operates using a program different from the user program based on the smart module, the module cannot be used as a storage area for intermediate data. The present invention has been made in view of the above-mentioned problems, and is a recording setting device that can implement a simple and easy entry setting, a recording setting method, and a recording of a program for causing a computer to execute the recording setting method. For the purpose of the media. (Means for Solving the Problem) In order to achieve the object of solving the above problems, the present invention has: an input for receiving a designation device, and a module for constructing a programmable controller (pLC) to be set in a predetermined setting The module name list corresponding to the start address of the device address space used by the module, and the model name of the module using the specified design and the start address of the module are obtained. Group information acquisition unit; the name of a typical example of the control action according to each module and related control group 332997 5 201217925 The _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ The model name of the module obtained by the department is recorded in the setting project group database as a search search, and the related project name list of the typical example of the group = action is received. In the input of the item, and based on the above-mentioned entry setting item] =: The starting address of the memory, the dependency of the user group, the target group database, and the starting position obtained as described above are the selected ones. And the device change unit that is assigned to the address of each device of the group that is connected to the group, and the pair of devices of the group of the device group: each of the connected devices is set as the object to be recorded. The δ has entered the output of 5 and 。. (Effect of the Invention) With regard to the entry setting device of the present invention, it is possible to achieve the following results: since the user can record the settings relating to the selected device, the monthly b can be easily recorded. Defence. [Embodiment] Hereinafter, embodiments of the entry setting device, the entry setting method, and the recording medium of the present invention will be described in detail with reference to the drawings. In addition, this embodiment is not limited to this embodiment. ^ ' Embodiments Fig. 1 is a view showing a configuration example of a materialization controller (PLC) which is set as a person to be recorded. As shown in the figure, PLC1 connects c-clamp module 2 and 6 332997 201217925 smart module 3 (consisting of 5ι丨 & β. 曰 椟, and one of them) to bus bar module 4 The CPU module 2 is integrally controlled according to the user program 25 - [group]. The smart module 3 is different from the CpU module 2, and the U31' is a module that operates as a cpu and a slave of the slave according to the unique program (module program 33). An example of the smart module 3 is, for example, a positioning mode for driving a drive command for a servo amplifier of a motor such as a driver's shaft, etc. according to an instruction from the user program 25, and etc. 1 The external busbar module 4 can reconfigure the CPU module 2 and duplex the cpu module 2 for the purpose, or install another sub-module in addition to the smart module 3. The CPU module 2 is provided with a CPU 21, a memory device 22, and a communication interface 23, and the respective members are connected to each other by an internal bus bar. The tongue recall device 22 is made up of read-only memory (R〇M; Read 〇nly

Memory)或&機存取 s己憶體(ram ; Rand〇in Access Memory) 等所構成,且記憶著模組資訊列表24、使用者程式25、以 及記入設定資料26。此外’在記憶裝置22中保留:分配 裝置位址,儲存裝置值之裝置記憶區域27 ;以及儲存記錄 為料(log data)之s己錄資料儲存區域28。模組資訊列表24 係為記述有下述者之模組資訊之列表:安裝於匯流排模組 4之副模組之型名和屬於該副模組所使用之裝置之配發目 的地之偏移位址的起始XY。起始χγ係依存該副模組之安 裝位置而變化。記入設定資料26係為已記述了做為記入對 象之裝置之設定資訊。模組資訊列表24及記入設定資料 332997 7 201217925 26係藉錢用者使 時設定者。另外,u…/置而與使用者程式25同 CPU模組2之根缸自方式構成之情形:由安裝有 得之資訊自動裝置位置及型名,基於取 用程式規書Γ 列表24。此外,亦有使用者使 地1每—=編輯模組資訊列表24’藉此由使用者任意 地5又疋母-副模組之起始XY之情形。 思 CPU21係藉由執行使用者程式25 =。具體而言姻係取得由3 4入至針對該職組於装置記憶 人 =輸入值’並使用取得之輪入值計算對於該副::: 輸出值。此外,Γρ丨191政分j偶、、且之 ^ S.T ^ Λ .v 、U已计算出之輸出值儲存於針對 =田吴、且刀配於裝置記憶區域27之預定之輸出裝置。此 夕’ CPU21在其與副模㈣,不僅透過裝置做輸出輸入, 亦有儲存中間資料於褒置記憶顧2?中之與輸入裝置或 輸出裝置不同之裝置之情形。另外,裝置位址亦分配於後 述之曰慧型模組3所具備之緩衝記憶體區域34 ; cpu21亦 可藉由&疋分配於緩衝記憶體㈣%之裝置位址而對於 該缓衝記憶體34進行直接存取。 再者’ CPU21逐次取得設定於記入設定資料%之裝置 Γ址ί值’將所取得之裂置值作為記錄資料,蓄積記憶於 ,己錄貝料儲存區域28。使用者可將逐次輸人於記錄資料儲 f區域28之s己錄資料由可程式化顯示器以略即時地取 付=皿視PLC1之控制動4乍,或可將蓄積記憶於記錄資料 儲存區域28之記錄資料由程式規畫裝置或可程式化顯示 332997 201217925 器以預定之時序一括取得,以供事後之解析。 通信I/F 23係為為了連接外部機器之通信介面,使用 者將本實施形態之程式規畫裝置連接於該通信I/F 23,以 便可實行使用者程式25或記入設定資料26之設定。 智慧型模組3係具備CPU31與記憶裝置3211匯流排 相互連接CPU31以及記憶裝置32。 記憶裝置32係由或RAM所構成者,且記憶模组程 式33。此外’在記憶裝置32保留緩衝記憶體區域%。模 組程式33係依據來自使用者程式25之指令而做動作之程 式’並藉由CPU31執行,從而實現在智慧型模組3所要求 之功能。例如智慧型模組3為定位模組之情形,當由使用 者程式25輸入位置指令時,CPU3U系基於模組程式33,計 算比所輸人之位置指令還解析度細小之驅動指令。cp腿 將使用者程式33執行時所產生之中間資料儲存於在緩衝 S己憶體區域34中之預定區域。CPU模組2與智慧型模組3 之間之輸出輸人係使用分配於裝置記憶該27或者缓衝 S己憶體區域34之裝置而執行。此外,CPU模組2可使用分 衝記憶體區域34之後置,取得儲存於緩衝記憶體區 域34之前述中間資料。另外, ^ 卜在下文中,智慧型模組3為 :=2可進行複數軸之驅動控制之定位模組,且該複 η上由1順序遞増可互相識別者。 記載於手冊,有關智慧型模組(定位細 之=:例之圖。在該手冊中,智慧型模組3 之配發位址之起始ΧΥ為零值,而作為實行^之驅動控制 332997 9 201217925 所作成者。在該手冊m始動信號m =以及定位始動指令脈波_為在使用者; 型模Γ3 示於第2圖所示之程式例所相關之智慧 使::程:手冊中:為肅 置’亦記載了儲存有在執 中間資料之裝置等與該程式例密切有關之裝置之動作例。 根據第3 _時序圖係表示’第2圖之程式除在使用者程 ,中所使用之ΥΙΟ、Χ1〇、圆之外,亦實行PLC READY信 號Y〇、模組準備完成信號xo、BUSY信號xc、定位完成信 號X14、Err〇r檢出信號X8以及進給速度u〇¥G8〇4所各自 密切相關之動作。 具體說明,當CPU模組2將PLC READY信號Y0設為 0N時’智慧型模組3將模組準備完成信號χ〇設為〇N。之 後’當CPU模組2將定位始動信號Y10設為0N時,智慧型 模組3開始軸1之驅動控制,並將始動完成信號χ10以及 BUSY信號xc設為0Ν。接著,智慧型模組3在每次軸1到 達由位置指令所命令之位置時,將定位完成信號X14脈波 性地設為0N。智慧型模組3在完成由程式33所定之一連 串之動作時,將BUSY信號設為OFF,且確認BUSY信號之 OFF後CPU模組2將定位始動信號設為OFF。智慧型模組3 在確認定位始動信號之OFF後將始動完成信號X10設為 OFF。 332997 10 201217925 另外,智慧型模組3將動作中之現在之進給速度作為 中間資料逐次輸出至分配給裝置U0¥G804之位置。裝置 U0¥G804係為分配於緩衝記憶體區域34之為了儲存中間 資料的裝置,通常為在使用者程式25中未所使用之者。此 外,智慧型模組3於動作中檢出錯誤時,將錯誤檢出信號 X8設為0N。 如此’與第2圖之程式例密切有關之装置係提出有 Y10、Y0、X0、X10、xc、Χ14、χ8、U0¥G804,且記載針對 各裝置之動作例。為了確認使用第2圖之程式例而作成之 使用者程式中之前述程式例部份之動作,使用者可將γι〇、 Υ0、Χ0、Χ10、xc、χ14、χ8、U0¥G804 設定為記入對象。 在下文中’如 Y10、Y0、X0、X10、XC、X14、X8、U0¥G804 那樣地,在手冊f對於一個程式之設定例記載有動作例的 複數個裝置稱做關連裝置群,將構成該關連褒置群之各個 裝置稱為關聯裝置。 在此,根據智慧型模組3之安裝位置,起使χγ不為〇 之情形,或將轴1以外者做為控㈣象之情形,會產生將 關連裝置之位址變更使狀必要。第4圖係从始χγ為 20,將軸3做為驅動對象之情形之程式例。 圖所示,在手冊中使用则之定位始動信號被 變更為Υ32。該Υ32之「32」係為將加算起始χγ之值「2〇 和由軸編號減i而得之值「2」後之偏移「%加至手冊裡 的位址YH)之「U)」而成者。與Y32之情形同樣地,手冊 裡使用X1G之始動完成信號係被加上偏移%」而變更為 332997 11 201217925 X32。像這樣地變更之情形,構成記入對象之關連 裝置之位址亦有做變更之鮮。此外,由於裝置位^各 字部份是否依存起始XY,以及是否依存㈣號H數 裝置而不同’故依每1連裝置變更位址而設定記入^ 之作業對使用者而言是繁雜之作業。本發明之實:象 記入設絲置之主要特徵為’依各關連裝置群預先登= 連裝置,而設為可自動變更各關連裝置之位址,=關 者可簡單地設定記入對象之裝置位址。 吏用 第5圖係說明作為本實施形態之記人狀袭置 規畫裝置之構成例之圖。在本實施形態中,雖以記入 裝置作為程式規畫裝置之一個功能被安裝者而做說明^定 記入設定裝置亦可構成與程式規晝裝置不同之装置。,但 所示,程式規晝裝置5係具備著具備有下述者之通常之圖 腦之構成:CPU51、RAM52、R〇M53、通信 i/F54、外= 裝置55、CD-ROM驅動機56、輸入裝置57、以及輸出 58。且CPLM、RAM52、R0M53、通信I/F54、外部記憶裝置 55、CD-ROM驅動機56、輸入裝置57、以及輸出裝置58分 別透過匯流排連接。 CPU51係執行屬於為了執行記入設定之電腦程式之記 入設定程式62。輸出裝置58係為液晶監視器等顯示裝置, 基於來自CPU51之指示,顯示對於操作晝面等之對使用者 之輸出資訊。輸人裝置57储騎鼠或㈣㈣成,由使 用者輸入對於程式規畫裝置5之操作,輸人裝置57所輸 入之操作資訊’被傳達給CPU51。通信丨胸係為了實行 332997 12 201217925 與⑽模組2之_通信之連接介面。透職通信咖4 將使用者程式25、記入設定資料26設定至cpu模电2。 瞧3記料了啟動㈣規畫裝置5之啟動資訊在 時CPU51基於該啟動資訊,啟動例如由硬碟驅動機所構成 之外部記憶裝置55中所儲存之系統程式(未圖示)’ 程式規晝裝置5。 A入6又定程式62係儲存於外部記憶裝置55之内。冬 由來自輸入裳i 57之輸入指示啟動記入設定程< 62時: 5己入汉疋程式62係透過匯流排線被載入於RM52。cpu51 係執行被载入RAM52内之記入設定程式62。外部記憶裝置 55係預先儲存著模組資訊列表6〇以及使用者程式μ。使 用者程式61係例如使用程式規晝裝置5所作成者;模組資 訊列表60係例如從PLC1所取得者。CPU51係藉由執行被 載入於RAM52之記入設定程式,而執行後述種種之步驟, 且輸出記入設定資料。 另外’亦可將自己入ό又疋程式62構成為儲存於已連接在 網際網路等網路之電腦上,並經由網路被下載從而做提供 或分配。此外,亦可將記入設定程式62構成為經由網際網 路等之網路做提供或分配。此外,亦可將記入設定程式62 構成為預先編入於ROM53等’以提供給程式規晝裝置5。 CD-ROM驅動機56係為了讀出已記錄於CD-R0M95之資 訊之裝置者。亦可將記入設定程式62儲存於CD-R0M95等 月b以電腦讀取之記錄媒體’以做提供或分配。記錄於 CD-R0M95之記入設定程式62可透過CD_R〇M95被讀取出且 332997 13 201217925 被安裝於外部記憶裝置55,亦可直接被載入於RAM52。 第6圖係說明藉由執行已載入於RAM52之記入設定程 式62而實現之程式規晝裝置5之功能構成之圖。如圖所 示,程式規晝裝置5係具備:模組資訊取得部70、關連項 目群抽出部71、記入設定項目群資料庫(DB)72、關連項目 群顯示/選擇部73、偏移反映部74、以及記入設定輸出部 75。此等機能構成構件各自例如被建立於RAM52内。 模組資訊取得部70係基於由使用者透過輸入裝置57 之輸入而檢索模組資訊列表,且取得有關記入對象之模 組之模組資訊(模組型名以及起始XY)。另外,在此雖從預 先已儲存於外部記憶裝置55之模組資訊列表60取得模組 資訊,但該程式規晝裝置5被連接於PLC1之情形下,亦可 以從設定於CPU模組2之模組資訊列表24取得。 記入设疋項目群DB72係為依各模組管理記入設定項 目和與該§己入设定項目有關之關連裝置一覽之關聯賦予之 資料庫。第7圖係說明記入設定項目群DB72之資料結構例 之圖。 如第7圖之上部所示,記入設定項目群DB72所具備之 表格形式之負料結構係擁有記述型名、記入設定項目以及 關連裝置之攔位。记入設定項目係為了識別關連裝置群之 名稱。在此,因為設定為依記載手冊之每一程式例規定關 連裝置群故對於δ己入設定項目名,可使用使記載於亭冊 之程式例互相易識別之名稱。例如有關第2圖之程式例之 關連裝ϊ ’被附有記入設定項目名「區塊始動控制」。登錄 332997 201217925 於母1個模_名之記入設定項目名之數量無特別設限。 此外’亦有於複數個記人設定項目之關連裝置登錄同一裝 置位址之情形。 、 在記入設定項目群DB72中,進一步針對關連裝置之各 者登,有起始XY依存性與軸紐依存性作為各個裝置之 如依據第7圖之下部所示之資料結構例,係分 且、、、將起始χγ設為α、轴編號設為川時之被相加 j :置位址之數子部份之值。例如「Υ10」,當起始ΧΥ被變 】二:編號被變更為川之時,可知裳置位址變更後 ¥G8〇4 +α + /3)」°此外’得知「Y〇」、「x〇」以及「U0 G804 ^之^置位址非依存於轴編號。此外,可知「U0¥ ==作為偏移之起始一除以ΐ6進制之 之模= = =1係將模_取得部7°所取得 抽出屬於該模组型名之==設定項目群,並 使用者所希望之項目的選擇輸人。,並接收已顯示之項目裡 關連==:7;吏:針對屬於所選擇之記入設定項目之 訊、模組資訊取得部^反:出f關連裝置之各者之屬性資 編號,藉此算出各個關起始χγ、記入對象之轴 記入設定輸出部75 ^置^更後之裝置位址。 係將偏移反映部Υ4所計算出之各 332997 15 201217925 個關連裝置之變更後之裝置位址輸出至設定於記入對象之 記入設定資料D1。記入設定貧料D1係例如被輸出於RAM5 2 或外部記憶裝置55後,設定於CPU模組2。 第8圖係說明使用程式規晝裝置5實現之本發明之實 施形態之記入設定方法之流程圖。 如第8圖所示,首先,使用者欲實行指定裝置之輸入 (步驟S1)。裝置之指定若為例如第9圖所示可由使用者程 式61之編輯晝面做選擇則相當便利。於第9圖所示之使用 者程式編集畫面之例中,當游標指到「SET Y32」實行預定 之點擊動作時,顯現包含「追加記入設定項目」、「關連項 目追加於記入設定項目」之下拉式選單。接著,當選擇「關 連項目追加於記入設定項目」時,程式規晝裝置5將裝置 「Y32」之指定輸入做識別。另外,當選擇「追加記入設定 項目」時,並非執行後述之步驟,而是單獨以「Y32」作為 記入對象而進行指定輸入。第10圖係圖示單獨以「Y32」 作為記入對象進行之情形之記入設定晝面之例。如圖所 示,僅列出「Y32」做為記入對象。 當以步驟S1做裝置之選擇輸入時,模組資訊取得部 70係取得記述有使用所選擇之裝置之副模組之模組型名以 及起始XY之模組資訊(步驟S2)。關連項目群抽出部71係 將已取得之模組型名作為檢索關鍵,檢索記入設定項目群 DB72,且取得記入設定項目群之一覽(步驟S3)。此外,關 連項目群抽出部71基於登錄於記入設定項目群DB72之關 連裝置之屬性資訊和所輸入之裝置及所取得之起始XY,計 16 332997 201217925 鼻出轴編號(步驟4)。 關連項目群顯示/選擇部73係將已取得之記入設定項 目群予以一覽顯示,以方便記入設定項目之選擇輸入(步驟 S5)。第11圖係圖示記入設定項目群之一覽顯示晝面之 例。在該圖甲,除記入設定項目群外,還顯示著已取得之 模組型名、以及已取得之起始χγ。此外,記入設定項目群 裡的「區塊姶動控制」被顯示為作用中。 使用者當選擇記入設定項目時(步驟S6),偏移反映部 74係於構成所選擇之記入設定項目之關連裝置群之關連裝 置反映出與起始χγ與所算出之軸編號相關之偏移,而變更 裝置位址(S7)。記入設定輸出部75係輸出將裝置位址變更 後之各關連裝置設為記入對象之記入設定資料(步驟S8), 而完成記入設定。第12圖係圖示裝置位址變更後之關連裝 置之一覽顯示晝面之例。如圖所示,有關「區塊始動控制」 之關連裝置之位址 ΥΙΟ、Y0、X0、X10、XC、X14、X8、U0 ¥G804,各自被變更 Y32、Y20、X20、X32、X2E、X36、X2A、 U2¥G804,且被一覽顯示。使用者當確定以此為記入對象 時,將 Y32、Y20、X20、X32、X2E、X36、X2A、U2¥G804 當做記入對象之記入設定資料被輸出。另外,亦可構成為 使用者可從該一覽顯示進一步進行記入對象之取捨選擇。 第13圖係說明將變更後之裝置(Y32、Y20、X20、X32、 Χ2Ε、Χ36、Χ2Α、U2¥G804)設為記入對象之情形之智慧型 模組3之動作例之圖。如圖所示,因有關「區塊始動控制」 之程式例之關連裝置之位址已各自因應起始XY和與軸編 17 332997 201217925 號而適切地被變換,故能夠與第3圖所示之手冊記载之動 作例做比較檢討,而檢討是否於使用者程式有錯誤。 另外,在上述說明中,程式規晝裴置5雖自動計算出 軸編號,但使用者亦可輸入軸編號。例如,第7圖所示γ〇 及Χ0非依存於軸編號。因而當rY20」被選擇輸入時不無 法特定軸編號。在此種該情形下,必須由使用者指定轴編 。 此外,作為智慧型模組3之例’雖採取實行 =制之定位模組做說明’惟只要是具備複數個丄之/ =出系統之模組(例如實行一個以上之輪人系統(通道)之 實!^之Γ轉換模組)’則任何模組均可適用本發明之 =:那時,可將轴編號改以輸入/輸出系統之識別編 例予=定雖裝置群依記載於手一 依控制動作之各典型例置群”式之記載例’亦可 動作比較之情形:、使用者:此’不限於與手冊做 於記錢h目群個妓㈣被登錄 ... 叶犀“之動作之關連裝置之勞力。 編輯。1人設定項目群資料庫72亦可構成可由使用者 資訊列表式^裝置5亦可構成為,當因為編輯模組The memory or the & machine access ram (Rand〇in Access Memory) and the like, and the module information list 24, the user program 25, and the setting data 26 are memorized. Further, the memory device 22 retains: a device address, a device memory area 27 for storing device values, and a data storage area 28 for storing log data. The module information list 24 is a list of module information describing the type of the sub-module installed in the bus bar module 4 and the offset of the distribution destination of the device belonging to the sub-module. The starting XY of the address. The starting χ γ varies depending on the mounting position of the sub-module. The setting of the setting data 26 is a setting information in which the device as the object to be recorded has been described. Module information list 24 and entry setting data 332997 7 201217925 26 is the borrower who uses the money to set the time. In addition, u.../ is the same as the user program 25. The CPU module 2 is constructed by the root cylinder self-mode: the location and type name of the information automation device installed, based on the application program list 2424. In addition, there is also a case where the user makes the -1 edit module information list 24' by the user arbitrarily 5 and the start XY of the parent-sub module. Think CPU21 is executed by executing user program 25 =. Specifically, the marriage is obtained from the memory of the device = the input value for the group and the calculated value is used for the sub::: output value. In addition, the output value calculated by the Γρ丨191 ruling j, and ^ S.T ^ Λ .v , U is stored in a predetermined output device for the tian wu, and the knives are arranged in the device memory area 27. On the other hand, the CPU 21 and the sub-module (4) not only perform output input through the device, but also store the intermediate data in the device which is different from the input device or the output device. In addition, the device address is also allocated to the buffer memory area 34 of the Wii-type module 3 described later; the cpu 21 can also be allocated to the buffer memory (4)% of the device address by the & Body 34 performs direct access. Further, the CPU 21 sequentially acquires the device address set to the setting data %, and uses the obtained crack value as the record data, and stores it in the recorded bedding storage area 28. The user can record the data recorded successively in the recorded data storage area 28 from the programmable display to receive the data in the immediate sense = the control of the PLC1, or the accumulation in the recorded data storage area 28 The recorded data is obtained by the program planning device or the programmable display 332997 201217925 at a predetermined timing for later analysis. The communication I/F 23 is a communication interface for connecting an external device, and the user connects the program planning device of the present embodiment to the communication I/F 23 so that the user program 25 or the setting of the setting data 26 can be executed. The smart module 3 is provided with a CPU 31 and a memory device 3211, and a CPU 31 and a memory device 32 are connected to each other. The memory device 32 is composed of either RAM or RAM module 33. Further, the buffer memory area % is retained in the memory device 32. The module program 33 is operated by the CPU 31 in accordance with an instruction from the user program 25, thereby realizing the functions required by the smart module 3. For example, when the smart module 3 is a positioning module, when the position command is input by the user program 25, the CPU 3U calculates a drive command having a smaller resolution than the position command of the input person based on the module program 33. The cp leg stores the intermediate data generated when the user program 33 is executed in a predetermined area in the buffer S memory area 34. The output input between the CPU module 2 and the smart module 3 is executed using a device assigned to the device memory 27 or the buffer S memory region 34. Further, the CPU module 2 can use the divided memory area 34 to obtain the aforementioned intermediate data stored in the buffer memory area 34. In addition, in the following, the smart module 3 is: = 2 is a positioning module capable of driving control of a plurality of axes, and the complex η is sequentially recognized by one. It is described in the manual, about the smart module (the positioning is fine =: the example of the figure. In this manual, the starting address of the intelligent module 3 is zero value, and as the implementation of the drive control 332997 9 201217925 Producer. In this manual m start signal m = and position start command pulse _ is in the user; model Γ 3 is shown in the wisdom of the program shown in Figure 2:: Cheng: Manual The operation example of a device that is closely related to the program, such as a device that stores intermediate data, is also described in the section "The program of the second figure is shown in the user program. In addition to the ΥΙΟ, Χ1〇, and circle used, the PLC READY signal Y〇, the module preparation completion signal xo, the BUSY signal xc, the positioning completion signal X14, the Err〇r detection signal X8, and the feed rate u〇¥ are also implemented. G8〇4 is closely related to each other. Specifically, when the CPU module 2 sets the PLC READY signal Y0 to 0N, the smart module 3 sets the module preparation completion signal to 〇N. After that, when the CPU When the module 2 sets the positioning start signal Y10 to 0N, the smart module 3 starts the axis 1 The control is started, and the start completion signal χ10 and the BUSY signal xc are set to 0. Then, the smart module 3 sets the positioning completion signal X14 to be pulsed every time the axis 1 reaches the position commanded by the position command. 0N. The smart module 3 sets the BUSY signal to OFF when the series of operations specified by the program 33 is completed, and the CPU module 2 sets the start signal to OFF after confirming the OFF of the BUSY signal. After confirming that the positioning start signal is OFF, the start completion signal X10 is turned OFF. 332997 10 201217925 In addition, the smart module 3 sequentially outputs the current feed speed as the intermediate data to the position assigned to the device U0¥G804. The device U0¥G804 is a device for storing intermediate data allocated to the buffer memory region 34, and is usually not used in the user program 25. Further, the smart module 3 detects an error during the operation. The error detection signal X8 is set to 0 N. Thus, the devices closely related to the program example of Fig. 2 are provided with Y10, Y0, X0, X10, xc, Χ14, χ8, U0¥G804, and are described for each device. Action For the purpose of confirming the operation of the above-mentioned program example in the user program created using the program example of FIG. 2, the user can set γι〇, Υ0, Χ0, Χ10, xc, χ14, χ8, U0¥G804. In the following, as in the case of Y10, Y0, X0, X10, XC, X14, X8, U0, and G804, a plurality of devices in which an operation example is described in the setting example of a program in the manual f are referred to as a related device group. Each device constituting the connected device group is referred to as an associated device. Here, depending on the installation position of the smart module 3, the case where the χγ is not 〇 or the case other than the axis 1 is used as the control (4) image, it is necessary to change the address of the related device. Fig. 4 is a diagram showing an example of a case where the initial γ is 20 and the axis 3 is driven. As shown in the figure, the positioning start signal used in the manual is changed to Υ32. The "32" of the Υ32 is the "U" of the value "2" which is the value of the addition start χ γ and the value "2" obtained by subtracting the i number from the axis number "%" to the address YH in the manual) "The winner." In the same manner as in the case of Y32, the X1G start signal is added to the offset of the X1G to be changed to 332997 11 201217925 X32. In the case of such a change, the address of the connected device constituting the entry object is also changed. In addition, since the word position of the device bit depends on the start XY and whether it depends on the (four) H number device, the operation of setting the record ^ according to the change of the address of each device is complicated for the user. operation. According to the present invention, the main feature of the image recording device is that the device is automatically changed according to the device of each connected device, and the device can automatically change the address of each connected device. Address. Illustrated Fig. 5 is a view showing a configuration example of the humanoid planing device of the present embodiment. In the present embodiment, the writing device is used as a function of the program planning device. The setting device may be different from the program device. However, the program specification device 5 is configured to include a normal figure of the following: CPU 51, RAM 52, R 〇 M53, communication i/F 54, external = device 55, and CD-ROM drive 56. Input device 57, and output 58. Further, CPLM, RAM 52, ROM 53, communication I/F 54, external memory device 55, CD-ROM drive 56, input device 57, and output device 58 are connected through bus bars, respectively. The CPU 51 executes the entry setting program 62 belonging to the computer program for executing the entry setting. The output device 58 is a display device such as a liquid crystal monitor, and displays output information to the user for operating the face or the like based on an instruction from the CPU 51. The input device 57 stores the squirrel or (four) (four), and the operation information input to the input device 57 by the user input to the program planning device 5 is transmitted to the CPU 51. The communication system is used to implement the communication interface between 332997 12 201217925 and (10) module 2. The service communication server 4 sets the user program 25 and the entry setting data 26 to the cpu mode power 2.瞧3 records the startup information of the startup (4) planning device 5, and the CPU 51 starts a system program (not shown) stored in the external memory device 55 composed of, for example, a hard disk drive device based on the startup information.昼 device 5. The A input 6 and the fixed program 62 are stored in the external memory device 55. Winter Starts the setting process < 62 by the input instruction from the input slot i 57. The 5 entered the program is loaded into the RM52 through the bus line. The cpu 51 executes the entry setting program 62 loaded into the RAM 52. The external memory device 55 pre-stores the module information list 6〇 and the user program μ. The user program 61 is made, for example, by the program specification device 5; the module information list 60 is obtained, for example, from the PLC 1. The CPU 51 executes various steps described later by executing the entry setting program loaded in the RAM 52, and outputs the entry setting data. In addition, the program 62 can be configured to be stored on a computer connected to a network such as the Internet, and downloaded or distributed via the network for distribution or distribution. Further, the entry setting program 62 may be configured to be provided or distributed via a network such as an Internet. Further, the entry setting program 62 may be configured to be incorporated in the ROM 53 or the like in advance to be supplied to the program specification device 5. The CD-ROM drive 56 is for the purpose of reading the information recorded on the CD-ROM 95. The entry setting program 62 can also be stored in a recording medium read by a computer such as CD-R0M 95 or the like for providing or distributing. The entry setting program 62 recorded on the CD-ROM 95 can be read out via CD_R〇M95 and the 332997 13 201217925 can be mounted on the external memory device 55 or directly loaded into the RAM 52. Fig. 6 is a view showing the functional configuration of the program specification device 5 realized by executing the entry setting mode 62 which has been loaded in the RAM 52. As shown in the figure, the program specification device 5 includes a module information acquisition unit 70, a related item group extraction unit 71, a record setting item group database (DB) 72, a related item group display/selection unit 73, and an offset reflection. The unit 74 and the entry setting unit 75 are recorded. These functional constituent members are each built, for example, in the RAM 52. The module information acquisition unit 70 searches for a module information list based on the input from the user via the input device 57, and acquires module information (module type name and start XY) of the module to be registered. In addition, although the module information is obtained from the module information list 60 previously stored in the external memory device 55, the program specification device 5 may be connected to the PLC 1 or may be set from the CPU module 2 The module information list 24 is obtained. The credited program group DB 72 is a database that is associated with each module management entry setting item and a list of related devices related to the § entry setting item. Fig. 7 is a view showing an example of the data structure of the setting program group DB 72. As shown in the upper part of Fig. 7, the negative material structure of the table format included in the setting item group DB 72 has a description type name, a setting item, and an associated device. The setting item is entered in order to identify the name of the connected device group. Here, since it is set to specify the device group according to each program example of the manual, it is possible to use a name that allows the program examples described in the kiosk to be easily recognized by each other. For example, the related installation of the program example of Fig. 2 is attached with the entry setting item name "block start control". Registration 332997 201217925 There is no special limit on the number of setting item names in the first module of the parent. In addition, there are cases where a related device of a plurality of person setting items is registered to the same device address. In the entry setting group DB 72, for each of the related devices, the initial XY dependency and the axis dependency are used as the data structure examples of the respective devices as shown in the lower part of FIG. , , , and set the initial χγ to α, and the axis number to be the sum of j: the value of the number of sub-portions of the address. For example, "Υ10", when the starting point is changed] 2: When the number is changed to Chuanzhi, it can be seen that after the address is changed, ¥G8〇4 +α + /3)"° "x〇" and "U0 G804^'s address are not dependent on the axis number. In addition, it can be seen that "U0¥ == is the starting point of the offset divided by the hexadecimal hexadecimal == =1 _ The acquisition unit 7° extracts the == setting item group belonging to the module type name, and selects the item desired by the user, and receives the related item in the displayed item ==:7; 吏: The information belonging to the selected setting item, the module information acquisition unit, and the attribute number of each of the f-related devices, thereby calculating the respective start χγ and the axis input setting output unit 75 of the input target. The device address after the change of the 332997 15 201217925 related devices calculated by the offset reflection unit 输出4 is output to the entry setting data D1 set in the entry target. For example, it is output to the RAM module 2 or the external memory device 55, and is set in the CPU module 2. Fig. 8 illustrates the use of the program. A flowchart of the setting method of the embodiment of the present invention implemented by the specification device 5. As shown in Fig. 8, first, the user wants to input the designated device (step S1). If the device is designated, for example, Fig. 9 It can be easily selected by the editing of the user program 61. In the example of the user program editing screen shown in FIG. 9, when the cursor refers to "SET Y32" to perform a predetermined click action, the display includes The "Additional Entry Setting Item" and "Connected Items are added to the Recording Setting Item" pull-down menu. Next, when "Additional item added to the entry setting item" is selected, the program specification device 5 recognizes the designation input of the device "Y32". In addition, when the "additional entry setting item" is selected, the input is not performed, but the input is performed by using "Y32" as the recording target. Fig. 10 is a diagram showing an example in which the setting of "Y32" is performed as a recording target. As shown in the figure, only "Y32" is listed as the entry target. When the selection of the device is made in step S1, the module information acquisition unit 70 obtains the module type name of the submodule using the selected device and the module information of the start XY (step S2). The related project group extracting unit 71 is a search key for the acquired module type name, and is searched for the setting item group DB 72, and a list of the set setting item groups is acquired (step S3). Further, the connected project group extracting unit 71 counts the nose-out axis number based on the attribute information of the connected device registered in the setting program group DB 72 and the input device and the acquired start XY (step 4). The related item group display/selection unit 73 displays the acquired entry setting item group in a list to facilitate the selection input of the setting item (step S5). Fig. 11 is a diagram showing an example in which a list of setting items is displayed. In the figure A, in addition to the set item group, the obtained module type name and the obtained start point γ are displayed. In addition, the "block sway control" recorded in the setting project group is displayed as active. When the user selects to record the setting item (step S6), the offset reflecting unit 74 associates with the related device constituting the selected device group of the selected setting item, and reflects the offset associated with the initial χ γ and the calculated axis number. And change the device address (S7). The entry setting output unit 75 outputs the entry setting data for each related device after the device address is changed (step S8), and the entry setting is completed. Fig. 12 is a diagram showing an example of a list of related devices after the device address is changed. As shown in the figure, the address ΥΙΟ, Y0, X0, X10, XC, X14, X8, U0 ¥G804 of the related device for "block start control" are changed by Y32, Y20, X20, X32, X2E, X36. , X2A, U2 ¥ G804, and are displayed in a list. When the user determines that the object is to be recorded, Y32, Y20, X20, X32, X2E, X36, X2A, and U2 ¥G804 are output as the entry setting data. Further, the user may be configured to further select the selection target from the list display. Fig. 13 is a view showing an operation example of the smart module 3 in which the changed device (Y32, Y20, X20, X32, Χ2Ε, Χ36, Χ2Α, U2 ¥G804) is set as the target. As shown in the figure, the address of the related device for the "block start control" program has been adapted to the start XY and the axis code 17 332997 201217925, so it can be shown in Fig. 3. The operation examples recorded in the manual are compared for review and the review is based on whether the user program has an error. Further, in the above description, although the program gauge 5 automatically calculates the axis number, the user can also input the axis number. For example, γ〇 and Χ0 shown in Fig. 7 are not dependent on the axis number. Therefore, the specific axis number is not available when rY20" is selected for input. In this case, the axis must be specified by the user. In addition, as an example of the smart module 3, 'the implementation of the positioning module of the implementation system is described as the description', as long as it is a module with multiple / / out systems (for example, more than one wheel system) The real thing! ^ Γ conversion module) 'There can be any module can be applied to the invention =: At that time, the axis number can be changed to the identification of the input / output system to determine the device group according to the record According to the typical example of the control action, the "examples of the formula" can also be compared with the action: User: This is not limited to the manual and is written in the money, the group of eyes (four) is registered... "The action is related to the labor of the device. edit. The one-person setting project group database 72 can also be configured by the user. The information list type device 5 can also be configured as

模組2之;T 模組之裝置位置被變更而使儲存於CPU 70檢知模Γ且貝訊列表24被自動變更時,模組資訊取得部 Μ知模組資訊列表之編集或變更,且針對各裝置重新取 332997 18 201217925 得模組資訊’在程式 作,藉此自動修正—堇裴置5中,執行步驟S3以下之動 減輕於每次變更^^設定資料D1。藉由這樣地構成,可 置位址之勞力。田、組之安裝位置時,變更記入對象之裝 如上述,根據太 入設定項目群資料 明之實施形態,係'構成為具備有記 將各模組之控制動^ 72 ’該記入設定項目群資料庫72係 =2 1聯性與構成關連裝置群之各裝置之_ I 。己隐’並且從前述記入設定項目群資料庫72抽 出使用記入對象之# φ t ,攻置的模組所相關之控制動作之典型例 之名#覽’並基於起始χγ依存性變更前述抽出之名稱一 覽中由使用者所選擇之—個所被賦予關聯之關連裝置群所 具備之各個Μ連裝置之位址,因歧用者可將與已選擇之 裝置有關之I置—括地做記人設定,故而儘可能簡易地進 行記入設定。此外’在使用者程式25中,未記述之智慧型 模組3作為中間資料儲存區域使用之裝置亦可設定為記入 對象。 (產業上之利用可能) 如上述’關於本發明之記入設定裝置以及記入設定方 法係適宜用於實行PLC之記入設定之記入設定裝置以及記 入設定方法。 【圖式簡單說明】 第1圖係說明做為記入設定之對象之可程式化控制器 (PLC)之構成例的圖; 19 332997 201217925 第2圖係說明記载於手冊之有關智慧型模組(定位模 組)之控制的使用者程式之一例的圖; 第3圖係為顯示如第2圖所示之程式例所相關之智慧 型模組之動作例之時序圖; 第4圖係為顯示起始χγ為2〇並將軸3做為驅動對象 之情形之程式例的圖; 第5圖係說明作為本實施形態之記入設定裝置之程式 規晝裝置之構成例之圖; 第6圖係說明本實施形態之程式規畫裝置之功能構 之圖; 第7圖係說明記入設定項目群DB之資料結構例之圖; •第8圖係說明本發明之實施形態之記入設定方法之流 第9圖係顯示使用者程式編集畫面之例的圖; 第圖係顯示記入設定晝面之例的圖; 第11圖係顯示記入設定項目群之一覽顯示畫面之 的圖; 第12圖係顯示裝置位址變更後之關連裝置之一 示晝面之例的圖; 見頊 第丨3圖係顯示將變更後之裝置設為記入對象之情形 之智慧型模組之動作例的圖。 玲乂 【主要元件符號說明】 1 PLC 2 CPU 模組 3 智慧型模、组 4 匯流排模組 332997 20 201217925 5 程式規晝裝置 21 CPU 22 記憶裝置 23 通信介面 24 模組資訊列表 25 使用者程式 26 記入設定資料 27 裝置記憶區域 28 記錄資料儲存區域 31 CPU 32 記憶裝置 33 模組程式 34 缓衝記憶體區域 51 CPU 52 RAM 53 ROM 54 通信I/F 55 外部記憶裝置 56 CD-ROM驅動機 57 輸入裝置 58 輸出裝置 59 CD-ROM 60 模組資訊列表 61 使用者程式 62 記入設定程式 70 模組資訊取得部 71 關連項目群抽出部 72 記入設定項目群資料庫 73 關連項目群顯示/選擇部 74 偏移反映部 75 記入設定輸出部 D1 記入設定資料 M104 定位始動脈波 PLC 可程式化控制器 S1 步驟 S2 步驟 S3 步驟 S4 步驟 S5 步驟 S6 步驟 S7 步驟 S8 步驟 U0¥G804進給速度 XO 模組準備完成信號 X2A 錯誤檢出信號 21 332997 201217925 X2E BUSY信號 X8 錯誤檢出信號 ΧΙΟ 始動完成信號 X14 定位完成信號 Χ20 模組準備完成信號 X32 始動完成信號 Χ36 定位完成信號 XC BUSY信號 ΥΟ PLC READY 信號 Y10 定位始動信號 Υ20 PLC READY 信號 Y32 定位始動信號 332997Module 2; when the device position of the T module is changed so that the CPU 70 detects the module and the beta list 24 is automatically changed, the module information acquisition unit knows the compilation or change of the module information list, and For each device, re-take the 332997 18 201217925 module information 'in the program, thereby automatically correcting the device 5, and perform the operation below step S3 to reduce the setting data D1 every time. With this configuration, the labor of the address can be set. When the installation location of the field or the group is changed, the installation target of the change is as described above, and according to the embodiment of the data of the Taijin setting project group, it is configured to include the control unit of the module. The library 72 system = 2 1 and the _ I of each device constituting the connected device group. And the above-mentioned entry to the setting item group database 72 extracts #φ t using the input object, and the name of the typical example of the control operation related to the attacked module, and changes the above-mentioned extraction based on the initial χγ dependency. In the name list, the address of each connected device provided by the connected device group to which the user is selected is selected by the user, and the I concerned can set the I related to the selected device. The setting is made by the person, so the entry setting is made as simple as possible. Further, in the user program 25, the device that is not used as the intermediate data storage area by the smart module 3, which is not described, may be set as the entry object. (Industrial use) The above-mentioned "input setting device and the setting method of the present invention are suitable for the entry setting device and the recording setting method for performing the setting of the PLC. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a view showing a configuration example of a programmable controller (PLC) as a target for setting a setting; 19 332997 201217925 FIG. 2 is a description of a smart module described in the manual. A diagram showing an example of a user program controlled by a (positioning module); FIG. 3 is a timing chart showing an example of the operation of the smart module associated with the program example shown in FIG. 2; FIG. 5 is a view showing a configuration example of a case where the start χ γ is 2 〇 and the axis 3 is the drive target; FIG. 5 is a view showing a configuration example of the program specification device as the entry setting device of the present embodiment; The functional configuration of the program planning device of the present embodiment will be described. FIG. 7 is a view showing an example of the data structure of the setting program group DB; and FIG. 8 is a flow chart showing the setting method of the embodiment of the present invention. Fig. 9 is a view showing an example of a user program compilation screen; the figure is a diagram showing an example of the setting of the setting screen; the 11th figure is a diagram showing the list display screen of the setting item group; After the device address is changed One embodiment of the apparatus shown in FIG face of day; see FIG. 3 Xu Shu lines of the display device of the embodiment will be changed to the operation of the intelligent module of FIG case of the objects of the credited. Exquisite [Main component symbol description] 1 PLC 2 CPU module 3 Smart module, group 4 Bus module 332997 20 201217925 5 Program device 21 CPU 22 Memory device 23 Communication interface 24 Module information list 25 User program 26 Recording setting data 27 Device memory area 28 Record data storage area 31 CPU 32 Memory device 33 Module program 34 Buffer memory area 51 CPU 52 RAM 53 ROM 54 Communication I/F 55 External memory device 56 CD-ROM drive 57 Input device 58 Output device 59 CD-ROM 60 Module information list 61 User program 62 Entry setting program 70 Module information acquisition unit 71 Related item group extraction unit 72 Recording item group database 73 Related item group display/selection unit 74 Offset reflection unit 75 is recorded in setting output unit D1. Recording setting data M104 Positioning initial arterial wave PLC programmable controller S1 Step S2 Step S3 Step S4 Step S5 Step S6 Step S7 Step S8 Step U0¥G804 Feeding speed XO Module preparation Completion signal X2A error detection signal 21 332997 201217925 X2E BUSY signal X8 error detection Signal 始 Start completion signal X14 Position completion signal Χ20 Module ready completion signal X32 Start completion signal Χ36 Positioning completion signal XC BUSY signal ΥΟ PLC READY signal Y10 Positioning start signal Υ20 PLC READY signal Y32 Positioning start signal 332997

Claims (1)

201217925 七、申請專利範圍: L 一種圮入設定裝置,其特徵為具有: 接收指定裝置之輸入,由預先作成之記述有構成記 〇又疋對象之可程式化控制器(PLC)之模組的型名和該 =、、、'且使用之裝置位址空間之起始位址之對應尤模組資 訊列表’取得使用前述被指定之裝置之模組的蜜名以及 該楱組之起始位址之模組資訊取得部; 將依各模組對控制動作之典型例之名稱和有關該 控制動作之關連裝置群賦予之關雜、與依構成關連裝 "各裝置表示裝置位址和起始位址之關係的起始 位址依^性-起記憶的記人設定項目群資料庫; 將前述模組資訊取得部所取得之模組之型名作為 ,索關鍵’檢索前述記錢定項目群資料庫,且抽出有 :該模組之控制動作之典型例之名稱一覽之關連項目 itj t 從使用者接收用以選擇前述抽出少狄錢作之名201217925 VII. Patent application scope: L An intrusion setting device, which has the following features: receiving an input of a designated device, and preparing a module of a programmable controller (PLC) constituting a recording and an object in advance The name of the type and the corresponding module information list of the starting address of the device address space used to obtain the honey name of the module using the specified device and the starting address of the group The module information acquisition unit; the name of the typical example of the control action according to each module and the related device group related to the control action, and the device connection device" each device represents the device address and the start The starting address of the relationship between the addresses is set according to the nature of the memory group; the type of the module obtained by the module information obtaining unit is used as the key name to search for the money counting item. The group database, and the extracted items: the related items of the typical examples of the control actions of the module are linked to the item itj t received from the user to select the name of the aforementioned drawing 項所述之記入設定裝置,其中,前 預先儲存於程式規畫裝置,該程式規 332997 1 201217925 晝裝置係作成前述記入設定對象之PLC或該PLC之使用 ' 者程式。 3.如申請專利範圍第1項所述之記入設定裝置,其中, 構成PLC之模組係包含執行複數系統之輸入/輸出 之複數系統輸入/輸出模組, 前述記入設定項目群資料庫係依前述複數系統輸 入/輸出模組所使用之各裝置記憶顯示裝置位址和輸入 /輸出系統之關係之輸入/輸出系統依存性, 前述裝置變更部係基於記憶於前述記入設定項目 群資料庫之起始位址依存性以及輸入/輸出系統依存性 而變更構成前述所選擇之控制動作所被賦予關聯之關 連裝置群的各個裝置裡由前述複數系統輸入/輸出模組 所使用之裝置之位址。 4. 如申請專利範圍第1項所述之記入設定裝置,其中, 前述模組資訊取得部係在檢測到前述模組資訊列 表之變更時,再取得使用前述所指定裝置之模組之型名 以及該模組之起始位址。 5. —種記入設定方法,其特徵為具有: 接收指定裝置之輸入之裝置指定輸入接收步驟; 由預先作成之記述有構成記入設定對象之可程式 化控制器(PLC)之模組之型名和該模組使用之裝置位址 空間之起始位址之對應的模組資訊列表,取得使用前述 所指定之裝置之模組的型名以及該模組之起始位址之 模組資訊取得步驟; 2 332997 201217925 將前述模級資訊 撿索關鍵而檢^ 所件之模組之型名作為 模細+ ^ 、°己入設定項目群資料庫,且柄屮古關兮 槟組之控制動 :庫且抽出有關該 步驟,JL中,誃,、j之名稱一覽之關連項目抽出 控制動作之:己入設定項目群資料庫係將依各模組對 置群滅予之^^控制動作之關連裝 裳置位址和起、與依構成關連裝置群之各裝置表示 憶; 料仅址之關係的起始位址依存性—起記 稱一覽裡以選擇前述抽出之控制動作之名 基於前述Γ輸入之控制動作輸入接收步驟; 址依存性與前又疋項目群資料庫所記憶之起始位 之控制動作所^得之起始位址,變更構成前迷所選擇 址之裝置變更步ΓΓ關聯之關連裝置群之各较置之位 為記入所變更之關連裝置群之各個骏置設定 豕之5己入設定輸出步驟。 •如申請專·項所狀記人設定方法,其中, 構成PLC之模組係包含執行複數系統之輪入 之複數系統輸入/輪出之模組, 翰 月J it α己入S又疋項目群資料庫係依前述複數系統輸 入/輸出模組所使用之各裝置記憶表示裝置位址和輸入 /輸出系統之關係之輸入/輸出系統依存性, 在前述裝置變更步驟中,係基於記憶於前逃記入設 疋員目群負料庫之起始位址依存性以及輸入/輪出系統 332997 3 201217925 依存性而變更構成前述所選擇之控制動作所被賦予關 聯之關連裝置群的各個裝置裡由前述複數系統輸入/輸 出模組所使用之裝置之位址。 7. —種可於電腦讀取之記錄媒體,係記錄了使電腦執行下 述步驟之程式: 接收指定裝置之輸入之裝置指定輸入接收步驟; 由預先作成之記述有構成記入設定對象之可程式 化控制器(PLC)之模組之型名和該模組使用之裝置位址 空間之起始位址之對應的模組資訊列表,取得使用前述 所指定之裝置之模組的型名以及該模組之起始位址之 模組資訊取得步驟; 將前述模組資訊取得部所取得之模組之型名作為 檢索關鍵而檢索記入設定項目群資料庫,且抽出有關該 模組之控制動作之典型例之名稱一覽之關連項目抽出 步驟,其中,該記入設定項目群資料庫係將依各模組對 控制動作之典型例之名稱和有關該控制動作之關連裝 置群賦予之關聯性、與依構成關連裝置群之各裝置表示 裝置位址和起始位址之關係的起始位址依存性一起記 憶; 從使用者接收用以選擇前述抽出之控制動作之名 稱一覽裡之一個的輸入之控制動作輸入接收步驟; 基於前述記入設定項目群資料庫所記憶之起始位 址依存性與前述取得之起始位址,變更構成前述所選擇 之控制動作所被賦予關聯之關連裝置群之各裝置之位 4 332997 201217925 址之裝置變更步驟; 將構成前述所變_更之關連裝置群之各個裝置設定 為記入對象之記入設定輸出步驟。 5 332997The entry setting device described above is stored in advance in the program planning device, and the program is 332997 1 201217925. The device is configured to be the PLC to which the setting is to be performed or the program to be used by the PLC. 3. The entry setting device according to claim 1, wherein the module constituting the PLC includes a plurality of system input/output modules that perform input/output of the plurality of systems, and the data set in the set project group is Each of the devices used in the plurality of system input/output modules memorizes the input/output system dependency of the relationship between the address of the display device and the input/output system, and the device change unit is based on the memory of the data set in the record setting item group. The address of the device used by the plurality of system input/output modules in each of the devices constituting the related device group to which the selected control operation is associated is changed depending on the initial address dependency and the input/output system dependency. 4. The entry setting device according to claim 1, wherein the module information acquisition unit acquires a model name of the module using the specified device when detecting the change of the module information list. And the starting address of the module. 5. A method for setting a record, comprising: a device designation input receiving step of receiving an input of a designation device; and a pre-made description of a model name of a module constituting a programmable controller (PLC) to be set The module uses the corresponding module information list of the starting address of the device address space to obtain the module name of the module using the device specified above and the module information obtaining step of the starting address of the module. 2 332997 201217925 The model name of the above-mentioned model-level information is searched and the model name of the module is taken as the module + ^, ° into the set project database, and the control of the armor is: The library extracts the relevant control items from the list of names in the JL, 誃, j, and the related items: the selected project group database will be related to the control action of each module. The address of the installed address and the device are represented by the devices that constitute the connected device group; the initial address dependence of the relationship of the address-only address is based on the name of the control action selected in the list The input control input step of the control input; the address dependency and the start address obtained by the control action of the start bit memorized in the previous project group database, and the device change step constituting the selected site of the former fan Each of the associated devices of the associated device group is a five-input setting output step of recording the respective settings of the changed connected device group. • If you apply for the special item setting method, the module that constitutes the PLC includes the module that performs the multi-system input/rounding of the multi-system, and the month of the month. The group database is based on the input/output system dependency of each device used in the above-mentioned complex system input/output module memory to indicate the relationship between the device address and the input/output system, and in the device changing step, based on the memory Each device in the connected device group that is associated with the selected control action is changed by the dependency address dependency and the input/rounding system 332997 3 201217925 depending on the dependency. The address of the device used by the aforementioned plurality of system input/output modules. 7. A recording medium that can be read by a computer, and a program for causing a computer to execute the following steps: a device specifying input input receiving input of a designated device; a pre-made description having a programmable input setting target The module information list of the module name of the controller (PLC) and the start address of the device address space used by the module, obtain the model name of the module using the device specified above, and the model a module information obtaining step of the start address of the group; searching for the model name of the module obtained by the module information obtaining unit as a search key, and recording the data in the set project group database, and extracting the control action of the module The example of the name of the linked item extraction step, wherein the entry setting group database is based on the association between the name of the typical example of the control action and the related device group related to the control action. Each device constituting the connected device group memorizes the start address dependency of the relationship between the device address and the start address; is received from the user for selection a control operation input receiving step of selecting one of the name lists of the control actions extracted; and changing the start address dependencies and the obtained start address stored in the record setting group database a device changing step of the device of the associated device group to which the selected control device is assigned 4 332997 201217925; setting each of the devices constituting the changed device group as the entry setting output step . 5 332997
TW100112169A 2010-10-27 2011-04-08 Logging setting device, method for setting logging, and recording medium TWI448858B (en)

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 (2)

Publication Number Publication Date
TW201217925A true TW201217925A (en) 2012-05-01
TWI448858B TWI448858B (en) 2014-08-11

Family

ID=45993294

Family Applications (1)

Application Number Title Priority Date Filing Date
TW100112169A TWI448858B (en) 2010-10-27 2011-04-08 Logging setting device, method for setting logging, and recording 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)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101689099B1 (en) * 2013-04-04 2016-12-22 미쓰비시덴키 가부시키가이샤 Engineering tool and programmable logic controller
JP2016012172A (en) * 2014-06-27 2016-01-21 オムロン株式会社 Communication system, programmable display, information processing device, operation control method, information processing method, and program
KR101864565B1 (en) * 2015-06-01 2018-06-04 미쓰비시덴키 가부시키가이샤 Debug device, debug method, and debug program
CN108700865B (en) * 2016-06-08 2019-11-08 三菱电机株式会社 Programable display
JP6757385B2 (en) 2018-10-23 2020-09-16 株式会社キーエンス Programmable logic controller and main unit
JP7212496B2 (en) * 2018-10-23 2023-01-25 株式会社キーエンス Programmable logic controller system, programming support device and computer program
JP7412076B2 (en) * 2018-10-23 2024-01-12 株式会社キーエンス Engineering tools for programmable logic controllers
JP7173826B2 (en) * 2018-10-23 2022-11-16 株式会社キーエンス Programmable logic controller system, programming support device and computer program
JP7303424B2 (en) * 2019-05-22 2023-07-05 オムロン株式会社 Information provision system, server and information provision method
WO2021210071A1 (en) * 2020-04-14 2021-10-21 三菱電機株式会社 Debugging assistance program, storage medium, debugging assistance device, and debugging assistance method
JP6806946B2 (en) * 2020-08-07 2021-01-06 株式会社キーエンス External setting devices and programs
CN116724278A (en) * 2021-01-21 2023-09-08 三菱电机株式会社 Log recording support device, log recording system, log recording support method, and program

Family Cites Families (11)

* Cited by examiner, † Cited by third party
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
JP3761126B2 (en) * 1998-12-04 2006-03-29 三菱電機株式会社 Peripheral device of programmable controller
CN1206578C (en) 2000-03-17 2005-06-15 迪吉多电子股份有限公司 Control server, control terminal, control system, and recording medium storing control communication program
JP4346939B2 (en) * 2003-04-09 2009-10-21 三菱電機株式会社 Logging processor
CN100456182C (en) * 2004-04-15 2009-01-28 三菱电机株式会社 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
WO2008102426A1 (en) * 2007-02-19 2008-08-28 Mitsubishi Electric Corporation Peripheral device for programmable controller, replacement 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

Also Published As

Publication number Publication date
CN103180789B (en) 2016-03-02
TWI448858B (en) 2014-08-11
DE112010005963B4 (en) 2018-05-03
WO2012056539A1 (en) 2012-05-03
KR101472697B1 (en) 2014-12-12
DE112010005963T5 (en) 2013-07-25
JPWO2012056539A1 (en) 2014-03-20
CN103180789A (en) 2013-06-26
JP5312695B2 (en) 2013-10-09
KR20130103549A (en) 2013-09-23

Similar Documents

Publication Publication Date Title
TW201217925A (en) Logging setting device, method for setting logging, and recording medium
CN103699372B (en) From central storage means booting computer system
CN100408280C (en) Robot system provided with robot controller
CN106547252B (en) The ladder diagram monitoring device of display CNC operation conditions can be added in annotation
US6636774B2 (en) CAD supporting apparatus, and CAD supporting program storage medium
JP2005327263A (en) Control system setting device
WO2013145296A1 (en) Servo selection system
US20070255762A1 (en) System and method for synchronization of configuration values between a data base and its input utility
KR102031945B1 (en) Equipment information management system
JP2005267501A (en) Storage management method and system
JP5748118B2 (en) Document creation support method, document creation support device, and document creation support program
JPS61114345A (en) Diagnosis system of information processor
EP0741348A2 (en) Order control apparatus capable of reducing input operation by an input unit
JP3206808B2 (en) Parametric design system with attribute data editing function
JP5293059B2 (en) Measuring system
JP2001282344A (en) Method and system for making production plan of tact production
JP2000076358A (en) System and method for document output management with re-outputting function
JP5217702B2 (en) Request document creation support system, request document creation support program, and computer-readable recording medium recording the support program
JP2004062327A (en) Parts management support method
CN116324765A (en) Operation support system and operation support method
CN117992655A (en) Method, device, equipment and storage medium for inquiring tire pressure maintenance function
TW201944227A (en) System construction support apparatus, system construction support method and recording media
JPS62103714A (en) Program generating device for industrial robot
JP2000172492A (en) Execution program management method, device therefor and recording medium
JP2007004388A (en) Housing device for disk

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees