I bought an old VMC a few months ago and am finally getting around to running some parts on it.
As background, I have run several different kinds of CNC machines, but have never run a CNC this old. It is a totally new experience for me. There are many things that, out of ignorance, I find totally absurd. Functionality and code that I am used to using that apparently do not work in the older controls. For example, in MDI typing G0 G54 X0 Y0 does nothing. Tool changes are not a simple T3M6, G90 G30 Z0.0 followed by a G91, followed by your T3M6. Or when you hit reset while running the program it does not kill the spindle, you have to go under MDI and enter an M05.
So, to the current issue at hand....
Setup the part in the vise, set my Z from the machine coordinate off the spindle face. Put that under my work coordinate. In this case I used G54. Touched my tools off the table, using the machine coordinate, and entered in the Tool Offset page. Both are negative numbers.
This as follows is what I posted, and modified, and was running.
(T3 D=0.375 CR=0. - ZMIN=-0.5791 - FLAT END MILL)
(T5 D=0.25 CR=0. - ZMIN=-0.5841 - FLAT END MILL)
N10 G90 G94 G17 G49 G40 G80
N15 G20
N20 G28 G91 Z0.
N25 G90
(2D CONTOUR2)
G0 G90 G80 G49 G40
G0 G91 G30 Z0.0
G90
N30 T3 M06
(38 ROUGHER)
N35 S3060 M03
N40 G54
N45 M08
N55 G00 X-1.0963 Y0.0015
N60 G43 Z0.6 H03
N65 G00 Z0.2
N70 G01 Z0.1 F30.
N75 Z-0.5791
When the machine gets to N60 the machine has a distance to go of -35.9746. The distance from the tip of the tool to the top of the part is about 18.6" eyeballing with a scale. My work coordinate Z is -20.478 and my tool length offset is -16.894.
I do have the manuals that came with this machine, which have done nothing but serve to make me more confused. In one section they show code like this:
G21 G90
G10 L2 P1 X--- Y--- Z---
G0 G90 G54 G40 X-- Y-- S--- M03
I tried entering this and got the same result.
In one section on tool setting they state that the tool numbers must be positive. So we tried making the tool numbers positive, that did not seem to work, as the machine traveled about 4 inches below the G30 position.
In another section I found it states G43 can only be used for Z+ numbers, G44 Z- I had never even heard of G44...
I realize now, I have been extremely spoiled in my machining career and because of it, have a very poor understanding of the basics. I have had lots of experience with conversational programming, probes, CAM software, but most of my coding is usually macros and subprograms on newer machines or modifying posts. This departure has been humbling!
As background, I have run several different kinds of CNC machines, but have never run a CNC this old. It is a totally new experience for me. There are many things that, out of ignorance, I find totally absurd. Functionality and code that I am used to using that apparently do not work in the older controls. For example, in MDI typing G0 G54 X0 Y0 does nothing. Tool changes are not a simple T3M6, G90 G30 Z0.0 followed by a G91, followed by your T3M6. Or when you hit reset while running the program it does not kill the spindle, you have to go under MDI and enter an M05.
So, to the current issue at hand....
Setup the part in the vise, set my Z from the machine coordinate off the spindle face. Put that under my work coordinate. In this case I used G54. Touched my tools off the table, using the machine coordinate, and entered in the Tool Offset page. Both are negative numbers.
This as follows is what I posted, and modified, and was running.
(T3 D=0.375 CR=0. - ZMIN=-0.5791 - FLAT END MILL)
(T5 D=0.25 CR=0. - ZMIN=-0.5841 - FLAT END MILL)
N10 G90 G94 G17 G49 G40 G80
N15 G20
N20 G28 G91 Z0.
N25 G90
(2D CONTOUR2)
G0 G90 G80 G49 G40
G0 G91 G30 Z0.0
G90
N30 T3 M06
(38 ROUGHER)
N35 S3060 M03
N40 G54
N45 M08
N55 G00 X-1.0963 Y0.0015
N60 G43 Z0.6 H03
N65 G00 Z0.2
N70 G01 Z0.1 F30.
N75 Z-0.5791
When the machine gets to N60 the machine has a distance to go of -35.9746. The distance from the tip of the tool to the top of the part is about 18.6" eyeballing with a scale. My work coordinate Z is -20.478 and my tool length offset is -16.894.
I do have the manuals that came with this machine, which have done nothing but serve to make me more confused. In one section they show code like this:
G21 G90
G10 L2 P1 X--- Y--- Z---
G0 G90 G54 G40 X-- Y-- S--- M03
I tried entering this and got the same result.
In one section on tool setting they state that the tool numbers must be positive. So we tried making the tool numbers positive, that did not seem to work, as the machine traveled about 4 inches below the G30 position.
In another section I found it states G43 can only be used for Z+ numbers, G44 Z- I had never even heard of G44...
I realize now, I have been extremely spoiled in my machining career and because of it, have a very poor understanding of the basics. I have had lots of experience with conversational programming, probes, CAM software, but most of my coding is usually macros and subprograms on newer machines or modifying posts. This departure has been humbling!