PULSE TRANSFER SYSTEM OF MANUAL PULSE GENERATOR

Abstract: A method of radio transmission of output pulse signals from a manual pulse generator unit to a numerical controller. A counter starts at a reference time and counts pulses generated depending on the revolution of a manual pulse generator (14). The numerical value of the counter is taken out as a coded signal, modulated by a modulator circuit (16), amplified by a power amplifier circuit (17), and transmitted by radio to the numerical controller from an antenna (18) at predetermined intervals. The numerical controller receives the coded signal and recognizes the pulses from the manual pulse generator. Each coded signal sent from the manual pulse generator by radio indicates the absolute position at a given time. Even if an error is involved in transmission, the correct number of pulses can be eventually recognized.

Description: TECHNICAL FIELD The present invention relates to a pulse transfer system for a manual pulse generator, and more specifically, to a pulse transfer system for a manual pulse generator by which the reliability of wireless data communication is greatly improved. BACKGROUND ART Since a manual pulse generator for a numerical control apparatus is connected to the main body thereof, a cable having a plurality of circuits is needed, and further, the cable must be moved as the operator operating the manual pulse generator moves. Namely, since the cable must be moved, the operation efficiency is greatly lowered. To solve the above problem, the inventor proposed a wireless manual pulse generator in Japanese Patent Application No. Hei 1-286737. In this application, a numerical control apparatus monitors an output pulse signal transferred by a manual pulse generator unit, at all times, and notifies the manual pulse generator unit of the receiving state thereof. More specifically, when the output pulse signal is normally received, a normal reception signal is returned to the manual pulse generator unit, and when the signal is not received, a not received signal is returned thereto. When the numerical control apparatus cannot confirm that transferred data has been normally received, the manual pulse generator unit retransfers the data, and when the number of times that the transferring/receiving data is not received exceeds a predetermined limit, the transferring/receiving of the data is interrupted. With this arrangement, the transfer/receiving state of data is strictly checked, to thereby improve the reliability of the transferring/receiving of data. Nevertheless, in the conventional pulse transfer system for the manual pulse generator, since the emphasis is placed on a confirmation of whether data is correctly transferred from the manual pulse generator unit and correctly received by the numerical control apparatus, the transfer/receiving system becomes complex and the handling thereof is time-consuming. Taking the above into consideration, an object of the present invention is to provide a simple wireless type pulse transfer system for a manual pulse generator unit by which the same reliability as that obtained when a conventional cable is used, is ensured. To solve the above problem, according to the present invention, there is provided a pulse transfer system for a manual pulse generator by which an output pulse signal from a manual pulse generator unit is transferred to a numerical control apparatus through a wireless channel, the system comprising: a counter disposed in said manual pulse generator unit for counting pulses generated in accordance with the rotation of said manual pulse generator from a reference time; a signal transfer means for transferring a numerical value of said counter as a coded signal at each predetermined time to said numerical control apparatus through said wireless channel; and a signal receiving means disposed in said numerical control apparatus for receiving said coded signal through said wireless channel, counting said pulses of said manual pulse generator and checking the coded signal, omitting the coded signal if an error is detected. The coded signal transferred from the manual pulse generator unit through the wireless channel is a signal of an absolute position using a time as a reference, and a present position as the absolute position is transmitted as data to the numerical control apparatus at each predetermined time. The numerical control apparatus takes out data of the present position as the absolute position from an output pulse signal transferred from the manual pulse generator unit through the wireless channel. Figure 1 is a block diagram of the hardware of a manual pulse generator unit embodying the present invention; Figure 2 is a block diagram of the hardware of a numerical control apparatus unit embodying the present invention; Figure 3 is a diagram explaining the content of an output pulse signal transferred from a manual pulse generator unit in the present invention; Figure 4 is a time chart and a diagram explaining the relationship between the number of pulses; and Figure 5 is a perspective view of a manual pulse generator unit according to the present invention. BEST MODE OF CARRYING OUT THE INVENTION An example of the present invention will be described below with reference to drawings. Figure 1 is a block diagram of the hardware of a manual pulse generator unit embodying the present invention, wherein a processor 11 controls a manual pulse generator unit 10 in accordance with a system program stored in a ROM 12. The ROM 12 is an EPROM or EEPROM. The RAM 13 Is a SRAM in which transmitted signal data, received signal data, integrated signal data, and other various data are stored. A manual pulse generator 14 generates pulses for moving the axes of a machine tool by a unit of 1 micrometer or 10 micrometers. A present position as an absolute position is determined in such a manner that 1 is incremented or decremented and counted each time a pulse is generated and detected, using a time (e,g., a time at which the manual pulse generator unit 14 operates) as a reference. The number of pulses detected and counted at each predetermined period of time is integrated under the control of the processor 11 and coded, and thus the present position as the absolute position Is stored in the above RAM 13. A serial/parallel conversion circuit 15 converts the pulse number code of the present position as the absolute position stored in the RAM 13, into a serial code, and the converted pulse number code is modulated (subjected to an FM modulation) by a modulation circuit 16, power amplified by a power amplifier circuit 17 at the next stage, and transmitted from an antenna 18 as an output pulse code (coded signal). A power amplifier circuit 20 amplifies an electric wave received from the antenna 18, and including a confirmation signal from a numerical control apparatus 30 to be described below, and a demodulation circuit 19 demodulates the electric wave and takes out data from a carrier wave. This data is stored in the RAM 13 under the control of the processor 11. Figure 2 is a block diagram of the hardware of the numerical control apparatus embodying the present invention, wherein only the manual pulse generator unit 10 and the parts relating to the transferring and receiving of the output pulse signal are shown, and an axis control circuit, PMC and the like are not shown. In the figure, a processor 31 controls the output pulse signal and the like in accordance with a control program stored in a ROM 32, which is an EPROM or EEPROM. The RAM 33 is a SRAM in which transmitted signal data, received signal data, integrated signal data, and other various data are stored. A serial/parallel conversion circuit 35 converts the confirmation signal and the like to a serial signal, and the serial signal is modulated (subjected to an FM modulation) by a modulation circuit 36, power amplified by a power amplifier circuit 37 at the next stage and transmitted from an antenna 38. A power amplifier circuit 40 amplifies an electric wave received from the antenna 38, and including the output pulse signal transferred from the manual pulse generator unit 10, and a demodulation circuit 39 demodulates the electric wave and takes out data from a carrier wave. This data includes the number of pulses generated by the manual pulse generator 14, and is stored in the RAM 33 under the control of the processor 31. A pulse generation circuit 34 converts the data into pulses and counts same, and a pulse receiving circuit 42 in a numerical control apparatus main body 41 receives pulses from the pulse generation circuit 34. When no error is detected in the data received by the numerical control apparatus 30, the apparatus 30 transmits a oonfirmation signal "ACK" notifying that the data has been normally received, and when an error is detected in the received data, the numerical control apparatus 30 transmits a receiving unable signal "NACK" notifying that an error has been detected. Figure 3 is a diagram showing the arrangement of the output pulse signal transferred from the manual pulse generator unit 10 in the present invention. Designated at D 50 is the output pulse signal transferred from the manual pulse generator unit 10, and designated at SIGN 51 is a pulse symbol of a pulse signal which is positive when the manual pulse generator 14 is rotated to the right and negative when it is rotated to the left. BYTE 3 - BYTE 0 designated by 52 represent an integrated value of the number of pulses generated by the manual pulse generator 14 at each time, assuming that the absolute position at a certain time is "0". BYTE B and BYTE A designated by 53 are used to check errors in a transferred signal. A data check signal is included in the output pulse signal D from the manual pulse generator unit 10, to thereby eliminate errors. A cyclic redundancy check (CRC) system is employed as a check means. Figure 4 is a diagram showing a time at which the manual pulse generator 14 operates, the number of pulses generated during that a time, and an absolute position at the time at which the manual pulse generator 14 operates. Assuming that the absolute position at a time T0 is "0", the absolute position at a time T1 is "N1" obtained by detecting and counting pulses from the time T0 to the time T1. In the same way, the absolute position at a time T2 is "N1 + N2", which is obtained by integrating the "N1", the counted and detected pulses from the time T0 to the time T1 and "N2", the counted and detected pulses from the time T1 to the time T2. Further, the absolute positions at times T3, T4, and T5 are "the sum of N1 to N3", "the sum of N1 to N4", and "the sum of N1 to N5", respectively. As described above, the absolute position obtained by integrating the pulses generated from the manual pulse generator is transferred, and thus even if an error and the like occurs during the transfer, the error does not have an adverse effect, and thus the absolute position can be correctly transferred. Figure 5 shows an example of a perspective view of the manual pulse generator unit according to the present invention. In the figure, the case 61 of a manual pulse generator unit 60 includes a manual pulse generator dial 62, an axis selector switch 63 for selecting an X axis, Y axis, Z axis and the like, a magnification selector switch 64 for determining a magnification of a generated pulse, a power supply switch 65, and an antenna 66. Note, although one set of the manual pulse generator unit and the numerical control apparatus is used in the above description, a plurality of sets of the manual pulse generator units and the numerical control apparatuses can of course search an unoccupied channel and establish an interconnection with each other. Further, the wireless transfer system between the manual pulse generator unit 10 and the numerical control apparatus 30 employs a low power FM system, from the view point of the positional layout of each apparatus in a factory, various electrical and mechanical noise, and the workability of the operators. As described above, according to the present invention, since the number of pulses generated by the manual pulse generator is counted using a time as a reference, a present position as the absolute position is coded at each predetermined time and transferred to the numerical control apparatus, the rotary pulses of the manual pulses generator can be received from received data when the data is normally received. As a result, even if a pulse signal is transferred through a wireless channel, it can be transferred as accurately as when transferred through a conventional cable.

Claims: A pulse transfer system for a manual pulse generator (14) by which an output pulse signal from a manual pulse generator unit (10) is transferred to a numerical control apparatus (30) through a wireless channel, the system comprising: a counter (11) disposed in said manual pulse generator unit for counting pulses generated in accordance with the rotation of said manual pulse generator from a reference time; a signal transfer means (15,16,17,18) for transferring a numerical value of said counter as a coded signal at each predetermined time to said numerical control apparatus through said wireless channel; and a signal receiving means (31,35,38,39,40) disposed in said numerical control apparatus for receiving said coded signal through said wireless channel, counting said pulses of said manual pulse generator and checking the coded signal, omitting the coded signal if an error is detected. A pulse transfer system for a manual pulse generator (14) according to claim 1, wherein said coded signal is supplemented with a cyclic redundancy check (CRC) signal as a data check signal. A pulse transfer system for a manual pulse generator (14) according to claim 1, wherein a wireless transfer system between said manual pulse generator unit (10) and said numerical control apparatus (30) is a low power FM system. A pulse transfer system for a manual pulse generator (14) according to claim 1, wherein a plurality of said numerical control apparatuses (30) and said manual pulse generator units (10) are provided and select a channel each other and establish an interconnection with each other.

Inventors: KANDA KUNIO NIIHASHI, KANDA, KUNIO 1652, NIIHASHI
Applicants: FANUC LTD, FANUC LTD.
Application year: 1990
Main classification: G05B19
IPC codes: G05B19