Numerical controller reestablishing machine coordinate value by using absolute position detector
10185300 ยท 2019-01-22
Assignee
Inventors
Cpc classification
G05B2219/42231
PHYSICS
G05B19/401
PHYSICS
G05B19/402
PHYSICS
G05B2219/35581
PHYSICS
International classification
G05B19/402
PHYSICS
Abstract
A numerical controller for controlling a machine receives an instruction to reestablish a machine coordinate value of a movable part of the machine and stops a servo motor driving the movable part. When the servo motor is stopped, the numerical controller acquires position information of a position detector provided to the servo motor. Then, the numerical controller updates the machine coordinate value of the movable part based on the position information, and further updates the absolute coordinate value of the movable part based on the updated machine coordinate value.
Claims
1. A numerical controller for controlling a machine including a movable part driven by a servo motor having a position detector, the numerical controller comprising: an axis stop unit configured to output an instruction to stop the servo motor upon receiving an instruction to reestablish a machine coordinate value of the movable part; a machine coordinate value updating unit configured to acquire, when the axis stop unit stops the servo motor, position information of the servo motor detected by the position detector and update, based on the acquired position information, the machine coordinate value of the movable part; and an absolute coordinate value updating unit configured to update, based on the machine coordinate value updated by the machine coordinate value updating unit, an absolute coordinate value of the movable part, wherein the servo motor is stopped until the absolute coordinate value of the movable part is updated.
2. The numerical controller according to claim 1, wherein the instruction to reestablish the machine coordinate value of the movable part is issued based on a signal operation to the numerical controller.
3. The numerical controller according to claim 1, wherein the position detector is an absolute position detector.
4. The numerical controller according to claim 2, wherein the position detector is an absolute position detector.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The forgoing and other objects and feature of the invention will be apparent from the following description of preferred embodiments of the invention with reference to the accompanying drawings, in which:
(2)
(3)
(4)
(5)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
(6) A numerical controller according to the present invention enables a rapid reestablishment of a machine coordinate value by a signal operation without moving an axis in a power activated state of a machine tool. Further, the numerical controller can select an axis for which the machine coordinate value is reestablished. At this time, an absolute coordinate value is preset in accordance with the reestablishment of the machine coordinate value.
(7) Here, the term machine coordinate value is a coordinate value in the coordinate system (machine coordinate system) based on the machine origin and the term absolute coordinate value is a coordinate value in the coordinate system (an absolute coordinate system, a workpiece coordinate system or a program coordinate system) based on the workpiece origin. The term workpiece origin means a position shifted from the machine origin so that the coordinate system based on the workpiece may be established.
(8) In the description hereinafter, as shown in
(9) Since the absolute position detector and establishment of the machine origin have been publicly known by means of Japanese Patent Application Laid-Open No. 2013-084102 or other literatures, the description here will be omitted.
(10) Hereinafter, embodiments of the present invention will be described together with figures.
(11)
(12) The PMC 10 controls an auxiliary device of a machine tool by outputting signals to the auxiliary device based on a sequence program stored in the numerical controller 1. Further, the PMC 10 receives signals from various switches or the like on a control panel provided to the machine tool body and conducts necessary processing for the signals and then outputs processed signals to respective parts of the numerical controller 1. This PMC 10, upon receiving a signal operation, outputs a signal for starting reestablishment processing of the machine coordinate value to the axis stop unit 11.
(13) The axis stop unit 11, upon receiving the signal from the PMC 10, confirms whether the axis for which the machine coordinate value is to be reestablished is stopped or not, and after the confirmation of the stoppage, the axis stop unit 11 instructs the servo control unit 12 to prohibit the movement of the axis and also instructs the machine coordinate value updating unit 13 to update the machine coordinate value.
(14) The axis for which the machine coordinate value is reestablished is selected in advance by the setting of parameters or the like.
(15) The servo control unit 12 controls the movement of the servo motor 2 in accordance with the operation control by the numerical controller 1. Further, the servo control unit 12, upon receiving an instruction from the axis stop unit 11, cuts off instructions for movements regarding the servo motor 2 issued based on the operation control to prohibit the movements of the servo motor 2.
(16) The machine coordinate value updating unit 13, upon receiving an instruction from the axis stop unit 11, acquires the position information stored in the absolute position detector 3 provided to the servo motor 2, and updates the absolute coordinate value of the numerical controller 1 stored in the memory 20 based on the acquired position information, thereby outputting the updated machine coordinate value to the absolute coordinate value updating unit 14.
(17) The absolute coordinate value updating unit 14 updates the absolute coordinate value of the numerical controller 1 stored in the memory 20 based on the machine coordinate value updated by the machine coordinate value updating unit 13.
(18) Hereinafter, the flow of processing executed in the numerical controller 1 configured in this manner will be described based on a flowchart of reestablishment processing of the machine coordinate value and absolute coordinate value in
(19) At the starting point of processing of reestablishment of the machine coordinate value and absolute coordinate value, the machine coordinate value controlled by the numerical controller 1 has been lost (
(20)
(21) As described above, the numerical controller according to the present embodiment enables a rapid reestablishment of the machine coordinate value by a signal operation without moving the axis while the machine tool is in the power-on state and thus can reestablish the machine coordinate value and absolute coordinate value safely.
(22) Though embodiments of the present invention have been described above, the present invention is not limited to the examples of embodiments described above and can be implemented in various aspects by making an appropriate modifications.