Welcome, Guest. Please login or register.
Did you miss your activation email?
December 02, 2008, 06:30:44 AM

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

Online Online

Posts: 20


View Profile
« on: August 18, 2008, 12:50:52 PM »

New to brains.
I would like to prevent (or stop in an orderly manner) execution whenever the spindle rpm is lower that the a certain % of set speed.
The objective is to prevent scrapping a job if the spindle slows down abnormally after many hours of work.
How would you do this with a brains?
Gaston Gagnon
 
Logged
HimyKabibble
Active Member

Online Online

Posts: 258



View Profile
« Reply #1 on: August 19, 2008, 09:21:35 AM »

Gaston,
    I"m hardly an expert, having created my first brain yesterday, but I would expect you'd want a brain that monitored the spindle RPM DRO, and whether the spindle is running.  Test the spindle RPM, and, if too low, force the program to stop, by sending either a Program Stop or E-Stop button press.  I wouild think you could use the "Spindle is Running LED" to know that the spindle is on.  You'll also want a delay on the Spindle is Running LED input, to prevent the brain from executing before the spindle has come up to speed.

Regards,
Ray L.
Logged
poppabear
S S SYSTEMS, LLC
Global Moderator
*
Online Online

Posts: 770


Briceville, TN, USA



View Profile WWW
« Reply #2 on: August 30, 2008, 05:22:42 PM »

set up a brian that has a User DRO to set you Low limit speed, and use an LED to enable the brain to function once you up to intial speed, then have it Pause when Speed to low.

Brain is attached below.

In Screen Designer 3 or 4 open your screen and put the below into it.

You will need to drop a "UserDRO 2000" onto your screen somewhere so you can set the "Too slow" RPM limit. (you can change this limit by changing the value
in the DRO (remember to tick off "Persistant DROs" under General config if you want it to retain from BOOT up to Boot up.
You will need to drop a "User LED 2000" somewhere with a VB button that will allow you to toggle its state from on to off, and back
this LED is what will control if the above brain will be activly watching your spindle or not. (so you can turn it on and off at will).

NOTE!!!!!!!:  It uses "TRUE Spindle RPM" Dro to base its compares off of, so you WILL have to have Tack Feed back so Mach can know
what your actual Spindle speed is in the real world.

The VB code needed in that button is:

If GetUserLED(2000) Then
SetUserLED(2000, 0)
Else
SetUserLED(2000,1)
End If

scott

* SpindleRPMwatch.brn (3.25 KB - downloaded 14 times.)
Logged

All things Mach3, Screens, Wizards, Plugins, Brians, complete control solutions for complex machines, Macros, ATC's, any kind of CNC machine build, retrofit or repair.
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!