Hello Guest it is January 20, 2022, 08:39:23 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 - Tony Bullard

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 »
51
I am having the same problem with no mater what I put in the search field.

52
Mach4 General Discussion / Re: Setting Motor Counts Per Unit in macro
« on: December 07, 2018, 01:53:02 PM »
This may work out well for me because I am not cutting tapers. I would set the diameter DRO before I ran the job Just as I do in Mach3. I will have to play with this a little. It may not be soon. Maybe Maury could work with this on tapers.

Thank you Graig.

53
Mach4 General Discussion / Re: Setting Motor Counts Per Unit in macro
« on: December 07, 2018, 01:04:42 PM »

Thank you Craig. I'm back to the opening statement of this discussion.
"I’d like to change the Motor3 Counts Per Unit based on the diameter of work on a rotary axis." In my case I'm rotating a piece of pipe and cutting a profile on the end with Plasma on the Y axis. My code might be "G01 Y1 A2" where Y is inches and A is degrees. To get the vector velocity correct I need to change degrees to inches. The diameter will determin that. I'm hoping now to add a DRO for the diameter and code to update the Counts Per Unit for Motor3.

It has been so long that I've worked with code that I'm going to have to start all over again.

54
Mach4 General Discussion / Re: Setting Motor Counts Per Unit in macro
« on: December 07, 2018, 11:58:18 AM »
Does the latest change to Mach4 address all the issues of this discussion?

From the change log.
"3804 - 3786
Mach4GUI: Get Parent
Core: Prevent rotary axis unit conversion.  mcAxisSetPos() would do a units conversion on any and all axes.  But mcAxisGetPos() always returned the axis position in native machine units.  mcAxisSetPos() was changed to always use native machine units (the original design intent). 
Mach4GUI: Prevent rotary axis unit conversion. All DRO display and entry unit conversions are handled in the GUI. 
Core: Prevent F from being affected by a unit conversion if it is used on a line with a rotary axis ONLY. 
Core: Add mcMotorSet/GetCountsPerUnit API.  "

If it looks promising I will download it and try it.
Thanks for all the help.

55
Hi tony bullard,

I had the same problem you have and I solve it with MadMach plugin, I use it to trigger more than 10 macros, and it is working good for me. You can tray it .

Good Luck!

Thanks darlly01. I've been using Mach Mad and it works very well. Thanks to Scott!

56
Mach4 General Discussion / Re: Setting Motor Counts Per Unit in macro
« on: January 14, 2018, 08:36:56 AM »
Hi Tony,
as far as I know Mach3 and Mach4 handle rollover the same...see attached.

Craig

Yes they both have rollover properties but M4 does not have an axis designation checkbox (angular properties) that M3 has

57
Mach4 General Discussion / Re: Setting Motor Counts Per Unit in macro
« on: January 13, 2018, 11:30:37 AM »
I may be getting off subject but I did notice this. If I select “A Rollover” in Mach4 Configuration / General / Rotary Axis and send Gcode “G01 A 370 F10” the A axis DRO goes to 10,  (360° + 10°). Mach4 see 370 as degrees but handles them a linear.  Mach3 has an Angular Properties set up in General config that Mach4 is missing. See attached. Oops! Having adding pictures.

58
Mach4 General Discussion / Re: Setting Motor Counts Per Unit in macro
« on: January 12, 2018, 08:26:23 AM »

OK, I keep forgetting it is the Motion Control Plugin with hardware in Mach4 that really controls the motors. But in my case the radius compensation info would still have to be handed to the plugin from Mach. There should be tools and controls in Mach for the user to use to implement this and other rotary axis functions like surface speed. In Mauri’s case with a constant surface speed (feet per minute) the rotary axis motor would change speed (rpm) with a change in radius.

It looks like we need to have Mach programmers make the controls available and the Plugin people program their controllers to use it. 

59
Mach4 General Discussion / Re: Setting Motor Counts Per Unit in macro
« on: January 11, 2018, 04:22:39 PM »
Thanks Mauri,
I use a similar application in Mach3 for a plasma cutter for pipe coping where A Axis rotates a pipe and Y Axis moves the torch parallel with the A Axis center line. The Z Axis is controlled through Mach3’s THC inputs. Y is in inches and A is in degrees. To get a vector velocity (feed rate) they both have to be in the same units. Mach3 uses the radius through the angle in the line of G code to calculate the linear amount of circumference travel. Now a step ratio between the axes can be generated. Mach3 does a great job with this.

I’d like to buy Mach4 for this machine but the lack of this radius compensation features is a real stumbling block. Another is no THC control. An easy work around that is with an Arduino variable frequency pulse generator and control panel that switches the Step and Direction signals back and forth from Mach and Arduino to control the stepper driver for THC.

I would assume the Mach programmers view these forums. I hope they are listening.

60
Mach4 General Discussion / Re: Setting Motor Counts Per Unit in macro
« on: January 11, 2018, 06:52:06 AM »
Thanks Craig,

I've been working on that and then realized my code would reload the INI every time a Diameter DRO changed and that would really make a mess of things. I may let the code calculate the Counts Per Unit and then inter the counts manually on a new part change on a setup tab. 

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 »