Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 02:38:43 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  VB and the development of wizards
| | |-+  check if G68 is active
Pages: 1   Go Down
Print
Author Topic: check if G68 is active  (Read 575 times)
0 Members and 2 Guests are viewing this topic.
zone023
Active Member

Offline Offline

Posts: 37


View Profile
« on: May 18, 2010, 03:51:00 AM »

Hi,

I am setting up my machine so that it can handle a G68 job rotation.

Button-scrips for measuring the angle and setting G68 are already functioning.

From what I understood you have to switch off G68 before toolchange.
(Obvious: The toolsetter has a fixed location stored in machine coordinates.)

So I want my toolchange macro (M6) to check if G68 is active, switch it off, do the toolchange and switch on G68 again.

Does anybody know how to check if G68 is active? Huh

Are there any other G-codes or macro's that require G68 to be deactivated?

Thanks for helping!

Rich
  


 
« Last Edit: May 18, 2010, 03:53:46 AM by zone023 » Logged
BR549
Active Member

Offline Offline

Posts: 2,551


View Profile
« Reply #1 on: May 18, 2010, 03:50:12 PM »

IF I remember correctly the G68 does not effect machine coords only work coords so it should NOT effect a tool change posittion in machine coords.

There are other functions that don't work under a g68 I have a list somewhere IF I can find it I will post it.

There is little to no documention on the G68 effects so proceed with caution (;-)
Logged
DaveCVI
V4 Screen Contributor

Offline Offline

Posts: 532



View Profile WWW
« Reply #2 on: May 18, 2010, 10:19:38 PM »

FYI - when playing with rotated coord systems, Be aware - mach jogs parallel to the machine coord axes - NOT the WC axes.
SO.... if you rotate the WC system, you have to think about what is happening -

example: if you have a rotated vise that you aligned the WC to, and you think you are jogging along the vise face, you can get surprised as you will not be jogging parallel to the vise face!

Dave
Logged

Author of the MachStdMill Extensions for Mach3
www.CalypsoVentures.com
zone023
Active Member

Offline Offline

Posts: 37


View Profile
« Reply #3 on: May 19, 2010, 09:52:23 AM »

Hi,

Thanks for warning. From this forum I already understood that you have to be careful when using G68. Shocked

Just need to find out now if G68 really doesn't affect a toolchange in machine coords.

I'll do some testing later on...need to find a foam vise and cardboard toolsetter first... Grin



Rich
Logged
BR549
Active Member

Offline Offline

Posts: 2,551


View Profile
« Reply #4 on: May 19, 2010, 06:28:10 PM »

Testing here it looks fine for a tool change in Machine coords You just can't G28.1(refhome) you can G28 and G30 if needed.

And as Dave stated watch out for the jogging it JOGS in the original machine plains and NOT in the rotated plain.

(;-) Hope that helps
Logged
BR549
Active Member

Offline Offline

Posts: 2,551


View Profile
« Reply #5 on: May 19, 2010, 11:27:26 PM »

TO answer your original question(;-)

OEMLED(108) is used to indicate if G68 is active or not.
Logged
zone023
Active Member

Offline Offline

Posts: 37


View Profile
« Reply #6 on: May 20, 2010, 03:54:43 PM »

Hi,


I did a G68 search, that's why I didn't find OemLed(108)...
And in fact I was looking for a way to read the state of G68, degrees of rotation, etc.
In that way I would be able to store the settings, switch it off for a toolchange, and switch on again afterwards with the correct settings.
But because of your testing it is clear that a toolchange can be executed without deactivating G68.

Thanks again!

Rich
  
Logged
DaveCVI
V4 Screen Contributor

Offline Offline

Posts: 532



View Profile WWW
« Reply #7 on: May 20, 2010, 04:57:23 PM »

DRO 118 will give the rotation angle of the WC system.

Dave
Logged

Author of the MachStdMill Extensions for Mach3
www.CalypsoVentures.com
zone023
Active Member

Offline Offline

Posts: 37


View Profile
« Reply #8 on: May 20, 2010, 05:14:02 PM »

Thanks Dave.

With the Led and Dro it is possible to do what I want(ed)
I'll try without deactivating first.
Not having to program myself seriously reduces the risk of damage...  Grin
The same reason why I was looking for mach g68 readouts.
It also would have been possible to assign a UserDro and led, but this increases the risk of making  mistakes (for me...)

Rich
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!