New to LinuxCNC - Trying to add a PPort card and get LinuxCNC to start

More
24 Apr 2020 10:42 #165371 by tommylight
You have it wired for common 5V, but on a similar BOB i have it only works with common GND, so change that on one of the drives and do a test.
The inputs on the drive should be
step - , dir- to GND on BOB
step+ and dir+ to step and dir on BOB.
Leave enable unconnected for now.

Please Log in or Create an account to join the conversation.

More
24 Apr 2020 11:11 #165374 by bbsr_5a
the BLUE board is a NEGATIV board the greens are positiv as a BASE output
so i think your wirering is wrong

what is your Microstep on the Drivers
if you power the drivers do the steppers hold Torque

Please Log in or Create an account to join the conversation.

More
24 Apr 2020 12:52 #165384 by TnW
Tommy - When you say Step - / + is that my PUL or ENA -/+ ?

BBSR -

X - 25 microstep & 5000 pulse
Y - 25 microstep & 5000 pulse
Z - 4 microstep & 800 pulse

Current -
X - 2.5a peak
Y - 4.0a peak
Z - 4.0a peak

Yes the steppers hold the gantry from moving so they are getting some signals.

Please Log in or Create an account to join the conversation.

More
24 Apr 2020 13:04 #165385 by tommylight
step=pulse
And 5000 is not a good value, set them at 1600.
Steppers have 200 steps per revolution, so 5000 does not bode well for them.

Please Log in or Create an account to join the conversation.

More
24 Apr 2020 13:24 #165390 by Clive S
Personally I would ditch the usb power and fit a 5V power supply as well

Please Log in or Create an account to join the conversation.

More
24 Apr 2020 14:18 #165395 by TnW
Right, so I rewired as suggested by Tommy and we are getting somewhere. I had to remove all of the jumper cables and took both the Y and Z steppers out of action by removing their wiring from the BOB as well.

As it stands all we have connected is the

Step + to P2
Dir + to P3
Step - to GND
Dir - to GND

Now when I go into axis we are getting movement from the X axis but only in one direction.

The documentation that came with the machine setup recommended the opposite, Step/Dir- to P2 & P3
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
24 Apr 2020 14:23 #165396 by tommylight
Check the wiring on the dir pins as it should work now.
Just to be sure since i had a new drive lately having the exact issue, yank the connector from the x axis and plug it into the y axis and check again, only after you double check the wiring.

Please Log in or Create an account to join the conversation.

More
24 Apr 2020 16:23 #165406 by TnW
Well, we've gone from amazing to crap in a split second lol. We were almost there I think!

When I connected the X cable into the Y I only had a single direction on the Y as well so I assumed that maybe I had a bad wire and would pick this up when I rewired it all. I've rewired it all up and now nothing from any of the axis when I try. They are wired up exactly as we did the X and only had one direction. Could I have somehow fried the BOB or drivers? Im positive that everything was unplugged when I carried out the work.

The wires going into the GND are all run into connector blocks and then into the board with a single wire so I'm not trying to get 6 wires into the small block on the board. I've checked continuity between the Step/Dir- and the GND pin on the board, not just the screw terminal and that's all good. The lights on the BOB are on and the Driver lights are on and Green.

Oh, by the way, I've just been through the info I had come with the machine and they advised to set the drivers to 25 and 5000. What would be the reason for that? I'll need to change that info in my .ini file as well now wont I? Thanks for all of the help so far, I would have been stuffed without it!

Please Log in or Create an account to join the conversation.

More
24 Apr 2020 16:53 #165413 by tommylight
Just another fly in the ointment ! :)
Pictures ?
If you have a DVM, measure the voltage between GND and step/dir pins while jogging X axis from Linuxcnc, dir should change between 0 and 5V and step should have a low voltage depending on velocity, while jogging.
Personally i do not use BOB's, have plenty of them collecting dust as they have several issues, like, no isolation at all ( same as yours, only inputs are isolated), or to damn slow optocouplers to be of any use.
Also i would take out the wires from the BOB and plug them into parallel port directly to check if the drives are ok. For one axis only to be sure it works.
BTW, did you set the printer port to EPP in BIOS ? It usually works either way, but again to be sure.

Please Log in or Create an account to join the conversation.

More
24 Apr 2020 17:07 #165417 by TnW
Life's little challenges hey lol. The Mrs said that at least I will know the machine, electronics and software inside and out once its up and running, every cloud and that lol.

Thanks for the quick reply. I'm just about to leave the workshop but will double check everything tomorrow.

I did run a quick test using the Multimeter and jogged the machine in Axis. There was a voltage change when we changed direction however I only checked the Dir not the Step so I will check that tomorrow. If we are getting voltage change does that mean that the board or drivers are ok? Im confused because I didn't do anything with the Z axis and that isn't working either, makes me think its possibly the board. Im hoping its a £15 fix and not a £120 fix! Out of interest, what do you use instead of a BOB?

Also i would take out the wires from the BOB and plug them into parallel port directly to check if the drives are ok. For one axis only to be sure it works

Which pins in the cable should I be checking with that?

BTW, did you set the printer port to EPP in BIOS ? It usually works either way, but again to be sure.

99% sure I checked that it was both EPP and the other one however again, I will double check in the morning.
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

Time to create page: 0.087 seconds
Powered by Kunena Forum