Hello Guest it is March 28, 2024, 09:02:40 AM

Author Topic: Configuring Start Button as Push Button  (Read 14251 times)

0 Members and 1 Guest are viewing this topic.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Configuring Start Button as Push Button
« Reply #10 on: January 28, 2008, 06:00:24 AM »
Have you set up Output 5 in ports and pins for your relays?
Hood

Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: Configuring Start Button as Push Button
« Reply #11 on: January 28, 2008, 09:48:45 AM »
Like Hood said, make sure you enabled OUTPUT5 and set the correct ports and pins for it.
Also, Make sure you put these macros under the Profile your using if your using "Mach Mill" then look in the Macros folder, look in the "machmill" folder under that
see if you see your two macros. You have to put the macros under the Profile macros that they belong to. If you have more than one profile you have to watch this.

Scott
fun times
Re: Configuring Start Button as Push Button
« Reply #12 on: January 30, 2008, 04:15:12 AM »
Hello Hood and Scott

Thanks, I have already Enabled OUTPUT#5 in Output Signals, then Created file named M60.m1s. in that i have written ActivateSignal(OUTPUT5). then saved this file under MACH3,Macros,Mach3mill. But still it is showing error "No trigger in P word, ignoring M60" when executing M60 in Gcode. please let me know what is P word? Even i have restart my PC also to confirm the updatation of Macros. If in VB script editor i am running then i can see in diagnosis mode that output5 is getting on when ActivateSignal(OUTPUT5) is running. but M60 is not working in Gcode, Please guide me if anything else i have to do for this...

Thanks

Sanlee

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Configuring Start Button as Push Button
« Reply #13 on: January 30, 2008, 05:22:35 AM »
I think M60 must be getting used or is being reserved by Mach for some reason, try changing to M70 and M71 and it should work. (check to see you dont have a M70 and 71 macro already in that folder, if you do then you can just pick a convenient number that is not being used)
Hood
Re: Configuring Start Button as Push Button
« Reply #14 on: January 31, 2008, 04:54:16 AM »
Thankyou Very much Hood

I think M60/M61 is being used by Mach or may he kept reserve but M70 and M71 works perfactly. Thanks again.

Regards

Sanlee
Re: Configuring Start Button as Push Button
« Reply #15 on: May 02, 2012, 04:08:50 PM »
Hi to all, I've just installed Super PID on my CNC router, which is controlled by Mach3 (via printer port #2, since port #1 is totally occupied by the Rutex servo drives) and while on the fly, i decided to also throw in an encoder for fine positioning and also 6 push button switches to activate Start, stop etc (also connected via printer port #2). So far the PID and positioning encoder are working as expected, however I cannot get to set the OEM triggers to communicate through pins 2 to 7 (of Print Port 2). Now.... I know that pins 2 to 9 are originally outputs, however in the "Ports and Pins" - "Port Setup" I set the outputs of port 2 to inputs. Further more in the "Input Signals" it says that only pins 10-13 and 15 are inputs, which is probably the source of my difficulty. I have also tried going around it through the Keygrabber but to no avail. I am a bit confused how or from where to get these set. Does any of you guys have any idea how to go about this? thanks
Marting

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Configuring Start Button as Push Button
« Reply #16 on: May 02, 2012, 04:45:05 PM »
If you attach your xml I will have a look and see if I can find a problem.
Hood
Re: Configuring Start Button as Push Button
« Reply #17 on: May 02, 2012, 05:27:37 PM »
Hi Hood, attached as requesed .... much appreciated, Thanks
Marting

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Configuring Start Button as Push Button
« Reply #18 on: May 02, 2012, 05:33:25 PM »
You dont have any OEM triggers assigned in that xml.
Hood
Re: Configuring Start Button as Push Button
« Reply #19 on: May 02, 2012, 05:47:55 PM »
So far no, as when something does not work, I revert back to the last working settings to keep as clean as possible. On the otherhand I need to assign OEM triggers on pins 2 to 7 of Printer Port 2.
Thanks Marting
« Last Edit: May 02, 2012, 05:49:41 PM by marting »