Forum Header

Mach3 XML and Stepconfig issues.

More
9 years 6 months ago #91982 by tecno
Still pulsating that you can hear by ear.

Please Log in to join the conversation.

More
9 years 6 months ago #91983 by Todd Zuercher
The more I think about it Andy is probably right (he usually is). The chip you are using for your analog conversion is made for converting an encoder signal. So it is expecting the step length and step spacing to be equal.

For your direction signal replace this line.
net spindle-ccw <= stepgen.2.dir
with
net spindle-ccw <= motion.spindle-reverse

Please Log in to join the conversation.

More
9 years 6 months ago #91984 by Todd Zuercher
Is is still pulsing using the type-2 stepgen and the phase-a signal?

Please Log in to join the conversation.

More
9 years 6 months ago #91985 by Todd Zuercher
You'd also need to change this pin
net spindle-cw <= stepgen.2.step
to
net spindle-cw <= stepgen.2.phase-A

Please Log in to join the conversation.

More
9 years 6 months ago #91986 by tecno
All settings as per your recommendations I can start spindle, Andy's phase = nothing as I have to edit out several lines to get LCNC started.

Please Log in to join the conversation.

More
9 years 6 months ago #91987 by Todd Zuercher
You should only need to change 3 lines
loadrt stepgen step_type=0,0,1 ctrl_type=p,p,v
net spindle-cw <= stepgen.2.step
net spindle-ccw <= stepgen.2.dir
to
loadrt stepgen step_type=0,0,2 ctrl_type=p,p,v
net spindle-cw <= stepgen.2.phase-A
net spindle-ccw <= motion.spindle-reverse

Please Log in to join the conversation.

More
9 years 6 months ago #91988 by tecno
Will go down and test that, thanks Todd.

Please Log in to join the conversation.

More
9 years 6 months ago #91989 by Todd Zuercher
oh, and comment out these 3
#setp stepgen.2.steplen 250000
#setp stepgen.2.stepspace 250000
#setp stepgen.2.dirdelay 35000

Please Log in to join the conversation.

More
9 years 6 months ago #91990 by tecno
Still acting as a bad two-stroke.

Please Log in to join the conversation.

More
9 years 6 months ago #91992 by andypugh
Can you look a the parport pin with the halscope again? We should be seeing a 50% square-wave now.

Please Log in to join the conversation.

Time to create page: 0.092 seconds
Powered by Kunena Forum