Hello Guest it is March 28, 2024, 12:09:20 PM

Author Topic: Setting up remote START, STOP, PAUSE buttons  (Read 8826 times)

0 Members and 1 Guest are viewing this topic.

Setting up remote START, STOP, PAUSE buttons
« on: July 11, 2011, 07:24:58 PM »
I have successfully installed a 2nd PCI LPT card im my computer, running windows XP.
The 2nd LPT cable is connected to the three buttons on my router.
All wiring has been tested as good connections.
In Mach3's diagnostics page I have a 2nd row of green led's indicating the new port's pins.
In the PORTS & PINS page, I have entered the hex address of the port, enabled it, and checked 2-9 as input.
On the INPUT page, I have:
OEMTrigger-1 set to Port #2, Pin #2, Key=<ALT><R> for Start button
OEMTrigger-2 set to Port #2, Pin #3, Key=<ALT><S> for Stop button
OEMTrigger-3 set to Port #2, Pin #4, Key=<SPACE> for Pause button

With these settings, I can see the green led's in the diagnostics page go on/off when the buttons are pressed.
The only problem is they do not actually Start, Stop or Pause the running g-code!

What did I do wrong?
Eric

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Setting up remote START, STOP, PAUSE buttons
« Reply #1 on: July 11, 2011, 07:34:30 PM »
Have you set up the OEM triggers to the OEM codes for the functions you want?
Screenshot below in the order of Start, Feedhold and Stop.
Hood
Re: Setting up remote START, STOP, PAUSE buttons
« Reply #2 on: July 11, 2011, 07:39:20 PM »
I had looked at that page, and actually skipped over it as it was so uninformative!
How would I know what it needs?

What codes do I need for Start, Stop, Pause?
Very confusing!

Eric

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Setting up remote START, STOP, PAUSE buttons
« Reply #3 on: July 11, 2011, 07:41:14 PM »
1000 is start, 1003 is stop, 1001 is pause.
You will find the oem codes for buttons, DROs LEDs etc either on the wiki or in the sticky post at the top of the forum.
Hood

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: Setting up remote START, STOP, PAUSE buttons
« Reply #4 on: July 11, 2011, 07:46:02 PM »
OK, you set up your buttons as oem triggers.  Now you need to set what the oem triggers do.  Hood has given you the oem numbers for start, feedhold and stop.  They could just as easily be mapped to coolant on, off, for example by entering the approiate OEM codes.

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!
Re: Setting up remote START, STOP, PAUSE buttons
« Reply #5 on: July 11, 2011, 07:49:09 PM »
Ok, I have entered the 1000, 1001, 1003 numbers but nothing works yet?

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Setting up remote START, STOP, PAUSE buttons
« Reply #6 on: July 11, 2011, 07:51:09 PM »
Can you attach your xml and I will have a look and see if there is an issue.
Hood

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Setting up remote START, STOP, PAUSE buttons
« Reply #7 on: July 11, 2011, 07:59:09 PM »
One other thing to consider is some parallel ports can not be set to Inputs on Pins 2-9 or need set up via a jumper or possibly in device manage to do so. Try connecting to the normal input pins (10-13 and 15) on port 2 and set oem triggers accordingly and see if that helps.
Hood
Re: Setting up remote START, STOP, PAUSE buttons
« Reply #8 on: July 11, 2011, 08:03:31 PM »
I'm new to this forum, and cant figure out how to insert the XML attachment!
In CNCZone there's an option for that, but I don;t see it here!

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Setting up remote START, STOP, PAUSE buttons
« Reply #9 on: July 11, 2011, 08:05:46 PM »
On the reply page you will see at lower left an additional options button, click that and you will then see a button to choose what you want to upload. You will need to rename the xml first if it doesnt already have a custom name as the forum only accepts a file name once, suggest you rename to WidgitMaster.xml

Hood