Hello Guest it is April 25, 2024, 06:06:57 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - stirling

71
General Mach Discussion / Re: Bridgeport Knee Mill Conversion?
« on: September 05, 2016, 05:45:49 AM »
turn off and restart Mach3. However - when you come to turn it back on again - and restart Mach - make sure it's "taken" - here at least - sometimes you have to do it twice before the pump comes back on.

Anyway - no need - I simulated it all here and I'm getting pretty much the same results as you've described.

Turns out (here at least) that I can make it "work" by either using a USER DRO rather than the A DRO, OR by putting the M code in the button rather than using code "M..." from the button

If you use BOTH - like you're doing - it hangs the interpreter. So the M code never actually executes and (for example) the MDI is now hung.

So I guess the moral of the story is:
a) don't use OEM DROs for things they aren't intended for (which Hood was suggesting)
b) don't call M codes from macros (which I've been suggesting).

Just as an aside - during this I came across a bit of behavior which I don't really get. It seems that sometimes but not always (haven't investigated further) - if you have tool offsets cancelled, the mere fact of opening and then CLOSING the tool offset table turns tool offsets back on. That could bite you if you're not aware. E.g. you set a tool, you check the table, you set the next tool BUT you're now going to be setting the second tool with the first tool's offset applied to it - that's never going to end well.

72
General Mach Discussion / Re: Bridgeport Knee Mill Conversion?
« on: September 05, 2016, 04:53:13 AM »
No - we moved on from that - see my reply #453

what were the results of doing that?

73
General Mach Discussion / Re: Bridgeport Knee Mill Conversion?
« on: September 04, 2016, 02:04:15 PM »
Hood - should've said - good catch - I missed that.

Dave - OK - It's really not a good idea to call a macro from a macro using the "code" call - but putting that aside just for the moment...

you still haven't said what happened when you ran the one liner?


74
General Mach Discussion / Re: Bridgeport Knee Mill Conversion?
« on: September 04, 2016, 01:39:33 PM »
Ah - OK - it's just your quote is from Dave's "towel throwing" thread - I thought you'd spotted something over there that I'd missed. Thanks.

Sooooooooo..... Dave...

Are you doing a code "M881" call in a screen button?



75
General Mach Discussion / Re: Bridgeport Knee Mill Conversion?
« on: September 04, 2016, 01:16:48 PM »
Maybe Hood can help. Hood - where did you see Dave calling an M code from within a button script that prompted your comment I've quoted?

Meanwhile - what happened to this? i.e. what was the outcome?

I can easily change back to the std screen set so thats ok, will kill the pump and try the cut-down code again.

76
General Mach Discussion / Re: Bridgeport Knee Mill Conversion?
« on: September 04, 2016, 11:59:40 AM »
no - what I'm getting at is prompted by this from Hood

One other thing, why did you have your screen button call a macro rather than just have the script in the button?
Unlikely it would make a difference but was just curious.

Hood

This implies you are calling a FILE based macro from within a screen button macro script

77
General Mach Discussion / Re: Bridgeport Knee Mill Conversion?
« on: September 04, 2016, 11:15:59 AM »
 >:D

78
General Mach Discussion / Re: Bridgeport Knee Mill Conversion?
« on: September 04, 2016, 10:59:34 AM »
Yes, this screen-set uses macro calls on most buttons.

How are the macros called? is it with the "code" call e.g.

code "M666"

79
General Mach Discussion / Re: Bridgeport Knee Mill Conversion?
« on: September 04, 2016, 10:05:48 AM »
so we simplify even further.

Switch OFF the macropump - and make SURE it's OFF.

then run my one liner button code and see what happens. i.e. type a value into the A DRO and see if:

a) that goes into the tool table (again opened manually after the button press).
b)change the value manually in the A DRO and see if you can run the button again or whether it's "blocked" still.

Problem is of course - you've now got rid of the A DRO so we're in the mess of changing more than one thing at a time. See where I'm going with this? still thrashing Dave... ;)

EDIT: BTW - did I read somewhere that you're running macros from button macros or did I imagine that?

80
General Mach Discussion / Re: Skip Tool-change if tool is loaded?
« on: September 04, 2016, 09:53:26 AM »
No worries  ;)