CN212095279U - Machining center with additional shaft - Google Patents
Machining center with additional shaft Download PDFInfo
- Publication number
- CN212095279U CN212095279U CN202020792689.7U CN202020792689U CN212095279U CN 212095279 U CN212095279 U CN 212095279U CN 202020792689 U CN202020792689 U CN 202020792689U CN 212095279 U CN212095279 U CN 212095279U
- Authority
- CN
- China
- Prior art keywords
- controller
- machining center
- additional shaft
- control switch
- additional
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Images
Landscapes
- Numerical Control (AREA)
Abstract
The utility model relates to a machining center with additional axle, it is equipped with additional axle additional, thereby machining center's controller one-way communication is connected to the controller one-way transmission instruction of additional axle, machining center's controller electricity is connected with electric control switch, electric control switch's controlled end links to each other with the controller of additional axle. The utility model discloses an on the framework that processing center controller and additional axle controller carry out one-way serial communication, add an electric control switch and export switching signal and give processing center's controller as the feedback to can't confirm the control hidden danger that the transmission correctly arouses when avoiding processing center one-way communication among the prior art.
Description
Technical Field
The utility model relates to a processing field especially relates to a machining center with additional axle.
Background
At present, the number of motion axes that a general machining center (also called a numerical control machine) can control is three, and the products with higher and higher machining difficulty cannot be completely met, so that a rotating fourth axis or even more axial directions are needed to meet machining requirements.
When the shaft is added, the original factory can increase the number of shafts, but the scheme is relatively high in cost, so that most factories conventionally purchase additional shafts provided by third-party rotating shaft suppliers to add the shafts to meet the requirements. When the machining center is self-mounted, the additional shaft is required to move along with the machining center, so that a controller of the machining center needs to communicate with the additional shaft.
Since the controller of the machining center, whether it is a domestic machining center, a daily machining center or an European machining center, has the capability of outputting characters to the serial port, the controller can send specified characters (ASCII) to the serial port to an additional shaft through a machining program to realize communication by utilizing the characteristic, as shown in FIG. 1. However, most of the controllers of the machining centers, whether made in China, in Japan or in Europe and America, can only provide output instructions to the serial port and do not provide reception, because the original design of the controllers only provides the function of sending the information to an external device instead of communication, which directly results in that the communication mode of sending specified characters (ASCII) to the serial port by the machining program to the additional shaft can only carry out one-way communication.
Because only one-way communication can be carried out, namely only signals can be sent out and signals cannot be received, if the transmitted information is influenced by equipment, environment or other factors in the communication process, deviation occurs in the transmitted information, as mentioned in the introduction, because the processing center controller only carries out information output and does not receive, the transmission is not determined to be correct, and serious consequences can occur in the control of the machine.
When the transmission error mode is placed in other communication systems with strong computing power, the transmission error mode can be processed by using a standard check code (such as a parity check code, a hamming check code and a cyclic redundancy check code), but the core principle of the standard check code is that according to data to be sent, a check code is obtained through a certain appointed incidence relation, then check code characters are inserted between data bits of the data to be sent or the last bit, and then the check code and the data to be sent are packaged into a data packet together for one-time sending.
SUMMERY OF THE UTILITY MODEL
The utility model discloses a solve or the weak point among the partial solution prior art, and provide a machining center's hardware architecture, it is after software personnel program, can realize the signal feedback transmission from additional axle to machining center.
In order to achieve the above purpose, the utility model discloses a following technical scheme realizes:
the machining center is additionally provided with the additional shaft, a controller of the machining center is connected to a controller of the additional shaft in a one-way communication mode so as to transmit instructions to the controller of the additional shaft in a one-way mode, the controller of the machining center is electrically connected with an electric control switch, and a controlled end of the electric control switch is connected with the controller of the additional shaft.
Furthermore, the electric control switch is provided with a pair of switch pins which are controlled by the controlled end to be switched on and off, and the two switch pins are respectively connected with two pins of a controller of the machining center.
Further, the electric control switch is specifically a relay.
Further, the controller of the machining center is provided with a serial port, and the controller of the machining center is specifically a controller which is connected to the additional shaft through the serial port in a one-way communication mode.
Further, the controller of the machining center has and has only one-way communication with the controller of the additional shaft.
Further, the performance of the machining center's controller is not sufficient to support control of a single data bit or a single character code.
Has the advantages that:
the utility model discloses an on the framework that processing center controller and additional axle controller carry out one-way serial communication, add an electric control switch and be connected with processing center's controller electricity, and make its controlled end link to each other with the controller of additional axle, so, treat software personnel programming back, thereby the controller accessible output high-low level of additional axle controls electric control switch's break-make, thereby the controller that gives processing center with this output switch signal is as the feedback, thereby can't confirm the control hidden danger that the transmission is correct to arouse when avoiding processing center unidirectional communication among the prior art.
The above description is only an overview of the technical solutions of the present invention, and in order to make the technical means of the present invention more clearly understood, the present invention may be implemented according to the content of the description, and in order to make the above and other objects, features, and advantages of the present invention more obvious and understandable, the following detailed description of the present invention is given.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a block diagram of a prior art system in which a machining center controller communicates with an additional axis controller via a unidirectional serial port;
FIG. 2 illustrates a flow chart implemented by the present invention in a framework based on one-way serial communications between a machining center controller and an additional axis controller;
FIG. 3 shows a block diagram of the system after the feedback loop is added to the machining center;
fig. 4 shows a flow chart implemented on the architecture after adding the feedback loop.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
In the framework of the unidirectional serial communication between the machining center controller and the additional axis controller shown in fig. 1, as shown in fig. 2, the following method can be implemented to achieve the purpose of debugging in the transmission process:
s1, after independently sending a control instruction to an additional shaft through a serial port of a machining center, generating a check code according to a predetermined association relation, and independently sending the check code to the additional shaft through the serial port of the machining center;
wherein, because some errors in the transmission process will have repeatability in a short time, that is, two adjacent transmission data have the same error, resulting in the consistency of the two data contents, in this embodiment, a control command retransmission check mode is not adopted, but the numerical value corresponding to the character string of the control command and the numerical value corresponding to the character string of the check code are set to be different from each other, so as to further enhance the checking capability of the transmission error,
meanwhile, considering that the controller of the machining center cannot support the control of a single data bit or a single character code, in the agreed association system, the check code is set to be obtained by subtracting the value corresponding to the character string of the control command from the set constant, specifically, for example, the following operation example:
assuming that the constant is set to be 361.000 and the machining center needs to transmit a numerical value 121.000 to the additional shaft, the machining center firstly converts 121.000 into a character string to form the control command and then transmits the control command to the controller of the additional shaft through a serial port;
after that, the machining center immediately prepares a check code so as to be directly sent subsequently, wherein the check code is set as a constant, the value corresponding to the control command is 361.000-121.000-240.000, and the check code is converted into a character string after being prepared and then sent to the additional shaft controller for verification.
In the above, the setting constant is preferably an odd number to ensure that the control command and the check code have different values, and specifically, the value of the optional constant is the command maximum value x 2+ 1.
And S2, after the additional shaft receives the control command and the check code respectively, checking the control command by using the check code according to the incidence relation.
Specifically, the controller of the additional axis stores a setting constant 361.000, and when the controller receives the control command and the check code, the values corresponding to the control command and the check code are added, and if the values match the setting constant 361.000, the verification is passed, and the transmission is considered to be correct.
In the embodiment, the control instruction and the check code are sent twice in sequence, and the control instruction and the check code are set to be associated, so that a controller of the machining center does not need to perform complex operation and control on a single data bit or a single character code, and the additional shaft can also perform verification operation, thereby ensuring that transmission errors possibly occurring in transmission can be eliminated in the process of performing one-way serial port communication by the machining center, accurately controlling the additional shaft, and improving the stability of the machining center, namely the numerical control machine tool.
Further, to ensure that the machining program of the machining center knows when to send the command during the execution, referring to fig. 3, the present embodiment sets a signal feedback loop to implement signal feedback based on the controller of the machining center of fig. 1 connected to the controller of the additional shaft via its serial port and only one-way communication, specifically:
an electric control switch is additionally arranged, the electric control switch is provided with a pair of switch pins which are controlled by a controlled end of the electric control switch to realize on-off, the two switch pins are respectively connected with two pins of a controller of a machining center, and then the controlled end of the electric control switch is connected with a pin X05 on an additional shaft controller, so that the controller of the additional shaft can control the on-off of the electric control switch by outputting high and low levels, and a switch signal is output to the controller of the machining center to serve as feedback.
In the above, the electrically controlled switch is preferably a relay to realize electrical isolation protection.
On the basis of fig. 3, the above steps S1, S2 may be optimized to form the operation flow shown in fig. 4, specifically:
in step S1, after the control additional shaft receives the control command, the voltage of pin X05 on the controller is pulled to a low level, so that the electronic control switch is turned off to receive feedback to the machining center, and the controller of the machining center sends a prepared check code after sensing the turn-off of the electronic control switch through the pin, at this time, the additional shaft is ready to receive the check code, thereby avoiding disorder of communication timing between two parties and ensuring ordered communication.
In addition, in step S2, the additional shaft is also controlled to receive the check code, then check is performed, and when the check is passed, the voltage of the pin X05 on the controller is pulled back to high level, so that the electronic control switch is turned on to give the check feedback to the machining center, and the machining center can know that the transmission is normal when receiving the check feedback, and then continue to execute the next operation.
It should be noted that:
the method of the present embodiment may be implemented by a method that is converted into program steps and apparatuses that can be stored in a computer storage medium and invoked and executed by a controller.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments.
Various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
Claims (6)
1. A machining center with an additional shaft, wherein the additional shaft is additionally arranged, a controller of the machining center is connected to a controller of the additional shaft in a one-way communication mode so as to transmit instructions to the controller of the additional shaft in a one-way mode, and the machining center is characterized in that:
and a controller of the machining center is electrically connected with an electric control switch, and a controlled end of the electric control switch is connected with a controller of the additional shaft.
2. The machining center according to claim 1, characterized in that: the electric control switch is provided with a pair of switch pins which are controlled by a controlled end to be switched on and off, and the two switch pins are respectively connected with two pins of a controller of the machining center.
3. The machining center according to claim 1 or 2, characterized in that: the electric control switch is specifically a relay.
4. The machining center according to claim 1, characterized in that: the controller of the machining center is provided with a serial port, and is specifically connected to the additional shaft through the serial port in a one-way communication mode.
5. The machining center according to claim 1, characterized in that: the controller of the machining center has and has only one-way communication with the controller of the additional shaft.
6. Machining center according to claim 1 or 5, characterized in that: the performance of the machining center's controller is not sufficient to support control of a single data bit or a single character code.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202020792689.7U CN212095279U (en) | 2020-05-13 | 2020-05-13 | Machining center with additional shaft |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202020792689.7U CN212095279U (en) | 2020-05-13 | 2020-05-13 | Machining center with additional shaft |
Publications (1)
Publication Number | Publication Date |
---|---|
CN212095279U true CN212095279U (en) | 2020-12-08 |
Family
ID=73621895
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202020792689.7U Active CN212095279U (en) | 2020-05-13 | 2020-05-13 | Machining center with additional shaft |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN212095279U (en) |
-
2020
- 2020-05-13 CN CN202020792689.7U patent/CN212095279U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8516355B2 (en) | System and method for fault tolerant computing using generic hardware | |
CN107748509B (en) | ASI communication slave machine implementation method based on single chip microcomputer transceiving control | |
JP2015130668A (en) | Transmission system error detection and correction system and method | |
CN112367216B (en) | Communication debugging method, tester and system suitable for safety and stability control system | |
EP2889772A1 (en) | Serial link fault detection system and method | |
CN109634256B (en) | Board level verification system of general CAN controller chip | |
CN111328095A (en) | Wireless reconnection test board and method | |
CN104239175A (en) | Debugging system, debugging method and debugging device for chip | |
CN109901664B (en) | Method, apparatus, system, device and readable storage medium for providing clock signal | |
CN212095279U (en) | Machining center with additional shaft | |
US20220291283A1 (en) | Automatic chip testing system and method | |
CN116384305B (en) | Data communication method, device, system, equipment and computer storage medium | |
CN105922261B (en) | A kind of robot controller and its control method | |
CN111596584A (en) | Debugging method based on one-way serial port communication between machining center and additional shaft, storage medium and machining center | |
CN101340357B (en) | Debugging simulation system and method for remote monitoring terminal of subway safe door system | |
CN106550026A (en) | A kind of network communication device and method | |
CN110007865A (en) | Hardware data acquisition methods, device, equipment, system and readable storage medium storing program for executing | |
CN105846973B (en) | A kind of protocol testing method and device of embedded software | |
CN203554485U (en) | CAN bus test equipment | |
CN104038309B (en) | Analogue system communication means and analogue system | |
CN103812830A (en) | Protocol authentication method used for bus slave station equipment | |
CN111786842B (en) | Data processing method and hardware-in-the-loop test system | |
CN109981394B (en) | Communication method and device based on enhanced CAN bus protocol analyzer | |
CN101252598B (en) | Development system and development method of network communication protocol stack | |
CN112987690B (en) | Espi controller verification system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |