Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 05:08:54 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  AutoZero Plate for Z Axis
Pages: 1 2 3 4 5 6 7 »   Go Down
Print
Author Topic: AutoZero Plate for Z Axis  (Read 2689 times)
0 Members and 1 Guest are viewing this topic.
kolias
Active Member

Offline Offline

Posts: 581



View Profile
« on: March 03, 2011, 01:39:39 PM »

I want to set up an auto zero plate for my Z axis as per attached doc. which I got it from the web some time ago. My questions:

1. Is the VB script correct (I will change the plate thickness to mine which is Aluminum 0.125””

2. I dont have any more outputs from my BOB to get the +5V. They all are taken for my limit/home switch. Can I use one of them since they will never be working together at the same time?


* How to setup touch plate.doc (224.5 KB - downloaded 610 times.)
Logged

Nicolas
Hood
Active Member

Offline Offline

Posts: 17,366


Carnoustie, Scotland


View Profile
« Reply #1 on: March 03, 2011, 02:27:37 PM »

5v supply can be used by more than one function, its the input that needs to be seperate.
Hood
Logged
kolias
Active Member

Offline Offline

Posts: 581



View Profile
« Reply #2 on: March 03, 2011, 03:21:47 PM »

Thank you Hood
Logged

Nicolas
kolias
Active Member

Offline Offline

Posts: 581



View Profile
« Reply #3 on: March 04, 2011, 11:37:34 AM »

I made the connections for the auto zero of my Z axis but it doesn’t work. When I press the Auto Tool Zero button on Mach I hear a clack clack on the Z axis and nothing moves.

Is the attached VB script good for all machines. The 0.125 on the script is the thickness of my touch plate.

I also enable the probe on the input signals screen with port 1 and pin 10 (where I connected the Red), and clicked the active low.

Is it perhaps because I have these capacitors on my limit / home switches that does not allow the auto zero to work?

What am I doing wrong?


* VB Script.JPG (29.47 KB, 353x384 - viewed 142 times.)
Logged

Nicolas
Tweakie.CNC
Active Member

Offline Offline

Posts: 3,263


Super Kitty.


View Profile WWW
« Reply #4 on: March 04, 2011, 12:29:53 PM »

Try zeroing your Z axis DRO first.

Tweakie.
Logged

Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
kolias
Active Member

Offline Offline

Posts: 581



View Profile
« Reply #5 on: March 04, 2011, 12:33:03 PM »

Never though about it, I will do it right now and post back
Logged

Nicolas
kolias
Active Member

Offline Offline

Posts: 581



View Profile
« Reply #6 on: March 04, 2011, 12:45:26 PM »

My machine was off so I turn it on and all axes were at 0

I clicked the Auto Zero Tool and it said

"Auto Zeroing........" and after a few seconds it said

"Probe Ignore, Activated at call for probe"

I moved the Z axis a bit and tried again but got the same message

So now what?
Logged

Nicolas
Tweakie.CNC
Active Member

Offline Offline

Posts: 3,263


Super Kitty.


View Profile WWW
« Reply #7 on: March 04, 2011, 12:58:45 PM »

Just as an experiment please try this code


DoOemButton (1010)
Code "(Setting Tool Zero)"
While IsMoving ()
Wend
If GetOemLED (825) = 0 Then
Code "G90 G31 Z-3 F20" & ProbeFeed
While IsMoving ()
Wend
If GetOemLED (825) = True Then
End If
ProbePos = GetVar (2002)
Code "G0 Z" & ProbePos
While IsMoving ()
Wend
Call SetDRO (2, 0.125)
Code "G0 Z1"
While IsMoving ()
Wend
End If


Tweakie.
Logged

Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
kolias
Active Member

Offline Offline

Posts: 581



View Profile
« Reply #8 on: March 04, 2011, 01:11:15 PM »

I installed the new code and now it says

"Setting Auto Tool Zero"

Nothing happens but now I dont get that clack...clack noise from the Z axis
Logged

Nicolas
Tweakie.CNC
Active Member

Offline Offline

Posts: 3,263


Super Kitty.


View Profile WWW
« Reply #9 on: March 04, 2011, 01:15:42 PM »

Can you go to the Diagnostics screen and check that Digitize LED is off.  Now short touch plate to tool (probe) and check Digitize LED comes on.

Tweakie.
Logged

Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
Pages: 1 2 3 4 5 6 7 »   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!