The present application claims priority to Japanese Application Number 2013-087542, filed Apr. 18, 2013, the disclosure of which is hereby incorporated by reference herein in its entirety.
1. Field of the Invention
The present invention relates to a DNC operation system which causes a host computer (hereinafter referred to as the “host apparatus”) to successively send NC data to a numerical controller that controls the drive of machinery, and uses the transmitted NC data to perform operations of such machinery.
2. Description of the Related Art
A standard operation performed by a numerical controller is the system of registering the NC data in a storage device such as an SRAM or a DRAM that is built into the numerical controller, and thereby performing operations (hereinafter referred to as the “memory operation”). Nevertheless, pursuant to the high-precision of part shapes and the enlargement of parts, the size of NC data is increasing, and there is a problem in that the NC data cannot be registered in the storage device in the numerical controller, and demands for the direct numerical control (DNC) operation of performing operations while transmitting the NC data from the host apparatus are increasing.
Moreover, even if it is possible to register the NC data for creating one part in the storage device in the numerical controller, different large-capacity NC data is required for each part in order to perform a small lot production of many products, and there is a problem in that the NC data registered in the storage device in the numerical controller needs to be replaced as required, and there are demands for realizing the DNC operation with only the NC data that is registered in the storage device in the host apparatus.
Technologies of a conventional DNC operation system are now explained based on the first system shown in
With the first system of the conventional DNC operation, NC data is transmitted unidirectionally from the host apparatus to the numerical controller, and the numerical controller merely analyzes and executes the received NC data in succession. Thus, operations are performed without registering the transmitted NC data in the storage device in the numerical controller (refer to, for example, Japanese Patent Application Laid-Open No. 1-195509).
Moreover, with the second system of the conventional DNC operation, since the transmitted NC data is registered in the storage device in the numerical controller in order to realize a sub program call to the NC data stored in the storage device in the host apparatus, a registration start command and a registration end command are inserted, the NC data is registered as a subprogram in the storage device in the numerical controller together with the execution of the NC data, and the sub program registered in the storage device in the numerical controller is repeatedly executed later (refer to, for example, Japanese Patent Application Laid-Open No. 1-230101).
Since the first system of the DNC operation performs operations without registering the transmitted NC data in the storage device in the numerical controller, it is not possible to register information (sequence number, NC data itself, and so on) for performing a repeat instruction or a branch instruction, and these instructions cannot be executed. Moreover, with a sub program call, while the sub program call registered in the storage device in the numerical controller can be performed, since there are no means for notifying the call information (program name, NC data information of the restoration destination, and so on) to the host apparatus, it is not possible to perform the sub program call that is registered in the storage device in the host apparatus.
Thus, with regard to the NC data to be transmitted from the host apparatus, NC data, in which the sub program call, the repeat instruction, and the branch instruction are all expanded therein, needs to be created for exclusive use in the DNC operation, and the NC data of a format that can be used in the memory operation cannot be used as is, and there are problems in that it is difficult to create such exclusive NC data and the size of the NC data will also increase.
With the second system, the numerical controller needs to internally comprise a storage device for registering the transmitted NC data, and, as with the first system, NC data for exclusive use in the DNC operation needs to be created, and the NC data of a format that can be used in the memory operation cannot be used as is, and there are problems in that it is difficult to create such exclusive NC data and the size of the NC data will also increase.
Thus, in light of the problems encountered in the conventional technologies described above, an object of this invention is to provide a DNC operation method capable of performing the sub program call, the repeat instruction, and the branch instruction in the storage device in the host apparatus without having to create NC data for exclusive use in the DNC operation so that the NC data of a format that can be used in the memory operation can be used as is, and to provide a DNC operation system capable of performing operations only with the NC data stored in the storage device in the host apparatus as a result of enabling the use of only the storage device in the host apparatus as the registration destination of the NC data.
In order to perform the DNC operation, a host apparatus and a numerical controller are connected via a communication line (for instance, the Ethernet (registered trademark) or the like) which is capable of bidirectional communication. The numerical controller thereafter changes the operation mode to the DNC operation mode and, based on an operation start command, waits to receive NC data that is transmitted from the host apparatus. The host apparatus confirms that the numerical controller has been changed to the DNC operation mode and is waiting to receive the NC data, and then transmits first-time NC data.
The numerical controller that received the first-time NC data sequentially analyzes the received NC data, and determines whether the received NC data is one among a sub program call, a repeat instruction, and a branch instruction. When the NC data is any other instruction, data is transmitted to the operation instruction execution unit, and the NC data is executed.
When the NC data is one among the subprogram call, the repeat instruction, and the branch instruction, the numerical controller writes, into the storage device in the numerical controller, search information used for searching the NC data that is required by the host apparatus to execute the relevant instruction from the NC data stored in the storage device in the host apparatus, discards the received NC data, and waits for the NC data corresponding to the written search information to be transmitted from the host apparatus.
Note that the foregoing search information is, for example, a program name of the call destination in the case of a sub program call, and a program name of the call source and NC data information of the restoration destination in the case of restoration from the sub program call. Moreover, the foregoing search information is a program name of the repeat destination or the branch destination and sequence number information of the branch destination in the case of a repeat instruction and a branch instruction.
Moreover, since a sub program call is capable of multiple calls (hereinafter referred to as “nesting”), call information for each nesting is stored in the storage device in the numerical controller so that the search information regarding the running sub program can be notified to the host apparatus.
The host apparatus reads and confirms the search information via the communication line before transmitting second-time NC data. When no search information has been written, the second-time NC data is transmitted as is. When search information has been written, the information thereof is analyzed, necessary NC data is searched from the NC data stored in the storage device in the host apparatus, and the NC data to be transmitted in the second time is prepared. Subsequently, the search information in the numerical controller is cleared via the communication line, and information indicating that it is NC data that has been searched (hereinafter referred to as the “searched NC data”) is added to the head of the NC data to be transmitted based on the search information, and the NC data is thereby transmitted.
When the NC data that was received in the first time was only an operation instruction; that is, when search information to be written does not exist in the NC data, the numerical controller executes the same processing as the first time to the NC data that was received in the second time. When the NC data received in the first time includes one among the sub program call, the repeat instruction, and the branch instruction; that is, when search information to be written exists in the NC data, it is determined whether or not the NC data received in the second time is the searched NC data, and, when the received NC data is not the searched NC data, the received NC data is discarded until the searched NC data is received. When it is determined that the received NC data is the searched NC data, the same processing as the first time is executed.
As a result of repeating this processing until the NC data for the DNC operation is ended, operations can be performed using the NC data of a format that can be used in the memory operation as is, and the DNC operation can be performed only with the NC data stored in the storage device in the host apparatus.
Note that, while the foregoing explained a case of the host apparatus reading the search information that was written into the storage device in the numerical controller, the search information may also be transmitted directly to the host apparatus via the communication line in substitute for being written into the storage device in the numerical controller.
Moreover, when the numerical controller simultaneously performs the processing of analysis and operation to the received NC data, a delay will arise by the time that the search information is written, or a delay will arise after the transmission until the host apparatus searches and transmits the searched NC data, and there is a problem in that the operation is temporarily discontinued. This problem can be resolved by performing the analysis processing of the NC data (that is, performing the prefetch analysis) antecedent to the operation processing.
Furthermore, the host apparatus can speed up the search of the NC data with regard to the search information by analyzing the NC data before transmitting the NC data, compiling a database of a sequence number required for searching the NC data and a folder name containing a block pointer or a sub program in the NC data corresponding to the sequence number, and thereafter transmitting the NC data. Consequently, the search for the searched NC data to be transmitted to the numerical controller can be further sped up.
According to the present invention, it is possible to provide a DNC operation method capable of performing the sub program call, the repeat instruction, and the branch instruction in the storage device in the host apparatus without having to create NC data for exclusive use in the DNC operation so that the NC data of a format that can be used in the memory operation can be used as is, and to provide a DNC operation system capable of performing operations only with the NC data stored in the storage device in the host apparatus as a result of enabling the use of only the storage device in the host apparatus as the registration destination of the NC data.
The foregoing and other objects and features of the present invention shall become clear from the description of the following embodiments made with reference to the appended drawings. Among the appended drawings:
The DNC device according to the present invention adopts a numerical control system (hereinafter referred to as the “DNC operation”) that causes a host computer (hereinafter referred to as the “host apparatus”) to successively transmit NC data to a numerical controller via a bidirectional communication line, and perform operations using the transmitted NC data. With this numerical control system, the numerical controller realizes a DNC operation capable of executing a sub program call, a repeat instruction, and a branch instruction simply by using the NC data stored in a storage device such as a hard disk, a solid state drive, or a compact flash card that is built into, or connected to, the host apparatus. Note that the numerical controller controls machine tools, industrial machines and the like according to the NC data (processing program and the like).
The first embodiment of the DNC operation system according to the present invention is foremost explained with reference to
The DNC operation system connects a host apparatus 100 and a numerical controller 300 via a bidirectional communication line 200 such as the Ethernet (registered trademark) which is capable of bidirectional communication.
(1) The numerical controller 300 changes the operation mode to the DNC operation mode and, based on an operation start command, waits to receive first-time NC data 510 that is transmitted from the host apparatus 100 via the bidirectional communication line 200.
(2) After confirming that the numerical controller 300 has been changed to the DNC operation mode based on the operator's operation or the like and is waiting to receive the NC data, the NC data read processing unit 140 in the host apparatus 100 acquires, from the storage device 160, the NC data 510 (refer to
(3) The numerical controller 300 receives the first-time NC data 510 from the NC data reception processing unit 310, and the NC data analysis processing unit 320 in the numerical controller 300 sequentially analyzes the received first-time NC data 510. Subsequently, the determination unit 325 determines whether the analyzed NC data 510 includes one among a sub program call, a repeat instruction, and a branch instruction.
(4) When the analyzed NC data 510 was an instruction other than the sub program call, the repeat instruction, and the branch instruction, the numerical controller 300 transmits the analyzed NC data from the determination unit 325 to the NC data execution processing unit 340, drives a servo motor 400 from an operation command execution unit 380 via a servo control unit 390, and thereby executes the NC data.
(5) Meanwhile, when the analyzed NC data 510 was one among the sub program call, the repeat instruction, and the branch instruction, the search information write processing unit 360 in the numerical controller 300 writes the search information 370 (information used for searching the NC data that is required by the host apparatus 100 to execute the relevant instruction from the NC data stored in the storage device 160 in the host apparatus 100) into a storage device 345 in the numerical controller 300. In addition, the numerical controller 300 discards the received NC data, and waits for the searched NC data corresponding to the contents written into the search information 370 to be transmitted from the host apparatus 100.
In the example shown in
(6) Before transmitting the NC data 520 which is scheduled to be transmitted the second time, the search information read processing unit 170 in the host apparatus 100 reads and confirms the contents of the search information 370 via the bidirectional communication line 200. When no search information 370 has been written into the storage device 345 in the numerical controller 300, the second-time NC data 520 is transmitted as is. In the example of
(7) The NC data analysis processing unit 320 in the numerical controller 300 analyzes the NC data 530 that was received once again, and the NC data analysis processing unit 320 executes the NC data in the same manner as (4) above. However, at the point in time that the branch instruction (“N005 GOTO 10”) existing in the NC data 530 is analyzed, the [program name (O2000)] and the [sequence number (N010)] of the branch destination are written into the search information 370 in the storage device 345. Subsequently, the numerical controller 300 discards the received NC data “N006 Z0.;” and subsequent NC data, among the NC data 530, and waits for the transmission of the NC data 540 of the branch destination from the host apparatus 100.
(8) Since the data to be subsequently transmitted is unknown after the transmission of the NC data 530, the search information read processing unit 170 in the host apparatus 100 confirms the search information 370 at predetermined intervals. Thereafter, at the point in time that the contents of the search information 370 written in (7) above are read by the search information read processing unit 170, the NC data search processing unit 150 searches for the NC data 540, which is to be transmitted subsequently, from the storage device 160. Subsequently, the NC data read processing unit 140 reads the searched NC data 540 from the storage device 160, and the read NC data 540 is transmitted from the NC data transmission processing unit 110 to the numerical controller 300 via the bidirectional communication line 200.
(9) The NC data analysis processing unit 320 in the numerical controller 300 analyzes the received NC data 540, and the numerical controller 300 executes the NC data in the same manner as (4) above. However, since the block (end of sub program) of “N099 M99” exists in the NC data 540, this block is analyzed. Subsequently, the number of repetitions in the information of the running nesting number “1” (example of
(10) Since the data to be subsequently transmitted is unknown after the transmission of the NC data 540, the search information read processing unit 170 in the host apparatus 100 confirms the search information 370 at predetermined intervals. Thereafter, at the point in time that the contents of the search information 370 written in (9) above are read by the search information read processing unit 170, the NC data search processing unit 150 searches for the NC data 550, which is to be transmitted subsequently, from the storage device 160. Subsequently, the NC data read processing unit 140 reads the searched NC data 550 from the storage device 160, and the read NC data 550 is transmitted from the NC data transmission processing unit 110 to the numerical controller 300 via the bidirectional communication line 200.
(11) The NC data analysis processing unit 320 in the numerical controller 300 analyzes the received NC data 550. Subsequently, the determination unit 325 determines that the analyzed NC data 550 is not one among the sub program call, the repeat instruction, and the branch instruction. Consequently, the NC data 550 is sequentially transmitted to the NC data execution processing unit 340, the NC data is executed in the same manner as (4) above, “N099 M30 (program end)” is thereafter executed, and the DNC operation is then ended.
The processing to be executed by the host apparatus 100 and the numerical controller 300 depicted in
(Flow of Processing to be Executed by Host Apparatus 100)
[Step SA01] It is determined whether the numerical controller 300 is in the DNC operation mode or not. If the numerical controller 300 is in the DNC operation mode (YES), the process proceeds to step SA02. If the numerical controller 300 is not in the DNC operation mode (NO), the process waits until the numerical controller 300 switches to the DNC operation mode.
[Step SA02] Processing of reading the search information 370 from the storage device 345 in the numerical controller 300 is performed.
[Step SA03] It is determined whether or not there was any search information 370 that was read in the processing of step SA02. If there was such a search information 370 (YES), the process proceeds to step SA04. If there was not such a search information 370 (NO), the process proceeds to step SA05.
[Step SA04] The NC data corresponding to the search information 370 is searched from the storage device 160 in the host apparatus 100.
[Step SA05] The NC data corresponding to the search information 370 (when the search information 370 was read) or subsequent data of the NC data that was transmitted the last time (when the search information 370 was not read) is read from the storage device 160.
[Step SA06] The NC data that was read in step SA05 is transmitted to the numerical controller 300.
[Step SA07] It is determined whether the NC data that was transmitted to the numerical controller 300 is the last transmission data or not. If the transmitted NC data is the last transmission data (YES), this processing ends. If the transmitted NC data is not the last transmission data (NO), the process returns to step SA02 and the processing continues.
(Flow of Processing to be Executed by Numerical Controller 300)
[Step SB01] An operation mode is switched to the DNC operation mode. For example, it is checked whether an operator issued a switching command for switching to the DNC operation mode from an operation screen or the like, and if confirmed that a switching command was issued, then an operation mode is switched to the DNC operation mode.
[Step SB02] The DNC operation is started.
[Step SB03] It is determined whether or not the NC data was received from the host apparatus 100. If the NC data was received (YES), the process proceeds to step SB04. If the NC data was not received (NO), the process waits for the reception of the NC data.
[Step SB04] One block of the received NC data is analyzed.
[Step SB05] It is determined whether or not the received NC data is the last data of the DNC operation. If the received NC data is the last data (YES), the processing ends. If the received NC data is not the last data (NO), the process proceeds to step SB06.
[Step SB06] It is determined whether the received NC data is one among a sub program call, a repeat instruction, and a branch instruction. If the received NC data is one among the sub program call, the repeat instruction, and the branch instruction (YES), the process proceeds to step SB07. If the received NC data is not one among the sub program call, the repeat instruction, and the branch instruction (NO), the process proceeds to step SB11.
[Step SB07] The sub program call information is stored only when the received NC data is a sub program call.
[Step SB08] The search information is extracted.
[Step SB09] The extracted search information is written into the search information 370 in the storage device 345.
[Step SB10] The remaining received NC data is discarded, and the process returns to step SB03 and the processing continues.
[Step SB11] One block of the received NC data is executed.
[Step SB12] It is determined whether or not the executed block is the last block of the received NC data. If the executed block is the last block (YES), the process returns to step SB03 and the processing continues. If the executed block is not the last block (NO), the process returns to step SB04 and the processing continues.
The second embodiment of the DNC operation system according to the present invention is now explained with reference to
(1) The numerical controller 300 changes the operation mode to the DNC operation mode and, based on an operation start command, waits to receive first-time NC data 510 that is transmitted from the host apparatus 100 via the bidirectional communication line 200.
(2) After confirming that the numerical controller 300 has been changed to the DNC operation mode and is waiting to receive the NC data, the NC data read processing unit 140 in the host apparatus 100 acquires, from the storage device 160, the NC data 510 (refer to
(3) The numerical controller 300 receives the first-time NC data 510 from the NC data reception processing unit 310, and the NC data analysis processing unit 320 in the numerical controller 300 sequentially analyzes the received first-time NC data 510. Subsequently, the determination unit 325 determines whether the analyzed NC data 510 is one among a sub program call, a repeat instruction, and a branch instruction.
(4) When the analyzed NC data was an instruction other than the sub program call, the repeat instruction, and the branch instruction, the numerical controller 300 transmits the analyzed NC data from the determination unit 325 to the NC data execution processing unit 340, drives a servo motor 400 from an operation command execution unit 380 via a servo control unit 390, and thereby executes the NC data.
(5) Meanwhile, when the analyzed NC data 510 was one among the sub program call, the repeat instruction, and the branch instruction, the search information transmission processing unit 365 in the numerical controller 300 transmits the search information 375 (information used for searching the NC data that is required by the host apparatus 100 to execute the relevant instruction from the NC data stored in the storage device 160 in the host apparatus 100) to the host apparatus 100. In addition, the numerical controller 300 discards the received NC data, and waits for the searched NC data corresponding to the contents of the transmitted search information 375 to be transmitted from the host apparatus 100.
In the example shown in
(6) Before transmitting the NC data 520 which is scheduled to be transmitted the second time, the host apparatus 100 confirms the existence of the search information 375 transmitted from the search information transmission processing unit 365 in the numerical controller 300 to the search information reception processing unit 175. When the search information 375 has not been acquired, the second-time NC data 520 is transmitted as is. In the example of
(7) The NC data analysis processing unit 320 in the numerical controller 300 analyzes the NC data 530 that was received once again, and executes the NC data in the same manner as (4) above. However, at the point in time that the branch instruction (“N005 GOTO 10”) existing in the NC data 530 is analyzed, the [program name (O2000)] and the [sequence number (N010)] of the branch destination are transmitted from the search information transmission processing unit 365 to the host apparatus as the search information 375. Subsequently, the numerical controller 300 discards the received NC data “N006 Z0.;” and subsequent NC data, among the NC data 530, and waits for the transmission of the NC data 540 of the branch destination from the host apparatus 100.
(8) Since the data to be subsequently transmitted is unknown after the transmission of the NC data 530, the search information reception processing unit 175 in the host apparatus 100 confirms the search information 375 at predetermined intervals. Thereafter, at the point in time that the acquisition of the search information 375 transmitted in (7) above is confirmed, the NC data search processing unit 150 searches for the NC data 540, which is to be transmitted subsequently. Subsequently, the NC data read processing unit 140 reads the searched NC data from the storage device 160, and the read NC data 540 is transmitted from the NC data transmission processing unit 110 to the numerical controller 300.
(9) The NC data analysis processing unit 320 in the numerical controller 300 analyzes the received NC data 540, and the numerical controller 300 executes the NC data in the same manner as (4) above. However, since the block (end of sub program) of “N099 M99” exists in the NC data 540, this block is analyzed. Subsequently, the number of repetitions of the information of the running nesting number “1” (example of
(10) Since the data to be subsequently transmitted is unknown after the transmission of the NC data 540, the search information reception processing unit 175 in the host apparatus 100 confirms the acquired search information 375 at predetermined intervals. Thereafter, at the point in time that the acquisition of the search information 375 transmitted in (9) above is confirmed, the NC data search processing unit 150 searches for the NC data 550, which is to be transmitted subsequently, from the storage device 160. Subsequently, the NC data read processing unit 140 reads the searched NC data 550 from the storage device 160, and the read NC data 550 is transmitted from the NC data transmission processing unit 110 to the numerical controller via the bidirectional communication line 200.
(11) The NC data analysis processing unit 320 in the numerical controller 300 analyzes the received NC data 550, and, since the analyzed NC data 550 does not include one among the sub program call, the repeat instruction, and the branch instruction, the NC data is sequentially transmitted to the NC data execution processing unit 340, the NC data is executed in the same manner as (4) above, “N099 M30 (program end)” is thereafter executed, and the DNC operation is then ended.
The processing to be executed by the host apparatus 100 and the numerical controller 300 depicted in
(Flow of Processing to be Executed by Host Apparatus 100)
[Step SC01] It is determined whether the numerical controller 300 is in the DNC operation mode or not. If the numerical controller 300 is in the DNC operation mode (YES), the process proceeds to step SC02. If the numerical controller 300 is not in the DNC operation mode (NO), the process waits until the numerical controller 300 switches to the DNC operation mode.
[Step SC02] The search information 375 is received from the numerical controller 300.
[Step SC03] It is determined whether or not there was any search information 375 that was received in the processing of step SC02. If the search information 375 was received (YES), the process proceeds to step SC04. If the search information 375 was not received (NO), the process proceeds to step SC05.
[Step SC04] The NC data corresponding to the search information 375 is searched from the storage device 160 in the host apparatus 100.
[Step SC05] The NC data corresponding to the search information 375 (when the search information 375 was received) or subsequent data of the NC data that was transmitted the last time (when the search information 375 was not received) is read from the storage device 160.
[Step SC06] The NC data that was read in step SC05 is transmitted to the numerical controller 300.
[Step SC07] It is determined whether or not the NC data that was transmitted to the numerical controller 300 is the last transmission data. If the transmitted NC data is the last transmission data (YES), the processing ends. If the transmitted NC data is not the last transmission data (NO), the process returns to step SC02 and the processing continues.
(Flow of Processing to be Executed by Numerical Controller 300)
[Step SD01] An operation mode is switched to the DNC operation mode. For example, it is monitored whether an operator issued a switching command for switching to the DNC operation mode from an operation screen or the like, and an operation mode is switched to the DNC operation mode if a switching command is confirmed.
[Step SD02] The DNC operation is started.
[Step SD03] It is determined whether or not the NC data was received from the host apparatus 100. If the NC data was received (YES), the process proceeds to step SD04. If the NC data was not received (NO), the process waits for the reception of the NC data.
[Step SD04] One block of the received NC data is analyzed.
[Step SD05] It is determined whether or not the received NC data is the last data of the DNC operation. If the received NC data is the last data (YES), the processing ends. If the received NC data is not the last data (NO), the process proceeds to step SD06.
[Step SD06] It is determined whether or not the received NC data is one among a sub program call, a repeat instruction, and a branch instruction. If the received NC data is one among the sub program call, the repeat instruction, and the branch instruction (YES), the process proceeds to step SD07. If the received NC data is not one among the sub program call, the repeat instruction, and the branch instruction (NO), the process proceeds to step SD11.
[Step SD07] The sub program call information is stored only when the received NC data is a sub program call.
[Step SD08] The search information is extracted.
[Step SD09] The extracted search information is transmitted.
[Step SD10] The remaining received NC data is discarded, and the process returns to step SD03 and the processing continues.
[Step SD11] One block of the received NC data is executed.
[Step SD12] It is determined whether or not the executed block is the last block of the received NC data. If the executed block is the last block (YES), the process returns to step SD03 and the processing continues. If the executed block is not the last block (NO), the process returns to step SD04 and the processing continues.
When the numerical controller 300 simultaneously performs the processing of analysis and operation to the NC data of the same block that was received, a delay will arise from the writing into the search information 370 in the storage device 345 to the transmission of the searched NC data by the host apparatus 100, and there are cases where the operation is temporarily discontinued. Thus, with the DNC operation system shown in
The processing to be executed by the numerical controller 300 configuring the DNC operation system depicted in
[Step SE01] An operation mode is switched to the DNC operation mode. For example, it is monitored whether an operator issued a switching command for switching to the DNC operation mode from an operation screen or the like, and an operation mode is switched to the DNC operation mode if a switching command is confirmed.
[Step SE02] The DNC operation is started.
[Step SE03] It is determined whether or not the NC data was received from the host apparatus 100. If the NC data was received (YES), the process proceeds to step SE04. If the NC data was not received (NO), the process waits for the reception of the NC data.
[Step SE04] One block of the received NC data is analyzed.
[Step SE05] It is determined whether or not the analyzed block is the last data of the DNC operation. If the analyzed block is the last data (YES), the processing ends. If the analyzed block is not the last data (NO), the process proceeds to step SE06.
[Step SE06] It is determined whether the received NC data is one among a sub program call, a repeat instruction, and a branch instruction. If the received NC data is one among the sub program call, the repeat instruction, and the branch instruction (YES), the process proceeds to step SE07. If the received NC data is not one among the sub program call, the repeat instruction, and the branch instruction (NO), the process proceeds to step SE11.
[Step SE07] The sub program call information is stored only when the received NC data is a sub program call.
[Step SE08] The search information is extracted.
[Step SE09] The extracted search information is written into the search information 370 in the storage device 345.
[Step SE10] The remaining received NC data is discarded, and the process returns to step SE03 and the processing continues.
[Step SE11] The analyzed NC data is stored in the NC data storage buffer 330.
[Step SE12] The NC data is executed.
[Step SE13] It is determined whether or not the executed block is the last block of the received NC data. If the executed block is the last block (YES), the process returns to step SE03 and the processing continues. If the executed block is not the last block (NO), the process returns to step SE04 and the processing continues.
When the numerical controller 300 simultaneously performs the processing of analysis and operation with respect to the NC data of the same block that was received, a delay will arise from the transmission of the search information 375 to the host apparatus 100 to the transmission of the searched NC data by the host apparatus 100, and there are cases where the operation is temporarily discontinued. Thus, with the DNC operation system shown in
The processing to be executed by the numerical controller 300 configuring the DNC operation system depicted in
[Step SF01] An operation mode is switched to the DNC operation mode. For example, it is monitored whether an operator issued a switching command for switching to the DNC operation mode from an operation screen or the like, and an operation mode is switched to the DNC operation mode if a switching command is confirmed.
[Step SF02] The DNC operation is started.
[Step SF03] It is determined whether the NC data was received from the host apparatus 100. If the NC data was received (YES), the process proceeds to step SF04. If the NC data was not received (NO), the process waits for the reception of the NC data.
[Step SF04] One block of the received NC data is analyzed.
[Step SF05] It is determined whether or not the analyzed block is the last data of the DNC operation. If the analyzed block is the last data (YES), the processing ends. If the analyzed block is not the last data (NO), the process proceeds to step SF06.
[Step SF06] It is determined whether the received NC data is one among a sub program call, a repeat instruction, and a branch instruction. If the received NC data is one among the sub program call, the repeat instruction, and the branch instruction (YES), the process proceeds to step SF07. If the received NC data is not one among the sub program call, the repeat instruction, and the branch instruction (NO), the process proceeds to step SF11.
[Step SF07] The sub program call information is stored only when the received NC data is a sub program call.
[Step SF08] The search information is extracted.
[Step SF09] The extracted search information is transmitted.
[Step SF10] The remaining received NC data is discarded, and the process returns to step SF03 and the processing continues.
[Step SF11] The analyzed NC data is stored in the NC data storage buffer 330.
[Step SF12] The NC data is executed.
[Step SF13] It is determined whether or not the executed block is the last block of the received NC data. If the executed block is the last block (YES), the process returns to step SF03 and the processing continues. If the executed block is not the last block (NO), the process returns to step SF04 and the processing continues.
With the DNC operation system depicted in
The processing to be executed by the host apparatus 100 configuring the DNC operation system depicted in
[Step SG01] It is determined whether the numerical controller 300 is in the DNC operation mode or not. If the numerical controller 300 is in the DNC operation mode (YES), the process proceeds to step SG02. If the numerical controller 300 is not in the DNC operation mode (NO), the process waits until the numerical controller 300 switches to the DNC operation mode.
[Step SG02] Read processing of reading the search information 370 from the storage device 345 in the numerical controller 300 is performed.
[Step SG03] It is determined whether or not there was any search information 370 that was read in the processing of step SG02. If the search information 370 was read (YES), the process proceeds to step SG04. If the search information 370 was not read (NO), the process proceeds to step SG05.
[Step SG04] The NC data corresponding to the search information 370 is searched from the storage device 160 in the host apparatus 100.
[Step SG05] The NC data corresponding to the search information 370 (when the search information 370 was read) or subsequent data of the NC data that was transmitted the last time (when the search information 370 was not read) is read from the storage device 160.
[Step SG06] Search database is created from the NC data to be transmitted.
[Step SG07] The NC data that was read in step SG05 is transmitted to the numerical controller 300.
[Step SG08] It is determined whether the NC data that was transmitted to the numerical controller 300 is the last transmission data or not. If the transmitted NC data is the last transmission data (YES), the processing ends. If the transmitted NC data is not the last transmission data (NO), the process returns to step SG02 and the processing continues.
With the DNC operation system depicted in
The processing to be executed by the host apparatus 100 configuring the DNC operation system depicted in
[Step SH01] It is determined whether the numerical controller 300 is in the DNC operation mode or not. If the numerical controller 300 is in the DNC operation mode (YES), the process proceeds to step SH02. If the numerical controller 300 is not in the DNC operation mode (NO), the process waits until the numerical controller 300 switches to the DNC operation mode.
[Step SH02] The search information 375 is received from the numerical controller 300.
[Step SH03] It is determined whether or not there was any search information 375 that was received in the processing of step SH02. If the search information 375 was received (YES), the process proceeds to step SH04. If the search information 375 was not received (NO), the process proceeds to step SH05.
[Step SH04] The NC data corresponding to the search information 375 is searched from the storage device 160 in the host apparatus 100.
[Step SH05] The NC data corresponding to the search information 375 (when the search information 375 was received) or subsequent data of the NC data that was transmitted the last time (when the search information 375 was not received) is read from the storage device 160.
[Step SH06] Search database are created from the transmitted NC data.
[Step SH07] The NC data that was read in step SH05 is transmitted to the numerical controller 300.
[Step SH08] It is determined whether or not the NC data that was transmitted to the numerical controller 300 is the last transmission data. If the transmitted NC data is the last transmission data (YES), the processing ends. If the transmitted NC data is not the last transmission data (NO), the process returns to step SH02 and the processing continues.
Number | Date | Country | Kind |
---|---|---|---|
2013-087542 | Apr 2013 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
4152765 | Weber | May 1979 | A |
4794541 | Kiya | Dec 1988 | A |
5517639 | Yamaguchi | May 1996 | A |
6039168 | Head, III | Mar 2000 | A |
20040034443 | Hosokawa | Feb 2004 | A1 |
20060004479 | Oyama | Jan 2006 | A1 |
Number | Date | Country |
---|---|---|
1405674 | Mar 2003 | CN |
101713977 | May 2010 | CN |
101826273 | Sep 2010 | CN |
102043394 | May 2011 | CN |
63-37403 | Feb 1988 | JP |
H01195509 | Aug 1989 | JP |
H01230101 | Sep 1989 | JP |
4-52203 | May 1992 | JP |
4-294404 | Oct 1992 | JP |
2728256 | Mar 1998 | JP |
2992163 | Dec 1999 | JP |
2002-222005 | Aug 2002 | JP |
Entry |
---|
Office Action dated Aug. 26, 2015, corresponding to Chinese Patent Application No. 201410158480.4. |
Decision to Grant a Patent mailed Dec. 16, 2014, corresponding to Japanese patent application No. 2013-087542. |
Number | Date | Country | |
---|---|---|---|
20140316536 A1 | Oct 2014 | US |