Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: learman on March 01, 2008, 02:20:11 PM

Title: Programable buttons
Post by: learman on March 01, 2008, 02:20:11 PM
I posted last time

--------------------------------------------------------------------------------
I Have 3 machined running Mach 3 and they all do this.  When pressing an external start button My spindle comes on as it is suppose to, but some times I get a momentary output on output #1 It lasts for maybe .5 seconds. If I cycle the maching using the on screen start button it never dose this. I have try ed changing the pin# and the output #, ran shielded wire to my start button, and it still dose it. Here is my G code program it is very simple

M3
X -00.000 Y00.00000 Z00.00000 F550.00
M11 P4  -----> this one too will blink on for just a .1 of a second this is my machine on 
G1 X -00.010 Y00.00000 Z00.00000 F030.0
M11 P1   ------> This is the output, it turn on at the same time as the spindle and stays on .5 seconds then shuts off and then turns back on
G4 P00.34
G1 X -04.8000 Y00.00000 Z00.00000 F090.0
M10 P4
M10 P4
X -05.7000 Y00.00000 Z00.00000 F800.00
M11 P5
G4 P0.9
X -05.7500 Y00.00000 Z00.00000 F800.00
M11 P7
X -05.7600 Y00.00000 Z00.00000 F800.00
G4 P00.2
M10 P7
M10 P1
X -05.7650 Y00.00000 Z00.00000 F800.00
G4 P0.2
X -00.000 Y00.00000 Z00.00000 F800.00
M30
M30

My start button is on oem trigger #1 and set on active low..
I am using a simple brake out board and an amplification/printer port protection board,,
where have i gone wrong

thanks to all
Josh

Tryed all of what was in my last post with the same results.. My next thought is dose anbody know of a progrmable set of  buttons That I can set as a start button for mack3 ALT-R
Title: Re: Programable buttons
Post by: sanlee on March 02, 2008, 06:05:48 AM
Josh
Can you give me the macro that you have created for external start button?

Sanlee
Title: Re: Programable buttons
Post by: learman on March 02, 2008, 07:05:38 AM
Sanlee,,

I have my cycle start (code 1000 on OEM trigger 1) set on input pin 12.

Thanks for the reply
Josh
Title: Re: Programable buttons
Post by: learman on March 05, 2008, 02:36:10 PM
for anybody reading this post,, I installed a j-pac from http://www.ultimarc.com and ran my cycle start and stop through the j-pax and have not had one issue.

thanks
Josh