Thread: Emco PC120 Turn
On a lathe X should always move to positive as the tool moves away from centre.
Even on a lathe with twin turrets, the controller should be smart enough to know what direction is positive depending on what tool/turret is selected, although I think there is a bug in Mach3 when running front and rear turrets.
G0 is just a rapid move.
G53 defines machine coordinates, but it's non-modal I.e. you have to put G53 in front of every coordinate to move to machine coordinates, other wise it will default to the active tool/offset coordinates. You would typically use a G53 for the tool change location move.Avoiding the rubbish customer service from AluminiumWarehouse since July '13.
And pick either diameter or radius mode. Don't keep switching between them, as that's when you're far more likely to make a mistake.Avoiding the rubbish customer service from AluminiumWarehouse since July '13.
Can anyone help with some G Code in the toolchange Macro please?
Mine doesnt move the turret out the way but needs to. Ideally Id like to move it to the Machine 0 position.
I found the original tool change macro that was used on my machine which contains these movement commands however the movement is not consistent (ie different directions depending on where it is, I'm not sure why).
Code "G01 x-10 F1300"
Code "G0 z-10"
I tried to do G53, cant do this in MachTurn.
I then tried G28 which works however it also tries to 'home' my turret rotation axis, which is not correct.
How do I simply tell the machine 'go home on the X and Z axis (only and ignore A Axis)'?
I've used G53 in turn, but never in a macro.
I always do the tool change position move in G-code, as it gives you more flexibility, and allows you to cut down on wasted travel.Avoiding the rubbish customer service from AluminiumWarehouse since July '13.
A typical mach tool change for me would of been-
G0 G53 X0 Z0 T0101
G53 should be valid, as it's telling Mach to use Machine Coordinates (i.e. ignore any tool/work offsets). The only thing I can think of, is do you have a good homing routine, with the axis referenced LEDs turning green after homing/referencing?
Something tells me if the machine isn't referenced, then machine coordinates might not work.Avoiding the rubbish customer service from AluminiumWarehouse since July '13.
Ill take a pic tonight but Mach 3 tells me I cant G53 in Mach Turn. It might not like it in the Macro, Ill do an MDI tonight and see.
So inserting G53 X0Z0 works well but I need to copy that into the G Code.
I am using the default Fanuc post processor in Fusion 360, it would be good to be able to edit the post processing somehow. It also adds G28 commands that my Lathe doesnt like.
By Kai in forum CAD & CAM SoftwareReplies: 5Last Post: 02-08-2016, 02:40 PM
By MarkBrown in forum Workshop & EquipmentReplies: 2Last Post: 02-12-2014, 10:57 PM
By thorphar in forum General ElectronicsReplies: 0Last Post: 16-09-2014, 07:48 PM
By Wotsit in forum Stepper & Servo MotorsReplies: 19Last Post: 05-02-2013, 03:07 AM
By Awel in forum Motor Drivers & ControllersReplies: 1Last Post: 06-12-2011, 06:59 AM