[go: up one dir, main page]

TWI414916B - I/o module, controlling system, and operating method of i/o module - Google Patents

I/o module, controlling system, and operating method of i/o module Download PDF

Info

Publication number
TWI414916B
TWI414916B TW98105384A TW98105384A TWI414916B TW I414916 B TWI414916 B TW I414916B TW 98105384 A TW98105384 A TW 98105384A TW 98105384 A TW98105384 A TW 98105384A TW I414916 B TWI414916 B TW I414916B
Authority
TW
Taiwan
Prior art keywords
input
output module
identification signal
description information
function
Prior art date
Application number
TW98105384A
Other languages
Chinese (zh)
Other versions
TW201032010A (en
Original Assignee
Advantech Co Ltd
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 Advantech Co Ltd filed Critical Advantech Co Ltd
Priority to TW98105384A priority Critical patent/TWI414916B/en
Publication of TW201032010A publication Critical patent/TW201032010A/en
Application granted granted Critical
Publication of TWI414916B publication Critical patent/TWI414916B/en

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

An I/O module which forming a function hardware circuit including: an information database, a hardware setting unit, and a microprocessor. The information database is stored at least one function describing information according to a plurality of function hardware circuits which the I/O module can be formed. The hardware setting unit is set to output an identification signal according to the present function hardware circuit of the I/O module. The microprocessor executes a firmware program and connects with the hardware setting unit for receiving the identification signal. The firmware program according to the identification signal loads the corresponding function describing information from the information database, and then enables the loaded function describing information to present a purpose function. Therefore, the present invention can achieve the purpose of automatically adjusting the function according to the diversity of hardware.

Description

輸入/輸出模組及其應用之控制系統與其運作方法Input/output module and its application control system and its operation method

本發明係涉及一種輸入/輸出模組,特別係指一種可以依據本身硬體差異來自動調整功能的輸入/輸出模組及其應用之控制系統與其運作方法。The invention relates to an input/output module, in particular to an input/output module capable of automatically adjusting functions according to its own hardware difference and a control system thereof and a method for operating the same.

隨著科技的快速發展,電子產品的研發週期越來越講求時效性,以因應市場上的需求。從事研發生產的廠商都可以了解,在研發過程中為了因應不同硬體產品的設計,其中韌體(Firmware)的版本也就會有所不同,甚至不同硬體產品之間僅有些微功能的差異,而大部分仍是相同的功能,但也就必需產生另一版本的韌體來搭配。而隨著韌體版本越來越多,間接的也就會造成日後在維護上的困擾,讓研發人員徒增工作時程,浪費不必要的時間。With the rapid development of technology, the development cycle of electronic products is increasingly demanding timeliness in response to market demand. Manufacturers engaged in R&D and production can understand that in the development process, in order to respond to the design of different hardware products, the firmware version will be different, and even there will be only some micro-function differences between different hardware products. And most of them are still the same function, but it is necessary to produce another version of the firmware to match. With more and more firmware versions, indirect problems will cause maintenance problems in the future, allowing developers to increase their work schedules and waste unnecessary time.

而在工業控制領域中也是相同的道理,目前工業用控制器,例如可程式邏輯控制器(Programmable Logic Controller,PLC),其相當於是由電腦所構成,並且其可搭配不同的輸入/輸出模組(I/O Module)來進行接收(輸入)及發送(輸出)多種型態的電氣或電子訊號,以達到透過數位或類比輸入/輸出模組來控制機器設備、製造處理流程、及其它控制模組的電子系統。因此,在工業控制領域中,輸入/輸出模組也就可視為是一個搭配韌體運作的產品。The same is true in the field of industrial control. Currently, industrial controllers, such as Programmable Logic Controllers (PLCs), are equivalent to computers and can be combined with different input/output modules. (I/O Module) for receiving (inputting) and transmitting (outputting) various types of electrical or electronic signals to control the machine equipment, manufacturing process, and other control modes through digital or analog input/output modules. Group of electronic systems. Therefore, in the field of industrial control, the input/output module can also be regarded as a product that works with the firmware.

其中,假設不同的輸入/輸出模組之間是具有部分類似的功能,而當研發人員有新功能欲增加或有錯誤欲修正時,就必須一併將所有版本的韌體加以進行修改,而這對製造輸入/輸出模組的廠商而言,在無形中就會浪費許多人力資源,並且在進行大批不同版本的韌體修改過程中,也就容易會導致出錯的情形。此外,若修改後,不同版本的韌體之間存在有部分的差異點的話,則將也會使不同輸入/輸出模組之間的品質及穩定度產生不一致。Among them, it is assumed that different input/output modules have some similar functions, and when the developer has new functions to add or have errors to modify, all versions of the firmware must be modified. This is a waste of a lot of human resources in the invisible manufacturer of the input / output module, and it is easy to cause an error in the process of modifying a large number of different versions of the firmware. In addition, if there are some differences between different versions of the firmware after modification, the quality and stability between different input/output modules will also be inconsistent.

因此,針對目前習知在輸入/輸出模組的韌體開發及管控上,確實有進一步加以改善的空間。Therefore, there is indeed room for further improvement in the development and management of the firmware of the input/output module.

有鑑於此,本發明所要解決的技術問題在於,透過輸入/輸出模組的改良,使其能搭配具有單一架構的韌體來運作,並且在設計上該單一架構的韌體是得以隨著輸入/輸出模組的實際硬體差異來搭載適合的功能描述資訊,藉以讓同一架構的韌體即能夠因應不同輸入/輸出模組的硬體而呈現出不同的功能。In view of the above, the technical problem to be solved by the present invention is that through the improvement of the input/output module, it can be operated with a firmware having a single architecture, and the firmware of the single architecture is designed to be input with the input. / The actual hardware difference of the output module is equipped with suitable function description information, so that the firmware of the same architecture can display different functions according to the hardware of different input/output modules.

為了解決上述問題,根據本發明所提出之一方案,提供一種輸入/輸出模組,是形成有一功能硬體電路,該輸入/輸出模組包括:一資訊資料庫、一硬體設定單元及一微處理單元。其中,資訊資料庫是依據輸入/輸出模組所能形成的複數種功能硬體電路而分別對應儲存至少一功能描述資訊,硬體設定單元是依據目前輸入/輸出模組的功能硬體電路來設定產生一識別信號。而微處理單元是執行一韌體程式,並且連接硬體設定單元以用來接收識別信號。其中,韌體程式即會依據識別信號來搭載資訊資料庫中相對應的功能描述資訊,並且致能所搭載的功能描述資訊來呈現一目的功能。In order to solve the above problems, according to an aspect of the present invention, an input/output module is provided, which is formed with a functional hardware circuit. The input/output module includes: an information database, a hardware setting unit, and a Microprocessing unit. The information database is configured to store at least one function description information according to a plurality of functional hardware circuits that can be formed by the input/output module, and the hardware setting unit is based on the function hardware circuit of the current input/output module. The setting generates an identification signal. The microprocessor unit executes a firmware program and connects to the hardware setting unit for receiving the identification signal. The firmware program will carry the corresponding function description information in the information database according to the identification signal, and enable the function description information carried to present a purpose function.

為了解決上述問題,根據本發明所提出之另一方案,提供一種控制系統,該控制系統是包含一如上述方案的輸入/輸出模組,並且控制系統得以依據輸入/輸出模組的功能硬體電路以及其中韌體程式所對應呈現的目的功能來控制至少一受控裝置。In order to solve the above problems, according to another aspect of the present invention, a control system is provided, which is an input/output module including the above solution, and the control system is capable of functioning according to the function of the input/output module. The circuit and the purpose function corresponding to the firmware program therein control at least one controlled device.

為了解決上述問題,根據本發明所提出之再一方案,提供一種輸入/輸出模組的運作方法,其步驟包括:首先,載入一資訊資料庫,其中資訊資料庫是依據輸入/輸出模組所能形成的複數種功能硬體電路而分別對應儲存至少一功能描述資訊。接著,進行取得一依據目前輸入/輸出模組的功能硬體電路而產生的識別信號,並進而依據識別信號來搭載資訊資料庫中相對應的功能描述資訊。最後,致能所搭載的功能描述資訊來呈現一目的功能。In order to solve the above problems, according to still another aspect of the present invention, an operation method of an input/output module is provided, the steps comprising: first, loading an information database, wherein the information database is based on an input/output module A plurality of functional hardware circuits that can be formed and correspondingly store at least one function description information. Then, an identification signal generated according to the function hardware circuit of the current input/output module is obtained, and then the corresponding function description information in the information database is carried according to the identification signal. Finally, enable the function description information carried to present a purpose function.

藉此,本發明所能達到的功效在於,當輸入/輸出模組之功能硬體電路在設計時有改變的話,僅需透過硬體設定單元的調整,其中的韌體程式即會進行因應而呈現與該功能硬體電路相符的功能。藉此,在不同的輸入/輸出模組之間便能共同使用同一個架構的韌體程式,藉以減輕韌體程式管理上的負擔,並且降低韌體程式維護上的困擾,讓研發人員在開發上若有新增或修改時,就不需再浪費時間來對所有版本的韌體程式進行重複性的修改。Therefore, the achievable effect of the present invention is that when the functional hardware circuit of the input/output module is changed in design, only the adjustment of the hardware setting unit is required, and the firmware program is configured accordingly. Presents functions that match the functional hardware circuitry. In this way, the firmware of the same architecture can be used together between different input/output modules, thereby reducing the burden on firmware management and reducing the troubles in firmware maintenance, allowing developers to develop. If you add or modify it, you don't have to waste time repetitively modifying all versions of the firmware.

以上之概述與接下來的詳細說明及附圖,皆是為了能進一步說明本發明為達成預定目的所採取之方式、手段及功效。而有關本發明的其他目的及優點,將在後續的說明及圖式中加以闡述。The above summary, the following detailed description and the annexed drawings are intended to further illustrate the manner, the Other objects and advantages of the present invention will be described in the following description and drawings.

本發明之輸入/輸出模組是用於工業控制領域,並且在實際應用上是會搭配連接電腦來形成工業用控制器,例如:可程式邏輯控制器(Programmable Logic Controller,PLC),也就是以下實施例所述的控制系統,藉以進行控制機器設備、製造處理流程、及其它控制模組的電子系統。此外,實際上針對整體控制條件的不同(如:受控物件不同),控制系統中所搭配的輸入/輸出模組也就會有所不同,並且一個控制系統亦有可能會搭配有多個不同功能的輸入/輸出模組來達到控制的需求。The input/output module of the present invention is used in the field of industrial control, and in practical applications, it is connected with a computer to form an industrial controller, for example, a Programmable Logic Controller (PLC), that is, the following The control system described in the embodiments is used to control an electronic system for controlling machine equipment, manufacturing process flows, and other control modules. In addition, in fact, for the difference of the overall control conditions (such as: different controlled objects), the input/output modules that are matched in the control system will also be different, and a control system may also be matched with multiple different Functional input/output modules to meet control needs.

而本發明是透過輸入/輸出模組的改良,使其能搭配具有單一架構的韌體程式來運作,並且在設計上韌體程式是得以隨著輸入/輸出模組的實際功能硬體電路改變而來自動搭載適合的功能描述資訊,讓同一韌體程式搭配在不同輸入/輸出模組的硬體時,即能呈現出不同的功能。The present invention is improved by the input/output module, so that it can be operated with a firmware with a single architecture, and the firmware is designed to change with the actual function of the input/output module. In order to automatically load the appropriate function description information, the same firmware can be displayed in different hardware of different input/output modules.

請參考第一圖,為本發明控制系統的應用實施例方塊圖。如圖所示,本實施例所提供的一種控制系統1是包括一輸入/輸出模組10及一電腦11。其中,在輸入/輸出模組10的部分,其包括:一資訊資料庫101、一硬體設定單元102、一微處理單元103、一周邊電路104及一連接介面單元105。並且在實際設計上,輸入/輸出模組10是得以依據不同的控制功能而設計形成有不同的一功能硬體電路100,而其中的功能硬體電路100也就如第一圖虛線部分所示的是由微處理單元103連接周邊電路104來搭配設計組合而成。另外,在電腦11的部分則是進一步包含:一通信介面單元111、一介面資料庫112及一操作設定單元113。Please refer to the first figure, which is a block diagram of an application embodiment of the control system of the present invention. As shown in the figure, a control system 1 provided in this embodiment includes an input/output module 10 and a computer 11. The portion of the input/output module 10 includes an information database 101, a hardware setting unit 102, a micro processing unit 103, a peripheral circuit 104, and a connection interface unit 105. And in actual design, the input/output module 10 is designed to have different functional hardware circuits 100 according to different control functions, and the functional hardware circuit 100 therein is also shown as a broken line in the first figure. The peripheral unit 104 is connected by the micro processing unit 103 to combine the design. In addition, the computer 11 further includes: a communication interface unit 111, an interface database 112, and an operation setting unit 113.

首先,先就輸入/輸出模組10之架構來加以說明。資訊資料庫101在設計上是依據輸入/輸出模組10所能設計形成的多種功能硬體電路100而分別對應儲存至少一功能描述資訊。其中,功能描述資訊在軟體設計領域來講,即是指用來描述功能動作的相關程式,並且每一種功能硬體電路100更是可以對應有一個以上的功能描述資訊。而附帶一提的是,若輸入/輸出模組10所能設計形成的功能硬體電路100越多,資訊資料庫101中所預先儲存的資料也就會越多,並且也就越能適用於日後輸入/輸出模組10的變化。因此,較佳的設計狀態是能依據經驗來事先估測未來輸入/輸出模組10所會產生的硬體變化,並進而預設儲存相關的功能描述資訊。First, the architecture of the input/output module 10 will be described first. The information database 101 is designed to store at least one function description information according to the plurality of functional hardware circuits 100 that can be formed by the input/output module 10. Among them, the function description information refers to a related program for describing a function action in the field of software design, and each function hardware circuit 100 can correspond to more than one function description information. Incidentally, the more functional hardware circuits 100 that the input/output module 10 can design, the more data is pre-stored in the information database 101, and the more applicable it is. Changes in the input/output module 10 in the future. Therefore, the preferred design state is that the hardware changes generated by the future input/output module 10 can be estimated in advance based on experience, and the related function description information is stored in advance.

硬體設定單元102是依據目前輸入/輸出模組10實際設計的功能硬體電路100來設定產生一識別信號。並且,硬體設定單元102是可例如採用自動設定或手動設定的方式來設計。其中,若是採用自動設定的話,則硬體設定單元102是可設計為單晶片控制器,而單晶片控制器便是得以自動依據實際設計的功能硬體電路100之差異而產生不同的識別信號;而若是採用手動設定的話,則硬體設定單元102可例如是設計為排針接腳(Jumper),而讓使用者自行依據功能硬體電路100來跳接排針,以輸出不同的識別信號。當然,熟悉該項技術者應可了解,識別信號的定義必須要事先進行定義,而在資訊資料庫101中也需加以對應設計以利查詢比對。The hardware setting unit 102 is configured to generate an identification signal according to the functional hardware circuit 100 actually designed by the current input/output module 10. Further, the hardware setting unit 102 can be designed, for example, by automatic setting or manual setting. Wherein, if the automatic setting is adopted, the hardware setting unit 102 can be designed as a single-wafer controller, and the single-chip controller can automatically generate different identification signals according to the difference of the actual designed functional hardware circuit 100; If the manual setting is adopted, the hardware setting unit 102 can be designed, for example, as a pin header, and the user can jump the pin according to the function hardware circuit 100 to output different identification signals. Of course, those skilled in the art should understand that the definition of the identification signal must be defined in advance, and the information database 101 also needs to be correspondingly designed to facilitate the query comparison.

微處理單元103是連接硬體設定單元102以接收識別信號,並且微處理單元103在設計上是具有一內建記憶體(圖未示),用來儲存一韌體程式1301。於是,微處理單The micro processing unit 103 is connected to the hardware setting unit 102 to receive the identification signal, and the micro processing unit 103 is designed to have a built-in memory (not shown) for storing a firmware program 1301. So, the micro processing order

元103在運作時即會執行韌體程式1301,使韌體程式1301是依據識別信號來搭載資訊資料庫101中相對應的功能描述資訊,並進而致能該所搭載的功能描述資訊來呈現一目的功能,以因應輸入/輸出模組10的功能硬體電路100。其中,韌體程式1301即是依據前述的識別信號之定義來查詢比對資訊資料庫101,以找到相對應的功能描述資訊來進行搭載。此外,由於不同的輸入/輸出模組10之間可能有部分基本的電路及功能是相同的,因此韌體程式1031是預設具有一基本功能描述資訊,以讓韌體程式1031運作時即可直接致能基本功能描述資訊而呈現一基本功能來因應輸入/輸出模組10共通的一基本電路(圖未示)。When the device 103 is in operation, the firmware program 1301 is executed, so that the firmware program 1301 loads the corresponding function description information in the information database 101 according to the identification signal, and further enables the function description information to be presented. The purpose function is to respond to the function hardware circuit 100 of the input/output module 10. The firmware program 1301 queries the comparison information database 101 according to the definition of the identification signal to find the corresponding function description information for piggybacking. In addition, since some basic circuits and functions may be the same between different input/output modules 10, the firmware program 1031 is preset to have a basic function description information, so that the firmware 1031 can be operated. The basic function description information is directly enabled to present a basic function to cope with a basic circuit (not shown) common to the input/output module 10.

補充說明的是,上述資訊資料庫101在設計上可如第一圖所示是採用外接方式來連接微處理單元103,當然另外也可以設計是直接內建於微處理單元103中,以較節省硬體上的空間。It is to be noted that the above information database 101 can be designed to be connected to the micro processing unit 103 by using an external connection as shown in the first figure. Of course, it can also be designed to be directly built in the micro processing unit 103, thereby saving. Space on the hardware.

連接介面單元105是連接微處理單元103,並且用來連接電腦11的通信介面單元111,用以傳輸微處理單元103及電腦11之間的信號。其中,連接介面單元105與通信介面單元111之間是可採用有線或無線的連接方式來進行連接,例如:透過網際網路(有線/無線)、串列標準(RS-232、RS-422、RS-432或RS-485)、通用界面匯流排(GPIB)或IEEE 1394等公制協定來連接。此外,在連接設置上,輸入/輸出模組10除了如第一圖所示是採用外接於電腦11的連接態樣之外,亦可直接是採用設置於電腦11內部的連接態樣(此態樣圖未示)。The connection interface unit 105 is connected to the micro processing unit 103 and is used to connect the communication interface unit 111 of the computer 11 for transmitting signals between the micro processing unit 103 and the computer 11. The connection interface unit 105 and the communication interface unit 111 can be connected by using a wired or wireless connection, for example, through the Internet (wired/wireless), serial standard (RS-232, RS-422, Connections are made by metric protocols such as RS-432 or RS-485), General Interface Bus (GPIB), or IEEE 1394. In addition, in the connection setting, the input/output module 10 is directly connected to the computer 11 as shown in the first figure, or directly connected to the computer 11 (this state) The sample is not shown).

接著,再針對電腦11的架構來加以說明。通信介面單元111是用來連接輸入/輸出模組10的連接介面單元105。而介面資料庫112的設計原理是與之前所述的資訊資料庫101一樣,也是必須預先依據輸入/輸出模組10所能設計形成的多種功能硬體電路100而分別對應儲存一操作介面(圖未示)。Next, the architecture of the computer 11 will be described. The communication interface unit 111 is a connection interface unit 105 for connecting the input/output module 10. The design principle of the interface database 112 is the same as that of the information database 101 described above, and it is necessary to separately store an operation interface according to the plurality of functional hardware circuits 100 that can be designed and formed according to the input/output module 10. Not shown).

操作設定單元113則是用來提供給使用者進行操作的介面,一般是採用圖形使用者介面(Graphic User Interface,GUI)的設計以方便操作。操作設定單元113是連接通信介面單元111及介面資料庫112,用以透過通信介面單元111來取得輸入/輸出模組10之微處理單元103所接收的識別信號,並且再依據識別信號來搭載介面資料庫112中相對應的操作介面,以能夠因應輸入/輸出模組10的功能硬體電路100而提供相對應的操作介面給使用者操作設定。於是,使用者可以透過操作設定單元113所搭載的操作介面來進行操作設定,以對目前輸入/輸出模組10的功能硬體電路100設定產生一運作程序來達到控制輸入/輸出模組10之運作的作用。The operation setting unit 113 is an interface for providing operations to the user, and generally adopts a graphic user interface (GUI) design to facilitate operation. The operation setting unit 113 is connected to the communication interface unit 111 and the interface database 112 for obtaining the identification signal received by the micro processing unit 103 of the input/output module 10 through the communication interface unit 111, and then mounting the interface according to the identification signal. The corresponding operation interface in the database 112 provides a corresponding operation interface for the user to operate in response to the functional hardware circuit 100 of the input/output module 10. Therefore, the user can perform operation setting through the operation interface mounted on the operation setting unit 113 to generate an operation program for the function hardware circuit 100 of the current input/output module 10 to control the input/output module 10. The role of operation.

如此一來,控制系統1在藉由輸入/輸出模組10及電腦11建構設計之下,並且再搭配連接適合的至少一受控裝置2,即可用來控制相關的作業流程。而在控制系統1的運作上,由於此時電腦11的操作設定單元113與輸入/輸出模組10的功能硬體電路100以及韌體程式1031所呈現之功能都已是相互對應的,因此使用者即可透過電腦11的操作設定單元113來設定產生運作程序,並透過輸入/輸出模組10的功能硬體電路100及韌體程式1031所對應呈現的目的功能來控制受控裝置2。藉以達到控制作業流程的目的。In this way, the control system 1 can be used to control the related workflow by constructing the design by the input/output module 10 and the computer 11 and then matching the at least one controlled device 2 suitable for the connection. In the operation of the control system 1, since the functions of the operation setting unit 113 of the computer 11 and the function hardware circuit 100 of the input/output module 10 and the firmware program 1031 are mutually corresponding, the use is performed. The operation setting program can be set by the operation setting unit 113 of the computer 11, and the controlled device 2 can be controlled by the function function of the function hardware circuit 100 and the firmware program 1031 of the input/output module 10. In order to achieve the purpose of controlling the operation process.

此外,若實際所控制的作業流程需額外的輸入信號來搭配時,則輸入/輸出模組10在功能硬體電路100有支援之下亦可進一步連接至少一信號產生裝置3,以接收信號產生裝置3所產生的一輔助控制信號,來完成作業流程之控制。其中,信號產生裝置3並不限制是為數位信號產生裝置或類比信號產生裝置,例如:切換開關、計時器等。當然,上述的受控裝置2及信號產生裝置3在應用上亦不限制是為本地裝置或遠端裝置。In addition, if the actual controlled workflow requires additional input signals to be matched, the input/output module 10 can further connect at least one signal generating device 3 with the support of the functional hardware circuit 100 to receive the signal generated. An auxiliary control signal generated by the device 3 is used to complete the control of the workflow. The signal generating device 3 is not limited to a digital signal generating device or an analog signal generating device, such as a switch, a timer, or the like. Of course, the above-mentioned controlled device 2 and signal generating device 3 are also not limited to being local devices or remote devices.

除了上述控制系統1的架構說明之外,為了對本發明做進一步的詳細介紹,接下來再單獨針對輸入/輸出模組10的運作部分來做說明,請基於上述的輸入/輸出模組10之架構來參考第二圖,為本發明輸入/輸出模組的運作方法實施例流程圖。如圖所示,本實施例提供一種輸入/輸出模組的運作方法,首先,載入一資訊資料庫(S201),其中資訊資料庫是依據輸入/輸出模組所能設計形成的多種功能硬體電路而分別對應儲存至少一功能描述資訊。接著,取得一依據目前輸入/輸出模組的功能硬體電路而產生的識別信號(S203),其中該識別信號的產生已於第一圖之實施例中說明,在此就不再加以贅述。In addition to the above-described architectural description of the control system 1, in order to further describe the present invention, the operation portion of the input/output module 10 will be separately described below, based on the above-described architecture of the input/output module 10. Referring to the second figure, a flow chart of an embodiment of an operation method of the input/output module of the present invention is shown. As shown in the figure, the present embodiment provides an operation method of an input/output module. First, an information database (S201) is loaded, wherein the information database is based on various functions that can be formed by the input/output module. The body circuit respectively stores at least one function description information. Then, an identification signal (S203) generated according to the functional hardware circuit of the current input/output module is obtained (S203), wherein the generation of the identification signal is described in the embodiment of the first figure, and details are not described herein again.

緊接著依據識別信號來查詢資訊資料庫,以判斷識別信號是否建立儲存於資訊資料庫(S205)。若步驟(S205)的判斷結果為是,則表示預先設計儲存的資訊資料庫中有符合目前輸入/輸出模組之功能硬體電路的相關功能描述資訊。於是,輸入/輸出模組中所執行的韌體程式便會依據識別信號來搭載資訊資料庫中相對應的功能描述資訊(S207)。並且再致能該所搭載的功能描述資訊來呈現一目的功能(S209)。而在此同時,由於韌體程式中通常會內建有一基本功能描述資訊來因應輸入/輸出模組的基本電路,因此也就會一併致能基本功能描述資訊來呈現一基本功能(S211)。The information database is then queried according to the identification signal to determine whether the identification signal is stored in the information database (S205). If the result of the step (S205) is YES, it means that the pre-designed stored information database has relevant function description information conforming to the function hardware circuit of the current input/output module. Therefore, the firmware program executed in the input/output module carries the corresponding function description information in the information database according to the identification signal (S207). And the function description information carried in the device is re-enabled to present a purpose function (S209). At the same time, since the basic function description information is usually built in the firmware program to respond to the basic circuit of the input/output module, the basic function description information is also displayed together to present a basic function (S211). .

而若步驟(S205)的判斷結果為否,則表示預先設計儲存的資訊資料庫中並沒有符合目前輸入/輸出模組之功能硬體電路的相關功能描述資訊,或者是表示在識別信號的判斷上產生錯誤。於是,便僅會執行步驟(S211),以單純致能基本功能描述資訊來呈現基本功能。藉此,以完成本實施例之輸入/輸出模組的運作。If the result of the step (S205) is no, it means that the pre-designed stored information database does not have the relevant function description information of the function hardware circuit of the current input/output module, or the judgment of the identification signal. An error has occurred. Thus, only the step (S211) is performed to simply display the basic function description information to present the basic functions. Thereby, the operation of the input/output module of the embodiment is completed.

綜上所述,本發明當輸入/輸出模組之功能硬體電路在設計上有改變時,僅需透過硬體設定單元的調整,輸入/輸出模組中的韌體程式以及電腦中的操作設定單元便會自動進行因應搭載而呈現與目前該功能硬體電路相符的功能及操作介面。藉此,在不同的輸入/輸出模組之間便能通用同一個架構的韌體程式,讓研發人員在開發上若有新增或修改時,就不需再浪費時間來對所有版本的韌體程式進行重複性的修改,藉以減輕韌體程式管理上的負擔,並且降低韌體程式維護上出錯的機會。進而讓不同功能的輸入/輸出模組之間的品質及穩定度較為一致。In summary, when the functional hardware circuit of the input/output module is changed in design, only the adjustment of the hardware setting unit, the firmware of the input/output module, and the operation in the computer are required. The setting unit automatically performs the function and operation interface corresponding to the current hardware circuit of the function in response to the mounting. In this way, the firmware of the same architecture can be shared between different input/output modules, so that when developers add or modify development, there is no need to waste time on all versions of the firmware. Repetitive modifications to the program to ease the burden of firmware management and reduce the chance of error in firmware maintenance. In turn, the quality and stability of the input/output modules of different functions are relatively consistent.

惟,以上所述,僅為本發明的具體實施例之詳細說明及圖式而已,並非用以限制本發明,本發明之所有範圍應以下述之申請專利範圍為準,任何熟悉該項技藝者在本發明之領域內,可輕易思及之變化或修飾皆可涵蓋在以下本案所界定之專利範圍。However, the above description is only for the purpose of illustration and illustration of the embodiments of the present invention, and is not intended to limit the scope of the invention. Variations or modifications that may be readily conceived within the scope of the invention may be covered by the scope of the invention as defined in the following.

1...控制系統1. . . Control System

10...輸入/輸出模組10. . . Input/output module

100...功能硬體電路100. . . Functional hardware circuit

101...資訊資料庫101. . . Information database

102...硬體設定單元102. . . Hardware setting unit

103...微處理單元103. . . Micro processing unit

1031...韌體程式1031. . . Firmware

104...周邊電路104. . . Peripheral circuit

105...連接介面單元105. . . Connection interface unit

11...電腦11. . . computer

111...通信介面單元111. . . Communication interface unit

112...介面資料庫112. . . Interface database

113...操作設定單元113. . . Operation setting unit

2...受控裝置2. . . Controlled device

3...信號產生裝置3. . . Signal generating device

S201~S211...流程圖步驟說明S201~S211. . . Flow chart step description

第一圖係本發明控制系統的應用實施例方塊圖;及The first figure is a block diagram of an application embodiment of the control system of the present invention; and

第二圖係本發明輸入/輸出模組的運作方法實施例流程圖。The second figure is a flow chart of an embodiment of an operation method of the input/output module of the present invention.

1...控制系統1. . . Control System

10...輸入/輸出模組10. . . Input/output module

100...功能硬體電路100. . . Functional hardware circuit

101...資訊資料庫101. . . Information database

102...硬體設定單元102. . . Hardware setting unit

103...微處理單元103. . . Micro processing unit

1031...韌體程式1031. . . Firmware

104...周邊電路104. . . Peripheral circuit

105...連接介面單元105. . . Connection interface unit

11...電腦11. . . computer

111...通信介面單元111. . . Communication interface unit

112...介面資料庫112. . . Interface database

113...操作設定單元113. . . Operation setting unit

2...受控裝置2. . . Controlled device

3...信號產生裝置3. . . Signal generating device

Claims (14)

一種輸入/輸出模組,係形成有一功能硬體電路,該輸入/輸出模組包括:一資訊資料庫,係依據該輸入/輸出模組所能形成的複數種該功能硬體電路而分別對應儲存至少一功能描述資訊;一硬體設定單元,係依據目前該輸入/輸出模組的該功能硬體電路來設定產生一識別信號;及一微處理單元,係執行一韌體程式,並且連接該硬體設定單元以接收該識別信號;其中,該韌體程式係依據該識別信號來搭載該資訊資料庫中相對應的功能描述資訊,並且致能該所搭載的功能描述資訊來呈現一目的功能。An input/output module is formed with a functional hardware circuit, the input/output module includes: an information database, which is respectively corresponding to a plurality of functional hardware circuits that can be formed by the input/output module Storing at least one function description information; a hardware setting unit is configured to generate an identification signal according to the function hardware circuit of the current input/output module; and a micro processing unit is configured to execute a firmware program and connect The hardware setting unit receives the identification signal; wherein the firmware program carries the corresponding function description information in the information database according to the identification signal, and enables the function description information carried to present a purpose Features. 如申請專利範圍第1項所述之輸入/輸出模組,進一步包含:一周邊電路,係連接該微處理單元,並且該周邊電路係與該微處理單元搭配組成該輸入/輸出模組的該功能硬體電路。The input/output module of claim 1, further comprising: a peripheral circuit connected to the micro processing unit, and the peripheral circuit is combined with the micro processing unit to form the input/output module. Functional hardware circuit. 如申請專利範圍第2項所述之輸入/輸出模組,其中該韌體程式係預設具有一基本功能描述資訊,並且致能該基本功能描述資訊來呈現一基本功能。The input/output module of claim 2, wherein the firmware program preset has a basic function description information, and the basic function description information is enabled to present a basic function. 如申請專利範圍第2項所述之輸入/輸出模組,其中該資訊資料庫係內建於該微處理單元。The input/output module of claim 2, wherein the information database is built in the micro processing unit. 如申請專利範圍第2項所述之輸入/輸出模組,進一步包含:一連接介面單元,係連接該微處理單元,並且用來連接一電腦的一通信介面單元,用以傳輸該微處理單元及該電腦之間的信號。The input/output module of claim 2, further comprising: a connection interface unit connected to the micro processing unit and configured to connect to a communication interface unit of a computer for transmitting the micro processing unit And the signal between the computer. 如申請專利範圍第5項所述之輸入/輸出模組,其中該連接介面單元係以有線或無線的連接方式來連接該通信介面單元。The input/output module of claim 5, wherein the connection interface unit is connected to the communication interface unit by a wired or wireless connection. 一種具有如申請專利範圍第1項所述之輸入/輸出模組的控制系統,該控制系統係依據該輸入/輸出模組的該功能硬體電路以及該韌體程式所對應呈現的目的功能來控制至少一受控裝置。A control system having an input/output module as described in claim 1, wherein the control system is based on the functional hardware circuit of the input/output module and the purpose function corresponding to the firmware program Control at least one controlled device. 如申請專利範圍第7項所述之控制系統,進一步包含一電腦,而該電腦包括:一通信介面單元,係連接該輸入/輸出模組;一介面資料庫,係依據該輸入/輸出模組所能形成的該些功能硬體電路而分別對應儲存一操作介面;及一操作設定單元,係連接該通信介面單元及該介面資料庫,用以取得該微處理單元所接收的該識別信號,並且依據該識別信號來搭載該介面資料庫中相對應的操作介面;其中,該操作設定單元係透過該所搭載的操作介面來對目前該輸入/輸出模組的功能硬體電路設定產生一運作程序,以控制該受控裝置。The control system of claim 7, further comprising a computer, the computer comprising: a communication interface unit connected to the input/output module; and an interface database according to the input/output module The functional hardware circuits can be formed to respectively store an operation interface; and an operation setting unit is connected to the communication interface unit and the interface database for obtaining the identification signal received by the micro processing unit. And the corresponding operation interface in the interface database is mounted according to the identification signal; wherein the operation setting unit generates an operation on the function hardware circuit setting of the current input/output module through the installed operation interface Program to control the controlled device. 如申請專利範圍第8項所述之控制系統,其中該輸入/輸出模組進一步包含:一周邊電路,係連接該微處理單元,並且該周邊電路係與該微處理單元搭配組成該輸入/輸出模組的該功能硬體電路;及一連接介面單元,係連接該微處理單元及該通信介面單元,以傳輸該微處理單元及該電腦之間的信號。The control system of claim 8, wherein the input/output module further comprises: a peripheral circuit connected to the micro processing unit, and the peripheral circuit is combined with the micro processing unit to form the input/output The functional hardware circuit of the module; and a connection interface unit connecting the micro processing unit and the communication interface unit to transmit signals between the micro processing unit and the computer. 如申請專利範圍第9項所述之控制系統,其中該連接介面單元係以有線或無線的連接方式來連接該通信介面單元。The control system of claim 9, wherein the connection interface unit is connected to the communication interface unit by a wired or wireless connection. 如申請專利範圍第9項所述之控制系統,其中該韌體程式係預設具有一基本功能描述資訊,並且致能該基本功能描述資訊來呈現一基本功能。The control system of claim 9, wherein the firmware program preset has a basic function description information and enables the basic function description information to present a basic function. 一種輸入/輸出模組的運作方法,其步驟包括:載入一資訊資料庫,其中該資訊資料庫係依據該輸入/輸出模組所能形成的複數種功能硬體電路而分別對應儲存至少一功能描述資訊;取得一依據目前該輸入/輸出模組的功能硬體電路而產生的識別信號;依據該識別信號來搭載該資訊資料庫中相對應的功能描述資訊;及致能該所搭載的功能描述資訊來呈現一目的功能。An operation method of an input/output module includes the steps of: loading an information database, wherein the information database is correspondingly stored according to a plurality of functional hardware circuits that can be formed by the input/output module; Function description information; obtaining an identification signal generated according to a function hardware circuit of the current input/output module; and carrying the corresponding function description information in the information database according to the identification signal; and enabling the carried Function description information to present a purpose function. 如申請專利範圍第12項所述之輸入/輸出模組的運作方法,進一步包含:判斷該識別信號是否建立儲存於該資訊資料庫;其中,若判斷該識別信號之結果為否,則致能預設的一基本功能描述資訊來呈現一基本功能;其中,若判斷該識別信號之結果為是,則除了依據該識別信號來搭載及致能該資訊資料庫中相對應的功能描述資訊之外,並且也進行致能該基本功能描述資訊。The method for operating an input/output module according to claim 12, further comprising: determining whether the identification signal is stored in the information database; wherein if the result of the identification signal is negative, Presetting a basic function description information to present a basic function; wherein, if the result of the identification signal is determined to be YES, in addition to loading and enabling the corresponding function description information in the information database according to the identification signal And also enable the basic function description information. 如申請專利範圍第12項所述之輸入/輸出模組的運作方法,其中該識別信號係由一硬體設定單元來設定產生。The method for operating an input/output module according to claim 12, wherein the identification signal is generated by a hardware setting unit.
TW98105384A 2009-02-20 2009-02-20 I/o module, controlling system, and operating method of i/o module TWI414916B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW98105384A TWI414916B (en) 2009-02-20 2009-02-20 I/o module, controlling system, and operating method of i/o module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW98105384A TWI414916B (en) 2009-02-20 2009-02-20 I/o module, controlling system, and operating method of i/o module

Publications (2)

Publication Number Publication Date
TW201032010A TW201032010A (en) 2010-09-01
TWI414916B true TWI414916B (en) 2013-11-11

Family

ID=44854742

Family Applications (1)

Application Number Title Priority Date Filing Date
TW98105384A TWI414916B (en) 2009-02-20 2009-02-20 I/o module, controlling system, and operating method of i/o module

Country Status (1)

Country Link
TW (1) TWI414916B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5761665A (en) * 1995-10-31 1998-06-02 Pitney Bowes Inc. Method of automatic database field identification for postal coding
US6038333A (en) * 1998-03-16 2000-03-14 Hewlett-Packard Company Person identifier and management system
US6133847A (en) * 1997-10-09 2000-10-17 At&T Corp. Configurable remote control device
US20050120096A1 (en) * 2001-08-02 2005-06-02 Junichi Rekimoto Remote control system and remote control method, device for performing remote control operation and control method therefor, device operable by remote control operation and control method therefor, and storage medium
US7084780B2 (en) * 2002-02-05 2006-08-01 Nvidia Corporation Remote control device for use with a personal computer (PC) and multiple A/V devices and method of use
TWM350749U (en) * 2008-06-04 2009-02-11 Productivity Architect Co Ltd Apparatus of multi-functional monitor/control system for building

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5761665A (en) * 1995-10-31 1998-06-02 Pitney Bowes Inc. Method of automatic database field identification for postal coding
US6133847A (en) * 1997-10-09 2000-10-17 At&T Corp. Configurable remote control device
US6038333A (en) * 1998-03-16 2000-03-14 Hewlett-Packard Company Person identifier and management system
US20050120096A1 (en) * 2001-08-02 2005-06-02 Junichi Rekimoto Remote control system and remote control method, device for performing remote control operation and control method therefor, device operable by remote control operation and control method therefor, and storage medium
US7084780B2 (en) * 2002-02-05 2006-08-01 Nvidia Corporation Remote control device for use with a personal computer (PC) and multiple A/V devices and method of use
TWM350749U (en) * 2008-06-04 2009-02-11 Productivity Architect Co Ltd Apparatus of multi-functional monitor/control system for building

Also Published As

Publication number Publication date
TW201032010A (en) 2010-09-01

Similar Documents

Publication Publication Date Title
JP6176633B2 (en) Enhanced rehosting performance for legacy hardware and software
KR20120096858A (en) Remote wakeup of application processor of mobile device
JP2018180705A (en) Abnormality detection system, semiconductor device manufacturing system and manufacturing method
CN101478577A (en) System and method for addressing the slave device by the master device
US11880625B2 (en) Display device, screen generation method, and screen generation program
CN105629926A (en) Event Generation Management in Industrial Controllers
US10250413B2 (en) Facility system
CN117743246A (en) Backboard bus expansion system, management method and device, server and storage medium
CN102088384A (en) Standardized multifunctional LXI (LAN based extensions for instrumentation) equipment
US11726467B2 (en) Systems and methods for automatic configuration of intelligent electronic devices
CN107283423A (en) Intelligent Test Robot System
JPWO2008146477A1 (en) PLC with communication function
CN102955444B (en) PLC network extension system
TWI414916B (en) I/o module, controlling system, and operating method of i/o module
CN101866146B (en) Input/output module and its application control system and its operation method
US20240378118A1 (en) Mobile intelligent industrial device cloning
US20240103498A1 (en) Systems and methods of remotely controlling channel resets for input/output modules of industrial systems
CN110794731A (en) An Embedded Soft PLC Control System Supporting Ethernet
CN201965464U (en) Numerical control machine control panel and control system thereof
JP2014119910A (en) Information processing device and program
CN107515830B (en) Semiconductor process control systems and semiconductor process control systems
CN209330129U (en) A Distributed Dynamic Radio Frequency Test Interface Device
TW202036014A (en) Wireless electronic-control system
CN205427578U (en) Support PLC touch control integrated machine of man -machine interface configuration
US20190081864A1 (en) Gateway and method of determining machines to be networked at gateway

Legal Events

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