Hello Guest it is November 20, 2019, 07:13:09 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.


Topics - 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 / 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 

4
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

5
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

6
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