Hello Guest it is April 27, 2024, 04:41:40 AM

Author Topic: G code  (Read 14050 times)

0 Members and 1 Guest are viewing this topic.

Offline Graham Waterworth

*
  • *
  •  2,673 2,673
  • Yorkshire Dales, England
    • View Profile
Re: G code
« Reply #20 on: September 23, 2010, 01:00:51 PM »
Sorry Larry, my fault, the macro code should read :-

Setvar(3, getuserdro(1001))

You had the M code in the right place.

I must have been having a bad day.

Graham
Without engineers the world stops
Re: G code
« Reply #21 on: September 23, 2010, 01:10:26 PM »
Ok thanks Graham, just recall that King Henry had a worse day!

Larry ;D
Re: G code
« Reply #22 on: September 23, 2010, 01:35:13 PM »
Graham,

Well, I guess I'm the one having a bad day.  There must be something that I am doing wrong.  I put the M at the #3 place, and I have a DRO on the screen with the 1001 in the OEM Code function window. 

Larry

Offline Graham Waterworth

*
  • *
  •  2,673 2,673
  • Yorkshire Dales, England
    • View Profile
Re: G code
« Reply #23 on: September 23, 2010, 01:39:10 PM »
Have you got the macro saved in the correct profile?

If you are using the standard mach3mill profile it needs to be stored in C:\Mach3\macros\Mach3Mill as M1001.m1s

Graham
Without engineers the world stops
Re: G code
« Reply #24 on: September 23, 2010, 01:48:36 PM »
Graham,

Dude you nailed it.  I had to put it in the subfolder called cnc_quilter, then it started working perfectly, you are truly the man.  Go have pint on me!

Larry

Offline Graham Waterworth

*
  • *
  •  2,673 2,673
  • Yorkshire Dales, England
    • View Profile
Re: G code
« Reply #25 on: September 23, 2010, 01:51:06 PM »
Send only huge bags of cash  ;D  ;D  ;D

You are welcome

Graham
Without engineers the world stops
Re: G code
« Reply #26 on: October 30, 2010, 01:26:19 PM »
Graham, my friend, I need to draw on your limitless knowledge fount!  Is there a way to constantly provide the updated position of an axis so that it can be acted upon by an if then operation?

Larry

Offline Graham Waterworth

*
  • *
  •  2,673 2,673
  • Yorkshire Dales, England
    • View Profile
Re: G code
« Reply #27 on: November 01, 2010, 06:13:49 AM »
No, as there is no way to flush the current move from the buffer and do a restart from the current position.

Graham
Without engineers the world stops
Re: G code
« Reply #28 on: November 01, 2010, 09:06:13 AM »
Graham,

I thank you my friend, now back to the grind!

Cheers,

Larry