Hello Guest it is May 19, 2019, 02:54:17 AM

Author Topic: pins 2-9 as inputs ?  (Read 2394 times)

0 Members and 1 Guest are viewing this topic.

pins 2-9 as inputs ?
« on: May 03, 2008, 08:14:42 PM »
In ports and pins there is an option (check box) to use pins 2-9 as inputs but on the "inputs" dialogue box  it says only pins 10-13 and 15 may be used as inputs. Which is correct?

 I am Using the basic breakout board from cnc4pc with the jumper choosing pins 2-9 as inputs for my limits and home switch inputs but mach doesnt seem to recognize any inputs on 2-9 , I can move the switches over to the std inputs 10-13 and 15 and they work fine but I still need 4 additional inputs for cycle start, pause etc .

Whats the method for using 2-9 as inputs?

Offline Hood

*
  •  25,810 25,810
  • Carnoustie, Scotland
    • View Profile
Re: pins 2-9 as inputs ?
« Reply #1 on: May 03, 2008, 08:51:36 PM »
Only on port 2 can you use them as inputs, and you may also have to set jumpers on your breakout to do so. You will only be able to use them all as inputs, cant have some inputs and some outputs.
Hood
Re: pins 2-9 as inputs ?
« Reply #2 on: May 03, 2008, 09:03:35 PM »
It is LPT2 that I am trying to use pins 2-9 as inputs on , I have the jumper on the breakout board set in the proper position for 2-9 to be used as inputs  and i have the proper ports and pins set on the inputs dialogue box  but mach still doesnt recognize them as inputs  , When I run the little diagnostics utility it states that home and limit switches are not on pins 10-13 . When I move them to 10-13 or 15 they work fine but are not recognized on 2-9 even though all the settings are correct. Even with the limits and homes moved to 10-13 and 15 I am still 4 inputs short , must be something simple I am overlooking
Is it possible the printer port (lpt2) in my computer may not allow 2-9 as inputs?

Offline Hood

*
  •  25,810 25,810
  • Carnoustie, Scotland
    • View Profile
Re: pins 2-9 as inputs ?
« Reply #3 on: May 03, 2008, 09:09:56 PM »
OK it may be your port doesnt allow bi directional, what I had to do at one time was set my motherboards port up as port 2 and use the PCI as port 1.
Hood