Hello Guest it is September 23, 2023, 09:26:35 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 - Bodini

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 »
Config-> Logic is now just [pull down menu] Config --> General Config.

So is your question "how do i get the current offset"?  Like G54, G55, G56, etc.?

If that IS the question, then I've deduced this much...

"GetVar (5220)" returns a single digit number.  This number is the same number as the offset on the "Offsets" screen in Mach.

So on that screen, G54=1, G55=2, G56=3, etc.

If you try the code below in the "VB script editor" (built into Mach, in the pull-down "Operator" menu), the number returned does indeed correspond with the "fixture" number :

FixNumb = GetVar (5220)
MsgBox (FixNumb)

Even if this wasn't your question, I learned something today.  ;) :) :P



G92 A0

General Mach Discussion / Re: New Computer, Now Mach won't run my machine!
« on: December 24, 2007, 12:05:12 AM »
Your new computer has different port addresses than the old one... as in, the old xml isnt just a copy and paste.  Am I right?


General Mach Discussion / Re: help with z axis creeping
« on: December 23, 2007, 12:28:04 PM »
So when you say it's 0.070 off, you mean after you run the gcode and the Z dro reads 0.000, but it actually measures 0.070 higher than you started?

Could backlash comp throw it off a little over time if improperly applied? (asking Hood or gurus)

-Nick :)

General Mach Discussion / Re: help with z axis creeping
« on: December 22, 2007, 06:32:52 PM »
Are you sure it isnt in the g-code?  I'm just askin'.  :)


General Mach Discussion / Re: Non-parallel (rotated) datum
« on: December 21, 2007, 11:55:02 AM »
I see what you are doing Graham, thanks for the input.

I was trying to skip the gcode and set the datum on a slanted plane so that even in jogging, mach would compensate for the plane being non-parallel to the machine coordinate Z.


General Mach Discussion / Non-parallel (rotated) datum
« on: December 21, 2007, 11:38:33 AM »
Is it possible to set up an offset datum that is not on a level plane?

  I mean for instance, at X0, mach's z would read 1, and the cutter would indeed be 1 unit from the work surface.  then at say x12, mach's z would also read 1, but the cutter would actually be 2 units above the work surface.

Wait a second, suddenly g68 comes to mind as I write this out.

Then I go to the manual and see in 10.7.20, "this only allows rotation when the current plane is X-Y".

And now me thinks this cant be done.  right, wrong?


oh yeah, try 'SetOemDro' and 'GetOemDro' too.

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