Thread: Manual Tool Change
Hybrid View
-
23-10-2017 #1
Have you searched over on the Mach forums for code?
It's not something I've ever done in Mach 3, but standard macros only run at a 10Hz refresh rate, so if you're relying on the macro to start/stop motion depending on the touchplate/probe input, then it won't work. You have to use the specific probing commands, but I'm not sure how they work where macros are involved.Avoiding the rubbish customer service from AluminiumWarehouse since July '13.
-
24-10-2017 #2It's not something I've ever done in Mach 3, but standard macros only run at a 10Hz refresh rate, so if you're relying on the macro to start/stop motion depending on the touchplate/probe input, then it won't work.Gerry
______________________________________________
UCCNC 2022 Screenset
Mach3 2010 Screenset
JointCAM - CAM for Woodworking Joints
-
24-10-2017 #3
Indeed, the g31 gcode command causes a probing operation (unless you are using a CSMIO controller which has its own version plus an odd gotcha). Cnczone has plenty of examples if you can wade through a lot of dross to find them. I wrote my own height probing macros based on what I found there; I would be happy to post them but I have modified them to work with a CSMIO so they are not useful for non-CSMIO machines as they stand. I have three in the set - simple tool-height set, set tool height and then touch off fixed plate, touch off fixed plate for second-tool operation. I also have a tweaked first-page of the standard screenset to assign these to buttons.
Or you could contact Gerry/ger21 and buy his reasonably-priced and well-regarded 2010 screenset which has all these functions and more already built in. I wrote my own because I wanted an excuse to play with a bit of macro coding and screenset tweaking, not because they are any better.
-
24-10-2017 #4
It is correct. Mach 3 macro refresh rate is 10Hz. If you need to detect an input pulse less than 100ms, then it cannot be guaranteed that a macro will detect the change, which is why you had to use PLC for many commercial tool changers.
However, as I'm sure you're well aware, when you call G-code from a macro, that is then handled by the main motion engine, so is not restricted by the 10Hz refresh rate. The macro simply stalls until the motion is complete.Avoiding the rubbish customer service from AluminiumWarehouse since July '13.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
WANTED: Coventry easy change tool holders
By Benja in forum Items WantedReplies: 0Last Post: 01-07-2017, 02:04 AM -
Ignoring tool change
By dudz in forum Machine DiscussionReplies: 6Last Post: 15-02-2014, 06:34 PM -
Mach3 Tool Change Position
By Mad Professor in forum Artsoft Mach (3 & 4)Replies: 7Last Post: 15-07-2013, 06:54 PM -
XYZ Centurian 450 VMC tools sticking during tool change (M06)
By craftydonkey in forum Milling Machines, Builds & ConversionsReplies: 0Last Post: 19-10-2011, 03:11 PM -
WANTED: Tool holders for T2 (I think) quick change toolpost
By Jonathan in forum Items WantedReplies: 22Last Post: 07-05-2011, 10:30 AM
Bookmarks