- Posts: 27
- Thank you received: 0
Bridgeport Boss original drives
9 years 9 months ago #85154
by AThayer
Bridgeport Boss original drives was created by AThayer
I am trying to convert a Boss 5 to use linuxcnc. The drives use quadrature drive. I have a Parallel breakout board. Anyone doing this?What does your hal look like? I can get the stepper motor to make a little noise when I first try to jog the axis. I was wondering if the on time of the pulse is wrong for the drives. Any ideas and or help. Thanks
Please Log in to join the conversation.
9 years 9 months ago #85162
by andypugh
Replied by andypugh on topic Bridgeport Boss original drives
Have you set the step generator to quadrature mode?
There is no such thing as a fixed on-time for quadrature.
There is no such thing as a fixed on-time for quadrature.
Please Log in to join the conversation.
9 years 9 months ago #85165
by AThayer
Replied by AThayer on topic Bridgeport Boss original drives
Yes does anyone have a hal file I can see.
Please Log in to join the conversation.
9 years 9 months ago #85175
by AThayer
Replied by AThayer on topic Bridgeport Boss original drives
I'm wondering what a Hal file would look like. Can anyone explain block diagram in following?
linuxcnc.org/docs/2.5/html/hal/rtcomps.h...stepgen_step_types_a
Please Log in to join the conversation.
9 years 9 months ago #85176
by andypugh
Replied by andypugh on topic Bridgeport Boss original drives
The HAL would look almost identical to any other stepper HAL file, the only difference will be:
loadrt stepgen step_type=2,2,2 ctrl_type=p,p,p
(from linuxcnc.org/docs/2.7/html/man/man9/stepgen.9.html )
loadrt stepgen step_type=2,2,2 ctrl_type=p,p,p
(from linuxcnc.org/docs/2.7/html/man/man9/stepgen.9.html )
Please Log in to join the conversation.
9 years 9 months ago #85226
by AThayer
Replied by AThayer on topic Bridgeport Boss original drives
I see based on that document that steplen does work with quadrature output. So how can I use halscope to see the waveform of the output?
Please Log in to join the conversation.
9 years 9 months ago #85232
by andypugh
It can't. If the pulses are a fixed length then it can't possibly be quadrature.
The HAL parameter will still exist but shouldn't have any effect.
You should be able to see the actual waveform on the parallel port pins in Halscope, and also on the stepgen output pins. (and if they don't show exactly the same thing, that might be the problem).
Replied by andypugh on topic Bridgeport Boss original drives
AThayer wrote: I see based on that document that steplen does work with quadrature output
It can't. If the pulses are a fixed length then it can't possibly be quadrature.
The HAL parameter will still exist but shouldn't have any effect.
You should be able to see the actual waveform on the parallel port pins in Halscope, and also on the stepgen output pins. (and if they don't show exactly the same thing, that might be the problem).
Please Log in to join the conversation.
9 years 9 months ago #85236
by AThayer
Replied by AThayer on topic Bridgeport Boss original drives
OK my understanding is I need two square waves that are 90 degrees out of phase to one another. I was looking at controlling the length that the pulse is on and off. Also I'm trying to find code to do this with arduino for testing purposes.
Please Log in to join the conversation.
9 years 9 months ago #85238
by andypugh
Replied by andypugh on topic Bridgeport Boss original drives
Not exactly. Quadrature pulses look like
00
01
11
10
00
And so on. Every time you want a step you advance through the sequence.
It's a good way to control a drive, as you only need a single transition on one channel to signal a step, whereas step/dir needs two transitions.
00
01
11
10
00
And so on. Every time you want a step you advance through the sequence.
It's a good way to control a drive, as you only need a single transition on one channel to signal a step, whereas step/dir needs two transitions.
Please Log in to join the conversation.
Time to create page: 0.126 seconds
