Hello Guest it is March 29, 2024, 05:34:34 AM

Author Topic: Thinking of a new wrapper function for MAch3.  (Read 28680 times)

0 Members and 1 Guest are viewing this topic.

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Thinking of a new wrapper function for MAch3.
« Reply #30 on: December 23, 2012, 10:29:41 PM »
One thing you may want to add to the screen is a scale function button. You can scale the part size up or down to help make it fit to the tube circumference.

It asks for the part size and what size you need it to be and does the math for you then applies SCALE to mach3.

Another I have on the screen is a set of DROs that give the max extents for X and Y. It assumes the origin is 0,0 and gives the sizes of X and Y.

Here is a scale function sample button code.

   'Macro M3004 Auto Scale
Dim Size1 As Double
Dim Size2 As Double
Dim Scale As Double

Size1 = Question(" Current Size ? ")
Size2 = Question(" New Size ?")
While Ismoving()
Wend
Scale = (Size2/Size1)
While Ismoving()
Wend

SetOemDro(59,Scale)
While Ismoving()
Wend
SetOemDro(60,Scale)
While Ismoving()
Wend

DoOemButton(160)
While Ismoving()
Sleep(100)
Wend

END


Just a thought, (;-) TP

« Last Edit: December 23, 2012, 10:34:33 PM by BR549 »

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: Thinking of a new wrapper function for MAch3.
« Reply #31 on: December 24, 2012, 06:03:41 AM »
Scale Button and the X & Y max. DRO's duly added.  ;D

Excellent thought Terry.

Many thanks.

Tweakie.
PEACE

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Thinking of a new wrapper function for MAch3.
« Reply #32 on: December 24, 2012, 11:19:23 AM »
MIght want to add a button to set scale back to Normal 1:1.

(;-) TP

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: Thinking of a new wrapper function for MAch3.
« Reply #33 on: December 24, 2012, 11:36:29 AM »
Thanks Terry, I'm up to speed on that one - the reset scale function has already been added to my Return Mach3 to Normal button.  ;)

Tweakie.
PEACE

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Thinking of a new wrapper function for MAch3.
« Reply #34 on: December 24, 2012, 12:29:36 PM »
OK time to think of something else cool that is needed.

(;-) TP
Re: Thinking of a new wrapper function for MAch3.
« Reply #35 on: December 24, 2012, 02:18:18 PM »
How about a function that determines feed rates based on cutting load. Knots create... SMOKE!

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Thinking of a new wrapper function for MAch3.
« Reply #36 on: December 24, 2012, 03:52:46 PM »
We already have Mach3 Cruise control somewhere. It monitors the spindle speed and adjusts the Speed based on RPM drop or gain.

Is that what you wanted ??? Crusie control?

(;-) TP
Re: Thinking of a new wrapper function for MAch3.
« Reply #37 on: December 24, 2012, 04:04:02 PM »
it would be a chip load issue, that only a controlled feed change would accomplish.
Faster speeds produce more ... SMOKE

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Thinking of a new wrapper function for MAch3.
« Reply #38 on: December 24, 2012, 04:40:53 PM »
Can you describe what you want Mach3 to do and when ?

(;-)TP
Re: Thinking of a new wrapper function for MAch3.
« Reply #39 on: July 11, 2014, 11:50:47 AM »
Is there any tutorial or users guide for this application? I downloaded it and it installs, but I'm not sure how to implement it.
1) generate the g-code from the WRITE wizard.
2) zero the Y axis on the rotary axis center line.
3) load the Mach3 Cylindrical Mapping program and input the variables
4) reload the 1024.set
5) Set the starting Z & X positions
6) Load and RUN the WRITE g-code.

am I on the right track???