Hello Guest it is April 18, 2024, 10:56:33 PM

Author Topic: Is it me or Mach...Probably me :)  (Read 5969 times)

0 Members and 1 Guest are viewing this topic.

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Is it me or Mach...Probably me :)
« Reply #10 on: April 15, 2012, 06:38:51 PM »
I see you are using a custom screen set. I would try the same function with a STOCK 1024 screenset.

(;-) TP

Offline SMA

*
  •  68 68
    • View Profile
Re: Is it me or Mach...Probably me :)
« Reply #11 on: April 15, 2012, 09:29:58 PM »
Ok I will try it.  I don't use this screen set anymore...never really did.  I have attached the screen set that I use now and I believe Thom designed it.

 I use his profile Bladerunner-dthc-UBOB3 and the Screen Set attached even though I am running a router.  

I have only had this machine for a year and knew absolutely nothing about cnc at that point.  Now I just know enough to be dangerous.

S

Offline SMA

*
  •  68 68
    • View Profile
Re: Is it me or Mach...Probably me :)
« Reply #12 on: April 16, 2012, 05:21:44 PM »
There is really something I am not getting here.  I have gone back to this simple way of scripting a work offset from a button but something is not right within my Mach Program.

As you can see below DRO's should read the same as the LoadMat x y and z values but it does not.\

If I have a LoadMatY value=328.3940 and hit my button the dro's read 328.3921! when the axis stops moving.  

I have tried a variety of numbers in and around the value I acutually want and get a variety of DRO readings.  If I 328.4000 gets you 328.4041? If I then enter 328.4041 the DRO's concur. It just seems random.

another question Is there a place to store a G92 offset?

I removed the last bit that zeros the DrO's to see where the axes actually come to a stop.

LoadMatX = GetUserDRO(1017)' read the stored values
LoadMatY = GetUserDRO(1018)
LoadMatZ = GetUserDRO(1019)


DoButton(24)
RefCombination (1 + 2)
While IsMoving()
Wend
Code ("G53 G1 X" & LoadMatX & " Y" & LoadMatY & " F1500")
While IsMoving()
Wend
Code ("G53 G01 Z" & LoadMatZ & " F600")'
While IsMoving()
Wend
DoOemButton(1008)
DoOemButton(1009)
DoOembutton(1010)

Frustrating to say the least and confusing all at the same time :)