New to LinuxCNC - Trying to add a PPort card and get LinuxCNC to start
- tommylight
- Away
- Moderator
Less
More
- Posts: 19209
- Thank you received: 6438
24 Apr 2020 10:42 #165371
by tommylight
Replied by tommylight on topic New to LinuxCNC - Trying to add a PPort card and get LinuxCNC to start
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.
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.
24 Apr 2020 11:11 #165374
by bbsr_5a
Replied by bbsr_5a on topic New to LinuxCNC - Trying to add a PPort card and get LinuxCNC to start
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
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.
24 Apr 2020 12:52 #165384
by TnW
Replied by TnW on topic New to LinuxCNC - Trying to add a PPort card and get LinuxCNC to start
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.
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.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19209
- Thank you received: 6438
24 Apr 2020 13:04 #165385
by tommylight
Replied by tommylight on topic New to LinuxCNC - Trying to add a PPort card and get LinuxCNC to start
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.
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.
24 Apr 2020 13:24 #165390
by Clive S
Replied by Clive S on topic New to LinuxCNC - Trying to add a PPort card and get LinuxCNC to start
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.
24 Apr 2020 14:18 #165395
by TnW
Replied by TnW on topic New to LinuxCNC - Trying to add a PPort card and get LinuxCNC to start
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
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.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19209
- Thank you received: 6438
24 Apr 2020 14:23 #165396
by tommylight
Replied by tommylight on topic New to LinuxCNC - Trying to add a PPort card and get LinuxCNC to start
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.
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.
24 Apr 2020 16:23 #165406
by TnW
Replied by TnW on topic New to LinuxCNC - Trying to add a PPort card and get LinuxCNC to start
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!
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.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19209
- Thank you received: 6438
24 Apr 2020 16:53 #165413
by tommylight
Replied by tommylight on topic New to LinuxCNC - Trying to add a PPort card and get LinuxCNC to start
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.
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.
24 Apr 2020 17:07 #165417
by TnW
Replied by TnW on topic New to LinuxCNC - Trying to add a PPort card and get LinuxCNC to start
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.
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