Hello Guest it is April 25, 2024, 07:36:05 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 - swanner

Pages: 1 2 »
1
VB and the development of wizards / Remembering LED and DRO status
« on: April 28, 2012, 01:23:55 AM »
I haven't fooled around with my screen set it awhile and added some buttons/dros/leds the other day except the two dros and leds aren't getting remembered when I restart mach. The dros are 1251 and 1252 - one I added a few months ago, dro 1250, is right next to them and it gets remembered. also the leds i'm using are 1051 and 1052 - what makes mach remember or forget the status when it is closed and restarted?

2
VB and the development of wizards / Macro pump working...but not working
« on: October 24, 2011, 11:27:16 PM »
I know my macro pump is running, and it works as I should when I run it in the script editor - but I get no response from the part that turns on output 3...I've tried tying it to the output led, flood led...numerous different ways, but it only activates the output when I run it in the editor, the first half of the script controlling output 5 works fine...

'Gate Valve Vacuum Pressure Relief via button
If GetOEMLED(821) Then 'Button next to vac gauge
   If GetOEMLED(78) Then 'Output 5 led
      DeActivateSignal(Output5) ' Close vac valve
      Sleep(150)
      Else
                ActivateSignal(Output5) 'Open vac valve
           Sleep(150)
        End If
End If

If GetUSERLED(1225) And Not GetOEMLED(13) Then 'If dust hood override led on and flood led off then
   ActivateSignal(Output3) 'Raise dust hood
End If

3
VB and the development of wizards / Tracking lost steps
« on: October 24, 2011, 08:49:40 PM »
Is there a way that I could script the machine to rehome itself and report how much it has to adjust the dro's? I'm trying to figure out if I'm losing steps and if so how much...it's open loop steppers

4
General Mach Discussion / Physical 'Cycle Start' button
« on: October 10, 2011, 08:44:14 PM »
I added a button to function as cycle start, but I would rather it do more than Cycle Start. I changed the cycle start button in the screen set to confirm the machine is homed before executing cycle start, how can I have the physical button do the same thing?

5
VB and the development of wizards / Ref All Home script
« on: October 03, 2011, 08:36:17 PM »
I know I saw a thread about this not too long ago but I can't seem to find it...anyway, I'm trying to make my machine home Z first, then X and Y at the same time. Right now it does Z, then Y, then X; the script looks like this:

DoButton( 24 )
DoButton( 23 )
DoButton( 22 )
DoButton( 25 )

6
General Mach Discussion / Keeping track of machine and tool use
« on: October 02, 2011, 09:46:23 PM »
Is anything available for mach that lets you keep track of machine hours or distance traveled, what programs are run and when, time and travel of different tools used?

7
General Mach Discussion / Adding a physical button to control outputs
« on: September 30, 2011, 12:28:05 AM »
How do would I go about setting up a button that would turn an output on and off? I would like to add a button to control the air solenoid for my dust hood, the solenoid is using 2 wires on a 3 conductor wire...it would be nice if I was able to utilize that unused wire instead of running a new one. I know how to setup an input but how do I get it to control the output? Also, if I used a button that sticks instead of a momentary one is there a way that it could override the output on/off code and make sure the dust hood stays up when it's depressed?

8
General Mach Discussion / Double check when measuring tool
« on: September 29, 2011, 01:31:06 AM »
I have my router setup to measure tools from a fixed switch. I'm trying to modify it to where it touches twice, compares the values, and let's me know if it's out more than .002 off, then I want a message box to pop up with the difference in it. I'm getting a syntax error, probably something simple...

9
VB and the development of wizards / Turning a macro to a M - code
« on: September 28, 2011, 05:18:17 PM »
How do I make a macro I wrote executable by using M??? in the g-code?

10
VB and the development of wizards / Script for air pressure sensor
« on: September 20, 2011, 02:58:35 PM »
I just got my limit switches working on my cnc router. They're all wired in a daisy chain with the estop switch and in that daisy chain was the air pressure switch as well. I removed the connections for the air pressure switch because I don't want the machine to estop because of a pressure drop (the only critical need for air pressure is for tool changes). I think it would be better if I could modify the tool change script where the first thing it does is check the input I connect the pressure switch to, and if it's off (no air) then it would pause and a message pop up informing me to check the air, and clicking ok and closing the message would restart the tool change script, and if the air is on then proceed with the tool change and rest of the program.

Are there any basic flaws with this idea? At first I thought it would be pretty short and simple, but the more I comb though these forums/wiki/documentation and try and learn what I have to do it's becoming clear there is a very small chance I'll ever get this to work piecing it together from scratch. Any help or advice would be appreciated.

Pages: 1 2 »