Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 01:42:57 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  Setting up remote START, STOP, PAUSE buttons
Pages: 1 2 3 »   Go Down
Print
Author Topic: Setting up remote START, STOP, PAUSE buttons  (Read 588 times)
0 Members and 1 Guest are viewing this topic.
WidgitMaster
Active Member

Offline Offline

Posts: 10



View Profile
« on: July 11, 2011, 06: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
Logged
Hood
Active Member

Offline Offline

Posts: 17,366


Carnoustie, Scotland


View Profile
« Reply #1 on: July 11, 2011, 06: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


* ScreenHunter_02 Jul. 12 00.33.jpg (82.11 KB, 799x562 - viewed 68 times.)
Logged
WidgitMaster
Active Member

Offline Offline

Posts: 10



View Profile
« Reply #2 on: July 11, 2011, 06: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
Logged
Hood
Active Member

Offline Offline

Posts: 17,366


Carnoustie, Scotland


View Profile
« Reply #3 on: July 11, 2011, 06: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
Logged
Chaoticone
South Carolina, US
Administrator
*
Offline Offline

Posts: 3,598


Precision Chaos



View Profile WWW
« Reply #4 on: July 11, 2011, 06: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
Logged

Grin If you could see the things I have in my head, you would be laughing too. Grin
www.precisionchaos1.com
My guard dog is not what you need to worry about!
WidgitMaster
Active Member

Offline Offline

Posts: 10



View Profile
« Reply #5 on: July 11, 2011, 06:49:09 PM »

Ok, I have entered the 1000, 1001, 1003 numbers but nothing works yet?
Logged
Hood
Active Member

Offline Offline

Posts: 17,366


Carnoustie, Scotland


View Profile
« Reply #6 on: July 11, 2011, 06:51:09 PM »

Can you attach your xml and I will have a look and see if there is an issue.
Hood
Logged
Hood
Active Member

Offline Offline

Posts: 17,366


Carnoustie, Scotland


View Profile
« Reply #7 on: July 11, 2011, 06: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
Logged
WidgitMaster
Active Member

Offline Offline

Posts: 10



View Profile
« Reply #8 on: July 11, 2011, 07: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!
Logged
Hood
Active Member

Offline Offline

Posts: 17,366


Carnoustie, Scotland


View Profile
« Reply #9 on: July 11, 2011, 07: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
Logged
Pages: 1 2 3 »   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!