Hello Guest it is April 20, 2024, 01:48:36 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - lightntrax

Pages: 1
1
VB and the development of wizards / EStop and Nested Loops
« on: June 16, 2012, 07:12:27 PM »
Is there a better way to handle EStops in a nested loop?  I need to stop the loops from running if the EStop is pressed.  If I dont once the machine is returned to safe mode the Nested Loop continues to run.

Here is my VB Code:
Sub Main
If IsEStop() Then
    Print ("Estop")
    Exit Sub
Else
For r = 1 to 3
If IsEStop() Then
    Print ("Estop")
    Exit Sub
Else
Print "r=" & r
End If

For i = 1 to 10
If IsEStop() Then
    Print ("Estop")
    Exit Sub
Else
Print "i=" & i
End If
Next i
Next r
End If
End Sub

2
VB and the development of wizards / Checking audio level
« on: June 03, 2012, 01:15:29 PM »
Has anyone ever used the mic input to sense the motor is running in VB Scripting?

3
Brains Development / Re: Hole Counter
« on: June 01, 2012, 01:19:16 AM »
Thanks for you help.  Is there a way with Screen 4 to display that variable?  I found the GCode Var Monitor.

4
Brains Development / Check the hole was drilled
« on: May 30, 2012, 03:05:38 AM »
I am thinking about using an optical sensor to tell my machine that the hole was drilled.  I am doing a continuous drill system with a small drill bit.  I would like to know that the hole was drill and the bit didnt break off in the hole.  This would step through the subroutine in my G Code.  Is this possible?

Thanks.  Eddy 

5
Brains Development / Hole Counter
« on: May 30, 2012, 03:02:19 AM »
I am new to brains and not sure if this will work.  I would like to count the number of time I drill a hole.  This way I can see what life I am getting out of the bit.  Can brains do this?

Thanks.  Eddy

6
Screen designer tips and tutorials / Counter Readout
« on: May 30, 2012, 01:02:04 AM »
I would like to have a counter for every hole that has been drilled.  I have a basic system that drills hole on a continuous ribbon of brass.  I would like to know how many holes have been drilled so I know how dull the bit might be getting.  I would reset it at the time of changing the bit.

Thanks.  Eddy

7
G-Code, CAD, and CAM discussions / Re: Encoder distance
« on: January 07, 2012, 10:55:12 AM »
I am working on a system that will drill holes on a ribbon wire.  The wire is continuous in length and comes off a roll.  I plan on using a take up roll to advance the ribbon.  As the take up roll gets more wire on it the diameter will change so I have an encoder wheel that can measure the distance the ribbon travels.  The machine is basically a 2 axis (X and Z).  I will drill a hole then move 0.2" drill again and repeat every 2" down the ribbon.  I am thinking that I might need to do this through brains or c code.  Unless there is a better way.  Thanks for the input.  Eddy

8
G-Code, CAD, and CAM discussions / Encoder distance
« on: January 06, 2012, 10:00:09 PM »
How do I use the distance measured by an encoder instead of stepper position?  Also is it different on an encoder for absolute versus relative?

Thanks.  Eddy

Pages: 1