Hello Guest it is March 28, 2024, 07:35:43 PM

Author Topic: Smooth Stepper Port2  (Read 6629 times)

0 Members and 1 Guest are viewing this topic.

Offline SScnc

*
  •  77 77
    • View Profile
Smooth Stepper Port2
« on: March 10, 2010, 11:12:11 AM »
Hello, I'm using the SS and the C25 from cnc4pc.com

I can't seem to get any I/O's on port2. Is there somewhere you have to enable it?

Port1 works great. Port 2 is dead.

Thanks

Offline Jeff_Birt

*
  •  1,107 1,107
    • View Profile
    • Soigeneris
Re: Smooth Stepper Port2
« Reply #1 on: March 10, 2010, 04:34:48 PM »
You have to set the direction of the Port2 pins in the SmoothStepper configuration window. Some BOBs will also not work with Pins 2-9 set as outputs.
Happy machining , Jeff Birt
 

Offline SScnc

*
  •  77 77
    • View Profile
Re: Smooth Stepper Port2
« Reply #2 on: March 10, 2010, 05:30:58 PM »
I do have them set 2-9 as inputs. Do i need pull up resistors?

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Smooth Stepper Port2
« Reply #3 on: March 10, 2010, 05:55:41 PM »
Your BOB may not support that, think Jeff maybe got it mixed up as some BOBs wont support 2-9 as Inputs.
Hood

Edit, my mistake, just read another post by woffler and seems its the opposite way for the BOB he had, C25, same as you, seems port 2 on them are hard wired for inputs only..

« Last Edit: March 10, 2010, 05:59:43 PM by Hood »

Offline SScnc

*
  •  77 77
    • View Profile
Re: Smooth Stepper Port2
« Reply #4 on: March 10, 2010, 07:07:16 PM »
any ideas?

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Smooth Stepper Port2
« Reply #5 on: March 10, 2010, 07:24:45 PM »
Should work fine as long as you have them enabled and assigned correctly in ports and pins.
If you want to attach your xml I will have a look and see if I can find a problem with it.
Hood

Offline SScnc

*
  •  77 77
    • View Profile
Re: Smooth Stepper Port2
« Reply #6 on: March 10, 2010, 07:27:18 PM »
Its on my laptop at work. I will post it tomorrow.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Smooth Stepper Port2
« Reply #7 on: March 10, 2010, 07:29:01 PM »
ok, no probs :)

Hood

Offline SScnc

*
  •  77 77
    • View Profile
Re: Smooth Stepper Port2
« Reply #8 on: March 12, 2010, 09:28:19 AM »
Ok sorry for the delay. I hooked up my switches to port 3 on the SS board and they work fine. Still nothing on the second port though.

XML is posted.

I have a new issue regarding my MPG.

My original setup was to run my A/B signals from the second port on the cnc4pc C25 BOB. Well as stated above I can't get any signals on port two. So I went to port one, which I know works, because this is where I have my servos connected and everything works fine. With the MPG hooked up on port one pins 11 and 12, all I get is a flicker every so often on the diagnostics page on the MPG1 DRO.

I'm using an external 5VDC power supply to power the MPG. So I thought maybe that was the issue. I then tried using 5V from the BOB to the + side on the MPG and ground terminal to the - side. Well this was even worse, no response at all.

I took my multimeter and checked the voltage at the back of the MPG and at the BOB and both read just over .8V

Something is screwy here and I can't seem to figure it out. Is it possible my MPG has gone bad?

~Scott

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Smooth Stepper Port2
« Reply #9 on: March 12, 2010, 05:51:07 PM »
Dont see anything wrong in your xml, you have the ports enabled on Ports and Pins page which you dont need to do but it wont harm either way.
What I would do is try putting 5v from pin 26 on port 2 directly into pin 2 on the SS itself and see if the state changes on the SS Data monitoring page. You will have to make sure that you have the jumper set so pin 26 is 5v or you could just take the 5v from port 3.
 If it changes state direct on the SS then try again with the BOB connected and see.

Hood