×
Forum Header
Mach3 XML and Stepconfig issues.
24 Apr 2017 17:26 #91982
by tecno
Replied by tecno on topic Mach3 XML and Stepconfig issues.
Still pulsating that you can hear by ear.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
24 Apr 2017 17:26 #91983
by Todd Zuercher
Replied by Todd Zuercher on topic Mach3 Xhttps://forum.linuxcnc.org/16-stepconf-wizard/32ML and Stepconfig issues.
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
For your direction signal replace this line.
net spindle-ccw <= stepgen.2.dir
with
net spindle-ccw <= motion.spindle-reverse
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
24 Apr 2017 17:28 #91984
by Todd Zuercher
Replied by Todd Zuercher on topic Mach3 Xhttps://forum.linuxcnc.org/16-stepconf-wizard/32ML and Stepconfig issues.
Is is still pulsing using the type-2 stepgen and the phase-a signal?
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
24 Apr 2017 17:30 #91985
by Todd Zuercher
Replied by Todd Zuercher on topic Mach3 Xhttps://forum.linuxcnc.org/16-stepconf-wizard/32ML and Stepconfig issues.
You'd also need to change this pin
net spindle-cw <= stepgen.2.step
to
net spindle-cw <= stepgen.2.phase-A
net spindle-cw <= stepgen.2.step
to
net spindle-cw <= stepgen.2.phase-A
Please Log in or Create an account to join the conversation.
24 Apr 2017 17:30 #91986
by tecno
Replied by tecno on topic Mach3 Xhttps://forum.linuxcnc.org/16-stepconf-wizard/32ML and Stepconfig issues.
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 or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
24 Apr 2017 17:33 #91987
by Todd Zuercher
Replied by Todd Zuercher on topic Mach3 Xhttps://forum.linuxcnc.org/16-stepconf-wizard/32ML and Stepconfig issues.
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
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 or Create an account to join the conversation.
24 Apr 2017 17:35 #91988
by tecno
Replied by tecno on topic Mach3 Xhttps://forum.linuxcnc.org/16-stepconf-wizard/32ML and Stepconfig issues.
Will go down and test that, thanks Todd.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
24 Apr 2017 17:39 #91989
by Todd Zuercher
Replied by Todd Zuercher on topic Mach3 Xhttps://forum.linuxcnc.org/16-stepconf-wizard/32ML and Stepconfig issues.
oh, and comment out these 3
#setp stepgen.2.steplen 250000
#setp stepgen.2.stepspace 250000
#setp stepgen.2.dirdelay 35000
#setp stepgen.2.steplen 250000
#setp stepgen.2.stepspace 250000
#setp stepgen.2.dirdelay 35000
Please Log in or Create an account to join the conversation.
24 Apr 2017 17:45 #91990
by tecno
Replied by tecno on topic Mach3 Xhttps://forum.linuxcnc.org/16-stepconf-wizard/32ML and Stepconfig issues.
Still acting as a bad two-stroke.
Please Log in or Create an account to join the conversation.
24 Apr 2017 17:50 #91992
by andypugh
Replied by andypugh on topic Mach3 Xhttps://forum.linuxcnc.org/16-stepconf-wizard/32ML and Stepconfig issues.
Can you look a the parport pin with the halscope again? We should be seeing a 50% square-wave now.
Please Log in or Create an account to join the conversation.
Time to create page: 0.085 seconds