Manual tool change problem

More
8 years 2 months ago #116689 by curtisa
Replied by curtisa on topic Manual tool change problem
That's exactly what the remapped manual toolchange subroutines are designed to do.

I can't remember the exact sequence, but when called the manual toolchange sub is something along the lines of:
1. the current X/Y/Z position of the G-code is stored
2. the Z-axis retreats to a safe height (specified by the user)
3. the user is requested to insert the new tool in the collet, after which you press the 'play' button in Axis.
4. the cutter is then moved to a new position to begin the probing operation, where your touchplate is positioned (absolute X/Y co-ordinates user-specified relative to the machine's home position, feedrate user-specified).
5. the Z-axis moves down towards the touchplate until contact is made (feedrate user-specified). It retreats by a fixed amount (user-specified) and advances again at a slower feedrate (user-specified) to measure a second time.
6. The Z value obtained from the probing operation is stored and used to offset every subsequent Z move in the G-code.
7. The tool returns to the stored position from when the G-code was halted after issuing the M6 command, minus/plus the difference in tool length as appropriate and the original code continues.

Issuing another M6 later on in the G-code does the same process again.

Please Log in or Create an account to join the conversation.

More
8 years 2 months ago #116694 by derekmac
Replied by derekmac on topic Manual tool change problem
This is strange - are we all using the same version of AXIS? I am on version 2.7.14
With this version the mill Z-axis appears to be moving to the correct position for the positive tool length offset in the tool table.
My only problem is that the tool change move is going the wrong way - below the material rather than to the top of the Z column.
I have tried a lot of the suggestions with no effect. All tool change commands are preceded by a G0G53X0Y0Z0 line - the Gcode file is generated by my Dolphin PartMaster software.
Edited out the G53 to see if it made any difference - no effect except at the end of the file where a similar line now edited to G0X0Y0Z0 now returns to Z0
Ran the MDI command G0G53Z0 and it lowered the Z-axis to minus the TLO
Is there an M code to pause the program that returns control to the user? I cannot find one and AXIS stubbornly greys out the control buttons during an M6
My mill does not have switches or probes (though I guess I could rig up a probe) so it would be easier (possibly) if the Touch off button was available during an M6 replacement, maybe I could then bypass the M6 action?
I am running out of time on this as I need the mill to make some parts for a Gauge 1 (1/32 scale) real steam locomotive I am building - I need to take the prototype to an exhibition on 22nd October and it would be nice if it was actually working by then.

Please Log in or Create an account to join the conversation.

More
8 years 2 months ago #116696 by MaHa
Replied by MaHa on topic Manual tool change problem
A last try, after i don't know.
You didn't mention how you home Z axis.Toolchange Position is related to machine home/G53.
Do you touch off Z with the home button? It could help to edit TOOL_CHANGE_POSITION = 0 0 3 (x y z) Z to a value, greater than the longest tool used. Take care to avoid hit hard Limit (MIN_LIMIT = -99 MAX_LIMIT = 99 for all axis is far outside your machine).

Please Log in or Create an account to join the conversation.

More
8 years 2 months ago #116702 by JohnnyCNC
I found these helpful when setting up my machine.

Machine Configurations

Homing Doc

John

Please Log in or Create an account to join the conversation.

More
8 years 2 months ago #116703 by curtisa
Replied by curtisa on topic Manual tool change problem

derekmac wrote: Ran the MDI command G0G53Z0 and it lowered the Z-axis to minus the TLO


My reading of that is that you have a mixup of touchoff and home position.

G53 should instruct Axis to make the following move (Z0) in absolute coordinates, ie return the Z axis to the position you defined as Z=0 when you homed the machine. I'm not at my milling PC at the moment to confirm the behavior, but I suspect you've subsequently touched off to at Z= +somethingoranother, hence when issuing G53 Z0 the DRO then appears to go negative instead of to zero.

Is there an M code to pause the program that returns control to the user? I cannot find one and AXIS stubbornly greys out the control buttons during an M6


No, unfortunately, and inserting a code that allows a user to manually and arbitrarily change the position of the axes in the middle of a program seems a little counter-intuitive.

M6 is a command that waits for the user to do something before proceeding any further, so it makes sense to prevent anything else from happening until the user gives the OK (short of stopping the G-code outright).

My mill does not have switches or probes (though I guess I could rig up a probe) so it would be easier (possibly) if the Touch off button was available during an M6 replacement, maybe I could then bypass the M6 action?


Without homing switches and/or a probe and a collet that offers tool height indexing it's going to be difficult to get this to work without resorting to splitting the job into multiple G-codes per tool. I'm not sure I can see another way around it.

Please Log in or Create an account to join the conversation.

More
8 years 2 months ago #116727 by derekmac
Replied by derekmac on topic Manual tool change problem
At the moment I am just driving the mill Z axis up and down using the test program I attached a couple of posts ago. No material, no tools, no touch-off, just a bare machine. I suspected it was something to do with the G53 which was I tried deleting the G53 bits to see what happened - no effect. Just tried homing the mill at Z+4 then running the program - same result. Particularly infuriating when the tool loading happens at the top of the Z-axis (where I want it) if the the TLOs are negative, but the subsequent moves are wrong. The moves are correct with a positive TLO, but the tool load happens at Z minus TLO (BELOW the material to be cut). I have now fitted the end mills with collars so are all tools are a repeatable TLO. If others can get this to work, it must be a configuration problem, but where?
I got into bad habits with the Taig software + non-repeatable tool lengths - a lot of manual shifting of Z axis with the controller turned off to get the tool into the right position. Never did really try to use the mill with Mach3.
Thanks for all the attempts at help so far. Maybe if someone can try the files I attached earlier - that could perhaps eliminate some potential sources of error.
Cheers

Please Log in or Create an account to join the conversation.

Time to create page: 0.068 seconds
Powered by Kunena Forum