Изобретение относитс к области автоматики и вычислительной техники и иредназначено дл исиользоваии в области холодной обработки металлов резанием, в частности на станках с числовым программым управлением преимущественно токарного типа. Известно устройство дл программного управлени станками с импульсными датчиками , иомещеиными в иепи привода перемещений исполнительного органа станка, и доиолнительным датчиком абсолютного измерени , св заииым с ходовым винтом. Недостатком этого устройства вл етс невысока точность 1. Известно также устройство дл ирограммного управлени стаиком, иаиболее близкое по техническому решению к изобретеиию, содержащее датчик угла поворота шииндел и иоследовательио соединенные блок ввода программы, блок сравненн , подключенный к датчику иеремещеии стола, блок управлеии приводом и иривод иеремещени стола 2. Одиако такое устройство ие обеспечивает достаточной точности иеремещеии ири некратных нередаточных числах, в случае выбора в качестве одной из координат углового вращеии шпипдел . Цель изобретеии - иовышение точности устройства. Это достигаетс тем, что в устройство введены иоследовательио соединенные блок коммутаиии , блок иереключеии и блок буферной пам ти, причем один из выходов блока сравнени иодключен к управл ющему входу блока переключени и через иоследовательио соединенные блоки ввода ирограммы и буферной пам ти к блоку управлени приводом, входы блока коммутации соединены с датчиком угла поворота шппндел и выходом блока ввода программы, а один из выходов блока иереключеии - с управл ющим входом блока сравнени . Схема устройства иредставлена на чертеже. Она содержит станок 1, шпиндель 2 которого кинематически соединен с датчиком 3 угла иоворота шпиидел , св заиным с блоком 4 коммутапии, вход уиравлеии которого подключен к блоку 5 ввода ирограммы. Устаиовленный иа станке иривод 6 иеремещеии стола св зан с блоком 7 уиравлени приводом, вход которого соедииен с выходом блока 8 буфериой пам ти и выходом блока 9 сравнени . Привод 6 соедииеи с датчиком 10 перемещени стола, св занным с входом блока 9 сравнени , один из входов которого соединен с выходом блока 11 переключени , иодключеиного к блоку 4 коммутапии, и блока 5 ввода ирогра.ммы. Устройство работает следующи.м образом.The invention relates to the field of automation and computer technology and is intended for use in the field of cold metal cutting, in particular on machine tools with numerical control mainly of a turning type. A device is known for software control of machine tools with impulse sensors, which are located in the drive unit for movement of the executive body of the machine tool, and an additional absolute measurement sensor associated with the lead screw. A disadvantage of this device is the low accuracy of 1. It is also known a device for programmable stacking control, and the closest to the invention in terms of technical solution, containing a steering angle sensor and subsequent connected program input unit, a unit compared to a table displacement sensor, a drive control unit and Table irivod and displacement 2. Odiako such a device does not provide sufficient accuracy and displacement of irregular unstable numbers, if chosen as one of the coordinates atm angular vrascheii shpipdel. The purpose of the invention is to improve the accuracy of the device. This is achieved by introducing and sequentially connected a switching unit, a switch unit and a buffer memory block, one of the outputs of the comparison unit connecting to the control input of the switch unit and, subsequently, the connected input block of the program and the buffer memory to the drive control unit, the inputs of the switching unit are connected to the sensor of the rotation angle of the spindle and the output of the program input unit, and one of the outputs of the unit and switch is connected to the control input of the comparison unit. The device diagram is shown in the drawing. It contains the machine 1, the spindle 2 of which is kinematically connected to the sensor 3 and the rotation angle of the spiidel, connected to the switching unit 4, the input of which is connected to the input program unit 5. The installed iri- vod 6 in the table displacement is connected with the drive control unit 7, the input of which is connected to the output of the block 8 with the memory buffer and the output of the compare unit 9. The drive 6 is connected with the sensor 10 for moving the table associated with the input of the comparison unit 9, one of the inputs of which is connected to the output of the switching unit 11 and the switch to the switching unit 4, and the input unit 5. The device works as follows.
Считываема с программоносител информаци в блоке 5 о неремещении стола, подлежащем отработке методом абсолютного измерени и методом приращений, направл етс по четырем каналам. Информаци о требуемой величине шага резьбы или оборотной подачн поступает в блок 4 коммутации, задава ту дорожку датчика 3, с которой считыватьс импульсы. Число имнульсов, снимаемых с каждой дорол ки, л естко синхронизировано с углом поворота шпиндел 2, наличие нескольких дорожек с различным, некратным числом штрихов в каждой нозвол ет получить с высокой точностью некратные целым числам количества импульсов с меньшей погрешностью. Информаци о перемещении стола в абсолютном измерении подаетс в блок 9, сравниваетс с информацией о фактическом положении стола, поступающей с датчика 10. До тех пор, пока заданна величина перемещений отличаетс от фактической , последовательность имиульсов, характеризующих это рассогласование, синхронизированных датчиком 3 через блок 11 переключени и блок 9 сравнени , проходит в блок 7 управлени приводом. При совпадении заданной и фактической величин перемещени стола блок 9 сравнени выдает сигнал на блок 11 нереключени , который направл ет дальнейшие импульсы с датчика 3 на опрос блока 8 буферной пам ти, хран щего информацию о величине перемещени , отрабатываемого в унитарном коде. Заданное количество импульсов в приращени х через блок 8 и блок 7 поступает на привод 6.The information read from the program carrier in block 5 about the non-displacement of the table to be tested by the absolute measurement method and the incremental method is sent along four channels. Information about the required thread pitch or reverse pitching goes to switching unit 4, setting the track of sensor 3 from which pulses are read. The number of impulses taken from each track is strictly synchronized with the angle of rotation of spindle 2, the presence of several tracks with a different, non-multiple number of strokes in each can receive with high precision non-multiple integer numbers of pulses with a smaller error. Information on the movement of the table in absolute measurement is supplied to block 9, compared with information on the actual position of the table coming from sensor 10. As long as the specified amount of movement differs from the actual, the sequence of emulsions characterizing this error is synchronized by sensor 3 through block 11 switching unit and the comparison unit 9, is passed to the drive control unit 7. When the specified and actual values of the table movement coincide, the comparison unit 9 generates a signal to the non-switching unit 11, which directs further pulses from the sensor 3 to interrogate the block 8 of the buffer memory that stores information about the amount of movement processed in the unitary code. A specified number of pulses in increments through the block 8 and block 7 is fed to the actuator 6.
Наличие блока коммутации и блока переключени позвол ет более точно производить деление на некратные числа, требуемое, например , при нарезании резьбы. Использование предлагаемого устройства обеспечивает повышение точности резьбы, нарезаемой на токарных станках с числовым программным управлением.The presence of a switching unit and a switching unit makes it possible to more accurately divide by non-multiple numbers required, for example, when threading. The use of the proposed device provides an increase in the accuracy of the thread cut on numerical control lathes.