Bridgeport Boss original drives

More
9 years 9 months ago #85232 by andypugh

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 or Create an account to join the conversation.

More
9 years 9 months ago #85236 by AThayer
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 or Create an account to join the conversation.

More
9 years 9 months ago #85238 by andypugh
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.

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

More
9 years 9 months ago #85241 by AThayer
So what controls on long each phase is on or off?

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

More
9 years 9 months ago #85242 by andypugh

AThayer wrote: So what controls on long each phase is on or off?


How fast you are moving.

The pattern is also related to how the phases of the stepper motor are energised.

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

More
9 years 9 months ago #85243 by AThayer
I can't get the axis to move at all.

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

Moderators: PCW, jmelson
Time to create page: 0.132 seconds
Powered by Kunena Forum