TWI539253B - Numerical control device - Google Patents

Numerical control device Download PDF

Info

Publication number
TWI539253B
TWI539253B TW104114545A TW104114545A TWI539253B TW I539253 B TWI539253 B TW I539253B TW 104114545 A TW104114545 A TW 104114545A TW 104114545 A TW104114545 A TW 104114545A TW I539253 B TWI539253 B TW I539253B
Authority
TW
Taiwan
Prior art keywords
controlled
interface
register
control device
main control
Prior art date
Application number
TW104114545A
Other languages
Chinese (zh)
Other versions
TW201640242A (en
Inventor
嚴舉樓
陳俊廷
陳青杉
Original Assignee
新代科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 新代科技股份有限公司 filed Critical 新代科技股份有限公司
Priority to TW104114545A priority Critical patent/TWI539253B/en
Application granted granted Critical
Publication of TWI539253B publication Critical patent/TWI539253B/en
Publication of TW201640242A publication Critical patent/TW201640242A/en

Links

Classifications

    • 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

  • Numerical Control (AREA)

Description

數值控制裝置 Numerical control device

本發明係有關於一種數值控制裝置,特別是有關於一種具有可連接於數種受控制元件之主控制接口之數值控制裝置。 This invention relates to a numerical control device, and more particularly to a numerical control device having a main control interface connectable to several controlled components.

一般而言,工業用數值控制裝置常用以控制各種不同型態的受控制器,例如:車床、銑床及機械手臂等,然而,各種不同型態的受控制器之連接接口種類不盡相同,若一個數值控制裝置欲同時連接至不同種類的受控制器,則必須事先在數值控制裝置增設多個連接接口,或是額外加裝轉接器,但無論是以增設連接接口或是額外加裝轉接器,皆會造成成本的增加。 In general, industrial numerical control devices are commonly used to control various types of controllers, such as lathes, milling machines, and robotic arms. However, the types of connection interfaces of various types of controllers are not the same. If a numerical control device is to be connected to different types of controllers at the same time, it is necessary to add a plurality of connection interfaces in the numerical control device in advance, or to additionally install an adapter, but whether to add a connection interface or an additional installation The connector will cause an increase in cost.

更具體而言,當一數值控制裝置與多個通訊匯流排類型相同的受控制器連接時,其連接方式為數值控制裝置與一受控制器電性連接,此受控制器再與另一受控制器電性連接,依此方式串聯多個通訊匯流排類型相同的受控制器,其訊號傳遞方式則是數值控制裝置將所有受控制器所需的訊號先傳遞至第一個與數值控制裝置連接之受控制器,第一個受控制器擷取所需的資料後,第一個受控制器再將剩餘的訊號傳遞至第二個受控制器,依此方式傳遞至最後一個受控制器,然而,此方式僅可讓主控制器傳遞訊號至一個受控制器,或是讓一個受控制器傳遞訊號至主控制器,而無法同時讓主控制器傳遞訊號至受控制器且受控制器傳遞訊號至主控制器,如此一來,增加了整體訊號傳遞時間,也因此增加整體作業時間。 More specifically, when a numerical control device is connected to a controller of the same type of communication busbars, the connection mode is that the numerical control device is electrically connected to a controller, and the controller is connected to another controller. The controller is electrically connected, and in this way, a plurality of controllers of the same type of communication bus are connected in series, and the signal transmission mode is that the numerical control device transmits all the signals required by the controller to the first and the numerical controller. The connected controller is the first controller to retrieve the required data, and the first controller passes the remaining signals to the second controller, and then passes to the last controller. However, this method can only allow the main controller to transmit signals to a controller, or let a controller pass signals to the main controller, but not the main controller to transmit signals to the controller and the controller. Passing the signal to the main controller increases the overall signal transfer time and therefore the overall operating time.

另一方面,當一數值控制裝置增設多個可與不同種類受控制器連接之接口時,數值控制裝置所傳遞的訊號雖可個別傳遞於各個受控制器,但因數值控制裝置增設接口而增加成本, 且接口必須事先於數值控制裝置增設,如事後需額外增加連接受控制器的種類,則必須增設轉換器,亦增加整體成本。 On the other hand, when a numerical control device is provided with a plurality of interfaces that can be connected to different types of controllers, the signals transmitted by the numerical control device can be individually transmitted to the respective controllers, but are increased by adding interfaces to the numerical control devices. cost, And the interface must be added in advance to the numerical control device. If the type of the connected controller is to be added afterwards, the converter must be added, which also increases the overall cost.

為了解決先前技術所述之問題,本發明之主要目的在於提供一種數值控制裝置,其中,數值控制裝置之主控制接口可連接至各種不同種類的受控制接口,故主控制接口無需因受控制接口類型不同而需要額外增加主控制接口數量,因而降低成本。 In order to solve the problems described in the prior art, the main object of the present invention is to provide a numerical control device in which the main control interface of the numerical control device can be connected to various kinds of controlled interfaces, so that the main control interface does not need to be controlled interface. Different types require an additional number of primary control interfaces, thus reducing costs.

根據上述目的,本發明主要目的在於提供一種數值控制裝置,包括:一主控制器,其用以發送複數個第一控制訊號,每個第一控制訊號包含一串列資料;一暫存器,其電性連接於主控制器,暫存器具有複數個位址,暫存器接收第一控制訊號並輸出第一控制訊號,每一個第一控制訊號分別儲存於暫存器之部分位址;及一主控制接口,其具有複數連接埠,每一個連接埠具有複數個引腳,每一個連接埠之一端電性連接於暫存器,每一個連接埠之另一端分別電性連接至每一個連接埠所對應於一外部受控制元件之一受控制接口,主控制接口之連接埠分別接收暫存器所輸出之第一控制訊號之串列資料,且連接埠分別將所接收之串列資料輸出至連接埠所對應於受控制元件之受控制接口,且受控制接口可傳遞一第二控制訊號至主控制接口之連接埠,主控制端之連接埠傳遞第二控制訊號至暫存器之部分位址,暫存器將第二控制訊號傳遞至主控制器,主控制器藉由第一控制訊號與第二控制訊號控制受控制元件。 According to the above objective, a main object of the present invention is to provide a numerical control device including: a main controller for transmitting a plurality of first control signals, each of the first control signals including a serial data; a temporary register, The first control signal is received by the register, and the first control signal is respectively stored in the address of the temporary register; And a main control interface, which has a plurality of ports, each port has a plurality of pins, one end of each port is electrically connected to the register, and the other end of each port is electrically connected to each The connection port corresponds to one of the externally controlled components controlled interface, the connection of the main control interface respectively receives the serial data of the first control signal output by the temporary register, and the connection device respectively receives the received serial data The output is connected to the controlled interface of the controlled component, and the controlled interface can transmit a second control signal to the connection of the main control interface, and the connection of the main control terminal Passing a second portion of the control signal to the address register, the second register control signal transmitted to the main controller, the main controller by a first control signal and the second control signal is controlled by the control element.

經上述可知,由於本發明之主控制接口各個連接埠與每一個受控制元件之間的資料傳遞同樣也是獨立傳遞,可以確保各個受控制元件之間不會相互干擾。再者,藉由本發明之數值控制裝置之主控制接口可連接至各種不同種類的受控制接口,故主控制接口無需因受控制接口類型不同而需要額外增加主控制接口數量,因而降低成本。 As can be seen from the above, since the data transfer between the respective ports of the main control interface of the present invention and each of the controlled elements is also independently transmitted, it is ensured that the respective controlled elements do not interfere with each other. Furthermore, the main control interface of the numerical control device of the present invention can be connected to various types of controlled interfaces, so that the main control interface does not need to additionally increase the number of main control interfaces due to different types of controlled interfaces, thereby reducing costs.

1‧‧‧數值控制裝置 1‧‧‧ numerical control device

11‧‧‧主控制器 11‧‧‧Master Controller

12‧‧‧暫存器 12‧‧‧ register

13‧‧‧主控制接口 13‧‧‧Main control interface

131、132、133‧‧‧連接埠 131, 132, 133‧‧‧ links

1311、1312、1313、1314、1321、1322、1331、1332‧‧‧引腳 1311, 1312, 1313, 1314, 1321, 1322, 1331, 1332‧‧ pins

2、3、4‧‧‧受控制元件 2, 3, 4‧‧‧ controlled components

21、22、23、24、31、32、41、41‧‧‧受控制接口 21, 22, 23, 24, 31, 32, 41, 41‧‧‧ controlled interfaces

第1圖係本發明一實施例之數值控制裝置與數個受控制元件連接之示意圖。 BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a schematic illustration of the connection of a numerical control device to a plurality of controlled components in accordance with an embodiment of the present invention.

第2圖係本發明一實施例之主控制接口與數個受控制元件連接之示意圖。 Figure 2 is a schematic diagram showing the connection of a main control interface to a plurality of controlled components in accordance with an embodiment of the present invention.

第3圖係本發明一實施例之暫存器位元對應於主控制接口之示意圖。 FIG. 3 is a schematic diagram of a register bit corresponding to a main control interface according to an embodiment of the present invention.

由於本發明揭露一種數值控制裝置,其中所利用之暫存器儲存資料的方式,已為相關技術領域具有通常知識者所能明瞭,故以下文中之說明,不再作完整描述。同時,以下文中所對照之圖式,係表達與本發明特徵有關之結構及功能示意,並未依據實際尺寸完整繪製,盍先敘明。 Since the present invention discloses a numerical control device in which the manner in which the temporary storage device is used for storing data is well known to those skilled in the relevant art, the description below will not be fully described. At the same time, the drawings referred to in the following texts express the structure and function diagrams related to the features of the present invention, and are not completely drawn according to actual dimensions, which are first described.

本發明係有關於一種數值控制裝置,特別是有關於包含一主控制器、一暫存器及一主控制接口之數值控制裝置。 The present invention relates to a numerical control device, and more particularly to a numerical control device including a main controller, a register, and a main control interface.

首先,請同時參閱第1、2圖,第1圖係本發明一實施例之數值控制裝置與數個受控制元件連接之示意圖;第2圖係本發明一實施例之主控制接口與數個受控制元件連接之示意圖。 First, please refer to FIG. 1 and FIG. 2 simultaneously. FIG. 1 is a schematic diagram showing a connection between a numerical control device and a plurality of controlled components according to an embodiment of the present invention; and FIG. 2 is a main control interface and a plurality of embodiments of the present invention. Schematic diagram of the connection of controlled components.

接著,如第1圖所示,本發明一實施例之數值控制裝置1係由一主控制器11、一暫存器12及一主控制接口13所組成,將主控制器11電性連接於暫存器12,再將暫存器12電性連接於主控制接口13之一端,主控制接口13之另一端則電性連接於數個受控制元件2、3、4;其中,暫存器12具有複數個位址,以本發明實施例為例,暫存器具有八個位址。 Next, as shown in FIG. 1 , the numerical control device 1 of the embodiment of the present invention is composed of a main controller 11 , a register 12 and a main control interface 13 , and the main controller 11 is electrically connected to the main controller 11 . The register 12 is electrically connected to one end of the main control interface 13, and the other end of the main control interface 13 is electrically connected to the plurality of controlled elements 2, 3, 4; wherein, the register 12 has a plurality of addresses. In the embodiment of the present invention, the register has eight addresses.

更具體而言,主控制接口13與受控制元件2、3、4之間的連接方式如第2圖所示,主控制接口13具有複數個連接埠131、132、133,其中,連接埠131具有引腳1311、1312、1313、1314,連接埠132具有引腳1321、1322,連接埠133具有引腳1331、 1332,每個連接埠131、132、133的每個引腳1311、1312、1313、1314、1321、1322、1331、1332之一端電性連接至暫存器12,每個連接埠131、132、133的每個引腳1311、1312、1313、1314、1321、1322、1331、1332之另一端電性連接至每個連接埠131、132、133之引腳1311、1312、1313、1314、1321、1322、1331、1332對應於受控制元件2、3、4之受控制接口21、22、23、24、31、32、41、42。 More specifically, the connection between the main control interface 13 and the controlled components 2, 3, 4 is as shown in FIG. 2, and the main control interface 13 has a plurality of ports 131, 132, 133, wherein the port 131 With pins 1311, 1312, 1313, 1314, the port 132 has pins 1321, 1322, and the port 133 has pins 1331. 1332, one end of each of the pins 1311, 1312, 1313, 1314, 1321, 1322, 1331, 1332 of each port 131, 132, 133 is electrically connected to the register 12, each port 131, 132, The other end of each of the pins 1311, 1312, 1313, 1314, 1321, 1322, 1331, 1332 of 133 is electrically connected to the pins 1311, 1312, 1313, 1314, 1321 of each port 131, 132, 133. 1322, 1331, 1332 correspond to the controlled interfaces 21, 22, 23, 24, 31, 32, 41, 42 of the controlled elements 2, 3, 4.

請繼續參閱第1、2圖;主控制器11用以發送複數個第一控制訊號至暫存器12,每個第一控制訊號分別對應於暫存器12的部分位址,其中,每個第一控制訊號包含一串列資料;暫存器12在接收這些第一控制訊號後,輸出這些第一控制訊號至主控制接口13之每個連接埠131、132、133之每個引腳1311、1312、1313、1314、1321、1322、1331、1332;其中,暫存器12各位元之位址與連接埠131、132、133及其引腳1311、1312、1313、1314、1321、1322、1331、1332的對應關係如第3圖所示;在本發明的較佳實施例中,暫存器12是以八個位元的位址來用以分別儲存各個第一控制訊號,主控制接口13之每個連接埠131、132、133之每個引腳1311、1312、1313、1314、1321、1322、1331、1332分別接收暫存器12所輸出之每個第一控制訊號的串列資料,例如:連接埠131接收暫存器12之第一~第四位元的串列資料,連接埠132接收暫存器12之第五~第六位元的串列資料,連接埠133接收暫存器12之第七~第八位元的串列資料;接著,每個連接埠131、132、133將所接收到的串列資料透過引腳分別輸出至各個連接埠131、132、133所對應於受控制元件2、3、4之受控制接口21、22、23、24、31、32、41、42;例如:連接埠131透過引腳1311、1312、1313、1314輸出串列資料至受控制元件2之受控制接口21、22、23、24,連接埠132透過引腳1321、1322輸出串列資料至受控制元件3之受控制接口31、32,連接埠133透過引腳1331、1332輸出串列資料至受控制元件4之受控制接口41、42。此外,每個受控制接口21、22、23、24、31、32、41、42亦可傳 遞第二控制訊號至主控制接口13之連接埠131、132、133中的每個引腳1311、1312、1313、1314、1321、1322、1331、1332;而主控制接口13之連接埠131、132、133的每個引腳1311、1312、1313、1314、1321、1322、1331、1332再將第二控制訊號輸出至暫存器12,暫存器12將第二控制訊號輸出至主控制器11,使得主控制器11可以藉由第二控制訊號控制受控制元件2、3、4。 Please continue to refer to the first and second figures; the main controller 11 is configured to send a plurality of first control signals to the temporary memory 12, each of the first control signals respectively corresponding to a partial address of the temporary memory 12, wherein each The first control signal includes a serial data; after receiving the first control signals, the buffer 12 outputs the first control signals to each of the pins 131, 132, and 133 of the main control interface 13 , 1312, 1313, 1314, 1321, 1322, 1331, 1332; wherein, the addresses of the bits of the register 12 and the ports 131, 132, 133 and their pins 1311, 1312, 1313, 1314, 1321, 1322 The correspondence between 1331 and 1332 is as shown in FIG. 3. In the preferred embodiment of the present invention, the register 12 is an address of eight bits for respectively storing the first control signals, and the main control interface. Each of the pins 1311, 1312, 1313, 1314, 1321, 1322, 1331, 1332 of each of the ports 131, 132, and 133 receives the serial data of each of the first control signals output by the register 12, respectively. For example, the port 131 receives the serial data of the first to fourth bits of the register 12, and connects to the port 132. The serial data of the fifth to sixth bits of the buffer 12 is received, and the port 133 receives the serial data of the seventh to eighth bits of the register 12; then, each port 131, 132, 133 The received serial data is respectively output through pins to the controlled interfaces 21, 22, 23, 24, 31, 32, 41 of the respective connected ports 131, 132, 133 corresponding to the controlled elements 2, 3, 4. 42; for example, the port 131 outputs the serial data to the controlled interface 21, 22, 23, 24 of the controlled component 2 through the pins 1311, 1312, 1313, 1314, and the port 132 outputs the string through the pins 1321, 1322. The column data is sent to the controlled interfaces 31, 32 of the controlled component 3, and the port 133 outputs the serial data to the controlled interfaces 41, 42 of the controlled component 4 via the pins 1331, 1332. In addition, each controlled interface 21, 22, 23, 24, 31, 32, 41, 42 can also be transmitted Transmitting the second control signal to each of the pins 1311, 1312, 1313, 1314, 1321, 1322, 1331, 1332 of the main control interface 13; and the port 131 of the main control interface 13, Each of the pins 1311, 1312, 1313, 1314, 1321, 1322, 1331, 1332, 1321 and 133 outputs a second control signal to the register 12, and the register 12 outputs the second control signal to the main controller. 11. The main controller 11 can control the controlled components 2, 3, 4 by the second control signal.

上述本發明實施例中,數值控制裝置1傳遞串列資料至受控制元件2、3、4的方式為一非同步起停方式(asynchronous start-stop);在本發明的較佳實施例中,是以數值控制裝置1與受控制元件2之間的資料傳遞為例:首先,主控制器11傳遞一個數位訊號為0的位元至暫存器12,此數位訊號0之位元並非包含在八個位元的串列資料中,而是一起始位元;接著,暫存器12將此起始位元0傳遞至主控制接口13之連接埠131之引腳1311、1312,使引腳1311與1312之間產生-6V~-2V的低電壓差,且引腳1311、1312輸出低電壓差至受控制元件2之受控制接口21、22;當受控制接口21、22接收到低電壓差(例如:-6V)時,則可開始接收串列資料;其中,串列資料係由一連串共八個由位元0與1所構成之位元串;之後,在串列資料傳遞結束後,主控制器11傳遞一個數位訊號為1之位元至暫存器12;其中,此數位訊號為1之位元同樣並非包含在八個位元的串列資料內,而是一結束位元;之後,暫存器12將此結束位元1傳遞至主控制接口13之連接埠131之引腳1311、1312,使引腳1311、1312之間產生+2V~+6V的高電壓差,且引腳1311、1312輸出高電壓差至受控制元件2之受控制接口21、22,當受控制接口21、22接收到高電壓差(例如:+6V)時,則可結束受控制元件2之資料傳遞。如此方式即完成一次的串列資料傳遞。同樣地,數值控制裝置1與受控制元件2之間多次串列資料的傳遞方式如同上述,且數值控制裝置1與受控制元件3、4如同上述數值控制裝置1與受控制元件2之間的串列資料傳遞方式,在此不再贅述。 In the above embodiment of the present invention, the manner in which the numerical control device 1 transmits the serial data to the controlled components 2, 3, 4 is an asynchronous start-stop mode; in a preferred embodiment of the present invention, For example, the data transfer between the numerical control device 1 and the controlled component 2 is taken as an example: first, the main controller 11 transmits a bit with a digital signal of 0 to the scratchpad 12, and the bit of the digital signal 0 is not included in the bit. In the serial data of eight bits, but a start bit; then, the scratchpad 12 transfers the start bit 0 to the pins 1311 and 1312 of the port 131 of the main control interface 13 to make the pins A low voltage difference of -6V~-2V is generated between 1311 and 1312, and pins 1311, 1312 output a low voltage difference to the controlled interface 21, 22 of the controlled component 2; when the controlled interface 21, 22 receives a low voltage When the difference is (for example, -6V), the serial data can be started to be received; wherein the serial data is a series of eight bit strings consisting of bits 0 and 1; after that, after the serial data transfer is completed The main controller 11 transmits a bit with a digital signal of 1 to the register 12; wherein the digital signal The bit numbered 1 is also not included in the serial data of eight bits, but is an end bit; after that, the register 12 transfers the end bit 1 to the port 131 of the main control interface 13. Pins 1311, 1312 cause a high voltage difference of +2V~+6V between pins 1311, 1312, and pins 1311, 1312 output a high voltage difference to the controlled interface 21, 22 of the controlled component 2, when subjected to When the control interface 21, 22 receives a high voltage difference (for example: +6V), the data transfer of the controlled element 2 can be ended. In this way, the serial data transfer is completed once. Similarly, the manner in which the serial data is transmitted between the numerical control device 1 and the controlled element 2 is as described above, and the numerical control device 1 and the controlled components 3, 4 are like the above-described numerical control device 1 and the controlled component 2 The serial data transmission method will not be described here.

上述本發明實施例中,由於主控制接口13之各個連 接埠131、132、133是分別與受控制元件2、3、4連接,故主控制接口13之各個連接埠131、132、133與受控制元件2、3、4之間的資料傳遞同樣也是獨立傳遞;換言之,主控制接口13之各個連接埠131、132、133可與各個受控制元件2、3、4互相傳遞資料,而各個受控制元件2、3、4之間不因此相互干擾。此外,本發明之數值控制裝置1亦無需傳遞資料給受控制元件2後,再依序進行將受控制元件3、4所需的資料傳遞至受控制元件3、4,因此,本發明之數值控制裝置不會降低資料傳遞效率與降低使用靈活度。 In the above embodiment of the present invention, each connection of the main control interface 13 The ports 131, 132, 133 are respectively connected to the controlled elements 2, 3, 4, so the data transfer between the respective ports 131, 132, 133 of the main control interface 13 and the controlled elements 2, 3, 4 is also Independently; in other words, the respective ports 131, 132, 133 of the main control interface 13 can communicate data with the respective controlled elements 2, 3, 4, and the respective controlled elements 2, 3, 4 do not interfere with each other. In addition, the numerical control device 1 of the present invention does not need to transmit data to the controlled component 2, and then sequentially transfers the data required by the controlled components 3, 4 to the controlled components 3, 4. Therefore, the numerical value of the present invention The control device does not reduce data transfer efficiency and reduce flexibility of use.

上述本發明實施例中,主控制接口13可同時連接不同種類的受控制元件2、3、4之受控制接口21、22、23、24、31、32、41、42,故無需因受控制元件2、3、4之受控制接口21、22、23、24、31、32、41、42類型不同而需額外新增主控制接口,因而無需額外增加成本,其中,受控制元件2、3、4之受控制接口21、22、23、24、31、32、41、42之類型例如是:RS232、RS422、RS485等類型的串列通訊匯流排,在此本發明並不設限。 In the above embodiment of the present invention, the main control interface 13 can simultaneously connect the controlled interfaces 21, 22, 23, 24, 31, 32, 41, 42 of different types of controlled components 2, 3, 4, so that it is not required to be controlled. The types of controlled interfaces 21, 22, 23, 24, 31, 32, 41, 42 of the components 2, 3, 4 are different, and an additional main control interface is required, so that no additional cost is required, wherein the controlled components 2, 3 The type of the controlled interface 21, 22, 23, 24, 31, 32, 41, 42 of 4 is, for example, a serial communication bus of the type of RS232, RS422, RS485, etc., and the invention is not limited thereto.

上述本發明實施例中,主控制接口13係一串列主控制接口,例如是一DB9類型之串列主控制接口,串列主控制接口之類型可依使用者需求更換,在此本發明並不設限。 In the above embodiment of the present invention, the main control interface 13 is a serial main control interface, for example, a DB9 type serial main control interface, and the type of the serial main control interface can be replaced according to user requirements. No limit.

上述本發明實施例中,主控制接口13因應受控制元件之受控制接口數量而設置三個連接埠,連接埠數量及受控制元件數量可依需求而設置,在此本發明並不設限。 In the above embodiment of the present invention, the main control interface 13 is provided with three ports according to the number of controlled interfaces of the controlled component, and the number of ports and the number of controlled components can be set according to requirements, and the invention is not limited thereto.

以上所述僅為本發明之較佳實施例,並非用以限定本發明之權利範圍;同時以上的描述,對於相關技術領域之專門人士應可明瞭及實施,因此其他未脫離本發明所揭示之精神下所完成的等效改變或修飾,均應包含在申請專利範圍中。 The above description is only the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. The above description should be understood and implemented by those skilled in the relevant art, so that the other embodiments are not disclosed. Equivalent changes or modifications made under the spirit shall be included in the scope of the patent application.

1‧‧‧數值控制裝置 1‧‧‧ numerical control device

11‧‧‧主控制器 11‧‧‧Master Controller

12‧‧‧暫存器 12‧‧‧ register

13‧‧‧主控制接口 13‧‧‧Main control interface

2、3、4‧‧‧受控制元件 2, 3, 4‧‧‧ controlled components

Claims (6)

一種數值控制裝置,包括:一主控制器,其用以發送複數第一控制訊號,每一該些第一控制訊號包含一串列資料;一暫存器,其電性連接於該主控制器,該暫存器具有複數位址,該暫存器接收該些第一控制訊號並輸出該些第一控制訊號,每一該些第一控制訊號分別儲存於該暫存器之部分位址;及一主控制接口,其具有複數連接埠,每一該些連接埠具有複數個引腳,每一該些連接埠之一端電性連接於該暫存器,每一該些連接埠之另一端分別電性連接至每一該些連接埠所對應於一受控制元件之一受控制接口,該主控制接口之該些連接埠分別接收該暫存器所輸出之該些第一控制訊號之該些串列資料,且該些連接埠分別將所接收之該些串列資料輸出至該些連接埠所對應於該受控制元件之該受控制接口,且該受控制接口可傳遞一第二控制訊號至該主控制接口之該連接埠,該主控制接口之該連接埠傳遞該第二控制訊號至該暫存器之部分位址,該暫存器將該第二控制訊號傳遞至該主控制器,該主控制器藉由該第一控制訊號與該第二控制訊號控制該受控制元件。 A numerical control device includes: a main controller for transmitting a plurality of first control signals, each of the first control signals comprising a serial data; a temporary register electrically connected to the main controller The register has a plurality of addresses, the register receives the first control signals and outputs the first control signals, and each of the first control signals is stored in a portion of the address of the register; And a main control interface having a plurality of ports, each of the ports having a plurality of pins, one of each of the ports being electrically connected to the register, and the other end of each of the ports Electrically connected to each of the plurality of ports corresponding to one of the controlled elements of the controlled interface, the ports of the main control interface respectively receiving the first control signals output by the register Serializing the data, and the ports respectively output the received serial data to the controlled interface corresponding to the controlled component, and the controlled interface can transmit a second control Signal to the main control interface The connection port, the connection of the main control interface transmits the second control signal to a part of the address of the register, the register transmits the second control signal to the main controller, and the main controller borrows The controlled component is controlled by the first control signal and the second control signal. 依據申請專利範圍第1項所述的數值控制裝置,其中該主控制接口係一串列主控制接口。 The numerical control device according to claim 1, wherein the main control interface is a serial main control interface. 依據申請專利範圍第1項所述的數值控制裝置,其中該受控制接口係一串列匯流排。 The numerical control device according to claim 1, wherein the controlled interface is a serial bus. 依據申請專利範圍第1項所述的數值控制裝置,其中該主控制接口傳遞該第一控制訊號至該受控制接口之方式係一非同步起停方式。 The numerical control device according to claim 1, wherein the main control interface transmits the first control signal to the controlled interface in a non-synchronous start-stop mode. 依據申請專利範圍第1項所述的數值控制裝置,其中該受控制接口傳遞該第二控制訊號至該主控制接口之方式係一非同步起停方式。 The numerical control device according to claim 1, wherein the controlled interface transmits the second control signal to the main control interface in a non-synchronous start-stop mode. 依據申請專利範圍第1項所述的數值控制裝置,其中該暫存器具有八個位址。 The numerical control device according to claim 1, wherein the register has eight addresses.
TW104114545A 2015-05-07 2015-05-07 Numerical control device TWI539253B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW104114545A TWI539253B (en) 2015-05-07 2015-05-07 Numerical control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104114545A TWI539253B (en) 2015-05-07 2015-05-07 Numerical control device

Publications (2)

Publication Number Publication Date
TWI539253B true TWI539253B (en) 2016-06-21
TW201640242A TW201640242A (en) 2016-11-16

Family

ID=56755998

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104114545A TWI539253B (en) 2015-05-07 2015-05-07 Numerical control device

Country Status (1)

Country Link
TW (1) TWI539253B (en)

Also Published As

Publication number Publication date
TW201640242A (en) 2016-11-16

Similar Documents

Publication Publication Date Title
KR101886426B1 (en) I2c address translation
US8532120B2 (en) Routing facility for a subsea electronics module
US10013389B2 (en) Automatic cascaded address selection
US9448960B2 (en) Address translation in I2C data communications system
JP2008250997A (en) Serial communication equipment for sensor and serial communication method
JP2018502406A5 (en)
EP3690665A1 (en) Low-power and low-latency device enumeration with cartesian addressing
CN101281453B (en) Memory apparatus cascading method, memory system as well as memory apparatus
WO2020153616A3 (en) Host and slave device having cascade-connected structure
KR101850175B1 (en) Expansion Module for Programmable Logic Controller using USB Communication
WO2016078357A1 (en) Master device, and method and system for managing slave devices by master device
WO2013186889A1 (en) I/o device, programmable logic controller, and arithmetic processing method
US8773277B2 (en) Routing facility for a subsea electronics module
TWI539253B (en) Numerical control device
TWI548216B (en) Control chip and control system utilizing the same
JP2011120167A (en) Communication system and communication method
CN104750648A (en) Unidirectional communication control device and method based on two-wire bus
CN104142905A (en) Method and device for extending inter-integrated circuit (IIC)
US10031871B2 (en) DMA control device, micro control unit, and DMA control method
CN104021108A (en) Communication equipment based on PROFIBUS-DP protocol
TW201437774A (en) Sequencer system and method for address setting
KR101898957B1 (en) Data conversion apparatus
JP2016066191A (en) Bus control circuit
CN205594424U (en) Numerical control apparatus
CN103685595B (en) Communication system with automatic setting function for recognizing number