Just a job we are proud of produced recently from brass. This ends up as a ceiling light!!
Spot the deliberate mistake in this bit of code ( THERE ARE TWO OF THEM)
G0 G28 G90 G91 G54 Z0 G28 X0. Y0. T1 M6 G0 G90 X0.Y10. M3 S4500 M8 G43 H1 Z10.
We’ve spent the last few days machining lots and lots of stainless wheel nuts for our customer. They end up on off road vehicles across the world! Just one of the things that we produce here at Expert CNC. Contact us?
To start the main cutting spindle use the M3 ( clockwise) or M4 (Counter-clockwise) miscellaneous code at any point in the programme. This is normally associated with the S code which define the spindle speed in RPM.
N4 M3 S4500 – Spindle starts in a clockwise direction at 4500RPM
(note to stop the spindle us the M5 code)
The purpose of the G43 code is to tell the control that it needs to take into consideration the tool length that is stored in the tool length offset register. It will then add the amount it finds in that register to every Z axis move it does until G43 is cancelled ( with G49) or replaced with a new new G43 command for the next tool. G43 is used with an H code which identifies which offset to refer to in the offset page.
This critical features means that the individual tool length needs to be measured and added to the register before running the job. Without it the programme Z dimensions would have to be changed each time the job is run with new tooling to allow for the new tool lengths.
N1 T1 M6
N2 G0 G90 X0.Y0.M3 S4500
N3 G43 H1 Z50.