Hello Guest it is April 25, 2024, 10:17:58 PM

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 - zerodegreec

Pages: 1
1
General Mach Discussion / Re: Macro Pump and Spindle commands
« on: October 17, 2013, 12:03:31 PM »
In the original code example, I had my flood button programmed to input#3. My code called up the LED to determine if the button is being pushed. If it had been pushed then it would trigger the flood toggle OEM button. Kind of the long way around considering how easy OEM triggers are to setup now that I know how to do it.

2
General Mach Discussion / Re: Macro Pump and Spindle commands
« on: October 17, 2013, 11:59:31 AM »
I see, but I am using it as an on/off button. Thus if I push the button, I want it to change its current state regardless. An example of how I am using this particular button is, when setting up stock and or a tool, I turn on my flood to make sure I am getting the coverage desired. Turn it off and let the program handle it from there. All with only one button to cycle the pump.

3
General Mach Discussion / Re: Macro Pump and Spindle commands
« on: October 17, 2013, 11:51:50 AM »
I did use oemtrigger for CW,CCW and flood. Works much better.

out of curiosity, what type of safety code would you put in for a simple "dobutton" command such as flood on/off?

good thoughts on while,wend. I will look at my macropump code and make sure I implement it for the remaining code.

4
General Mach Discussion / Macro Pump and Spindle commands
« on: October 17, 2013, 12:43:12 AM »
Trying to setup a convenient group of buttons wired to a second BOB. Things like Safe Z, Flood on/off, Pulley selection etc. I have them all "working" but its just not perfect. I am using a momentary button for each input. The Macro Pump code for each input is along these lines:

Flood=GetOEMLED (823)

REM Flood control on/off
If Flood=True Then
Code DoOEMButton(113)
End If

So this works but I seem to have to hit the sweet spot for when the macro runs. Hold the button too long, and the flood comes on, then back off (sometimes all I see is the Output LED flash on diag screen).
The worst part is I have a Spindle CW and a Spindle CCW button. If I am not perfect in pressing my button for just the right amount of time, my spindle will not cycle on. If and when I cycle with the on screen buttons or a button I made myself with the "Code DoOEMButton(110)" it starts perfectly every time. So it must be something to do with my Macro Pump setup.

Thanks,
Bryan

5
General Mach Discussion / Re: Using inputs below Points 10-15
« on: October 17, 2013, 12:33:48 AM »
Got home tonight and started up the computer (did this last night btw) and also cycled the power to the C10. Suddenly it works like a charm.

6
General Mach Discussion / Using inputs below Points 10-15
« on: October 16, 2013, 01:28:05 AM »
So I have a second BOB (C10) that I put in a while back and have it setup to use Pins 2 thru 15 as inputs. I notice that on the ports and pins config only ports =>10 can be used. Must be missing something where I can utilize the 9 pins I switched over to input on the BOB itself.

I have checked the box for pins 2-9 as inputs under the Port2 setup in the ports and pins main tab. save and close Mach3. Re-open and set input#1 as 2-8 for example, but it will not recognize a change in switch state. Works with pins 10,11,12,12,15 just not 2-9 on port 2.... Hmmmmm

Pages: 1