Welcome, Guest. Please login or register.
Did you miss your activation email?
July 24, 2014, 05:58:43 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  Brains Development
| | |-+  Z-Axis Safety
Pages: 1   Go Down
Print
Author Topic: Z-Axis Safety  (Read 1283 times)
0 Members and 1 Guest are viewing this topic.
professorburnout
Active Member

Offline Offline

Posts: 22


View Profile
« on: January 26, 2012, 04:07:18 PM »

I have an issue with the Z-axis on my mill occasionally falling. This is a problem I have to work out with the hardware but I am thinking of a safety that could be implemented with Mach3.
My thought is to add an encoder to the motor that would be calibrated to the same units as the stepper motor. Mach3 would then compare the DRO’s and if the 2 numbers were different by a set tolerance an E-stop would be triggered also engaging the Z- axis brake.
Any thoughts if this is possible or ideas to make this happen?

Thanks,
Paul
Logged
BR549
Mach4 Alpha

Offline Offline

Posts: 5,118


View Profile
« Reply #1 on: January 27, 2012, 12:30:26 PM »

HERE you go already been done

http://romaxxcnc.com/encoderinfo.html

(;-) TP
Logged
professorburnout
Active Member

Offline Offline

Posts: 22


View Profile
« Reply #2 on: January 30, 2012, 01:05:46 PM »

I worked on this a little this weekend and I also reviewed the suggestion for using the encoder  board from romaxxcnc.com. The romaxxcnc board cost $159   more than I wanted to spend at this time and at this time I am only concerned with 1 axis.

The first few steps I have done to get this going was to get an encoder working with Mach3 then couple the encoder to the motor, and finally calibrate the units for the encoder and motor. The next steps will involve having the software compare the data from encoder to the DRO in Mach3. My thoughts for the software is to modify the home sequence of the z-axis to zero the encoder to get the Z machine position equal to the encoder position. Then have the comparison done in Mach3 Brains. But at first I may do the comparison in a Macropump because it may be easier for me at this time.
Is there much of an advantage to using a macropump over doing the comparison in Brains? My original thinking is that Brains run faster.

Thanks,
Paul
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
*
Offline Offline

Posts: 2,036


Briceville, TN, USA


View Profile WWW
« Reply #3 on: January 30, 2012, 03:33:37 PM »

another option would be (since your talking about a following error kind of thing), to run in brians.

Encoder (on z axis) x (factor to tune it to the axis) = v0

abs (v0-z absolute coordinate DRO), compare if greater than some value, then E-Stop

** Use the formulas and compare statements in brians for the above.
Logged

Commercial Mach3 & Mach 4, Design/Build/Retrofit CNC and Industrial machines.
https://sites.google.com/site/sssystemsautomation/
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!