Hello Guest it is March 28, 2024, 02:54:44 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 - Greolt

151
Try turning CV off.

Greg

152
General Mach Discussion / Re: CNC Wrapper HELP!
« on: May 11, 2011, 02:00:30 AM »
Regarding the 0 to -360, if you have your rotary axis direction as per convention then this is normal and correct.

It is important to know that CNCWrapper does not do any gcode manipulation beyond changing the relevant axis designation ( for example change Y to A) and scale those positions as per the designated diameter.

That is all it does.  Any further problems are there in the original code.  CNCWrapper did not introduce them.

Regarding the rotary axis compensation that Terry mentioned above, here is a copy of a post I made a while ago,

=======================================================================================

All axis move in units per min.   With a rotary axis those units are degrees.  

So what is 60 ipm on the linear axis (desired speed of the tool in the work), is 60 degrees per min for the rotary.

That 60 degrees per min angular feedrate will make the tool move through the work at a speed dependant on the distance the tool is away from the centre of rotation. (in your case, very slowly)

So Mach has a feature to compensate the rotary axis feedrate, to accommodate differing radius that the tool is cutting at.

It is activated via the Toolpath Setup menu.   Check "Use Radius for Feedrate"  All the other settings in this box are to do with the toolpath display window.

On the Settings page there are three DROs labelled "Rotation Radius".  IMO they would be better labelled "Rotation Offset Radius"

They are to tell Mach the distance that the relevant axis origin (Z in this case) is offset from the centre of rotation.  (A axis in this case)

So if you are machining on the outer surface of a 10 unit diameter job and Z axis origin (zero) is set on that outer surface, then the correct value for the "Rotation Offset Radius" DRO is 5.  The distance that Z origin is OFFSET from centre of rotation.

If, on the other hand, the Z axis origin is at the centre of rotation (my preferred method for most jobs) then the correct value for "Rotation Offset Radius" DRO is zero.  The distance that Z origin is OFFSET from centre of rotation is zero.

Mach takes the Z axis DRO value and the "Rotation Offset Radius" DRO value and adds them together to ascertain at what radius the tool is cutting at any one time.  Then compensates the angular feedrate to have the tool move through the material at the desired speed.

Maximum velocity as set in motor tuning is honoured, so that will always be the upper feedrate limit.

Now there is one little "Gotcha".   A zero value in the "Rotation Offset Radius" DRO will automatically disable the entire feedrate compensation feature.  This is a known bug and is being addressed by Artsoft at this time.  Hopefully it will be fixed soon.

The workaround for this, is to use a very small value (eg. 0.001) in the "Rotation Offset Radius" DRO when zero is the correct and desired value.  Small enough to have no measurable effect on feedrate, but not zero.

Hope this helps,

Greg

153
General Mach Discussion / Re: Mini-ITX D525 Atom and Slim XP
« on: May 11, 2011, 01:36:18 AM »
I use a Foxconn 45CSX via the LPT.  5 axis router.  Tiny XP.

Very happy with it.  When doing complex 4 axis jobs I must turn off the tool path view or it will stutter.

This is only on 4 axis.   3 axis is fine.  4 axis (rotary) view requires more graphics power than 3 axis does.

Greg

154
Modbus / Re: Hitachi SJ200 and ModBus Control Problems
« on: May 02, 2011, 09:08:30 PM »
I am on holiday.  Anything from me will have to wait till I am home.  Couple of weeks.

Greg

155
General Mach Discussion / Re: Manual button for auto zero
« on: April 18, 2011, 08:34:12 AM »
Thanks Ian.  I get the general idea.  Gives me something to work on.

You can't call a macro from a macro....can you?

Greg

156
General Mach Discussion / Re: Manual button for auto zero
« on: April 17, 2011, 07:16:17 PM »
Rick

Here is the brain as described earlier.  Using OEMtrigger # 6 and OEMLED 1141

Try this and see if the result is the same.

Greg

157
General Mach Discussion / Re: Manual button for auto zero
« on: April 17, 2011, 06:50:56 PM »
No I don't Rick.  Have not had anyone else report that.  Does it happen for both Z and A auto tool zero buttons?

Perhaps if it is the second section of the brain that you added, it may be that the timer module is set differently.  Not set as one shot maybe.

It might be worth waiting on Ian to show how this can all be done in a trigger macro.  It would be more elegant.

Greg

158
General Mach Discussion / Re: Manual button for auto zero
« on: April 17, 2011, 05:44:58 PM »
Ian

The advantage of using a brain is the timer safety.   If the switch/button is held for less than the specified time (2 sec) then nothing happens.

Can you give us an example of how to do this in the trigger macro.  It would be very handy to know how this is done.

Would it be an if/then with a pause and recheck input?

Greg

159
General Mach Discussion / Re: Manual button for auto zero
« on: April 15, 2011, 05:56:58 AM »
I guess I was just making the point that as far as Duc748's particular requirement here, there's no need for any macros

I think the question was about triggering an auto tool zero routine, which is a macro.

Hi Greg,
I am running a twin Z axis machine (Z and A axis) with external zero buttons for both axis, can you please advise on what additional code I need to add to the macropump?
I have 2 separate Macros M615 and M616 one for each axis in the macro folder but unsure regarding the macro pump.

And yes I am sure with a bit of clever macro writing it could all be handled in the trigger macro.

However Rick has been using this macropump/brain combination method for a while and asked how he could extend it to cover dual Z axis.  Hence my reply.

Greg

160
General Mach Discussion / Re: Manual button for auto zero
« on: April 14, 2011, 05:33:25 PM »
I don't believe that you can.  Could be wrong.

It was a long time ago that I looked into this.

Greg