Author Topic: Set DROs from within G-code? I'm flummoxed.  (Read 1692 times)

0 Members and 1 Guest are viewing this topic.

Offline frogblender

  • Active Member
  • Posts: 13
    • View Profile
Set DROs from within G-code? I'm flummoxed.
« on: March 24, 2010, 11:29:03 AM »
Maybe the answer is obvious, but danged if I can figger it out.

From within g-code (NOT a vb script):  How do I set the DROs in Mach3, the same as if you'd clicked on them with the mouse and typed in a number by hand?

Offline Graham Waterworth

  • Administrator
  • *
  • Posts: 1,845
  • West Yorkshire, England
    • View Profile
    • Autovalues Engineering
Re: Set DROs from within G-code? I'm flummoxed.
« Reply #1 on: March 25, 2010, 05:47:48 AM »
You can set certain ones with a #number , for example you can set fixture offsets that will update there positions by setting the #2500,2501,2502, for XY&Z on G54.

To zero out the absolute figures you just do a G92 X0 Y0 Z0 or any combination of axis.

Graham
G-Code is on the cutting edge

Autovalues Engineering, CNC machining specialists, Bradford, England