2 steppers on one axis 5i25 - 7i76
- chadrat6458
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 45
- Thank you received: 0
20 Feb 2018 02:49 #106201
by chadrat6458
2 steppers on one axis 5i25 - 7i76 was created by chadrat6458
Please Log in or Create an account to join the conversation.
20 Feb 2018 03:47 #106208
by cmorley
Replied by cmorley on topic 2 steppers on one axis 5i25 - 7i76
x tandem id the right choice - unfortunately looks like there is a bug in pncconf.
Are you using linuxcnc 2.7 ?
Chris M
Are you using linuxcnc 2.7 ?
Chris M
Please Log in or Create an account to join the conversation.
20 Feb 2018 04:22 - 20 Feb 2018 04:23 #106209
by cmorley
Replied by cmorley on topic 2 steppers on one axis 5i25 - 7i76
Well there is a small bug in the HAL file for tandem steppers but otherwise it seems to put the code in.
It wrongly sets the the control type to 0 rather then 1
I haven't tested it on a real machine though.
Maybe I'm missing something - what makes you think it doesn't work or what actually doesn't work.
Chris M
It wrongly sets the the control type to 0 rather then 1
I haven't tested it on a real machine though.
Maybe I'm missing something - what makes you think it doesn't work or what actually doesn't work.
Chris M
Last edit: 20 Feb 2018 04:23 by cmorley.
Please Log in or Create an account to join the conversation.
- chadrat6458
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 45
- Thank you received: 0
20 Feb 2018 04:30 #106210
by chadrat6458
Replied by chadrat6458 on topic 2 steppers on one axis 5i25 - 7i76
When I run the test on the Y motor, only one motor turns.
Please Log in or Create an account to join the conversation.
20 Feb 2018 04:35 #106211
by cmorley
Replied by cmorley on topic 2 steppers on one axis 5i25 - 7i76
ok IIRC I believe the test doesn't set up tandem axes at all...can you test the completed config to see if it at least works.
but you have to fix the error I mentioned.
look in the HAL file (the one that starts with the config name you picked)
look for all lines similar to this:
setp hm2_5i25.0.stepgen.03.control-type 0
change the 0 to 1
I've pushed a fix for that problem - I guess I need to look at the AXIS test next.
Chris M
but you have to fix the error I mentioned.
look in the HAL file (the one that starts with the config name you picked)
look for all lines similar to this:
setp hm2_5i25.0.stepgen.03.control-type 0
change the 0 to 1
I've pushed a fix for that problem - I guess I need to look at the AXIS test next.
Chris M
Please Log in or Create an account to join the conversation.
20 Feb 2018 04:38 #106212
by cmorley
Replied by cmorley on topic 2 steppers on one axis 5i25 - 7i76
The axis test definitely doesn't set up tandem steppers at this time- sorry
Chris M
Chris M
Please Log in or Create an account to join the conversation.
- chadrat6458
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 45
- Thank you received: 0
20 Feb 2018 04:41 #106213
by chadrat6458
Replied by chadrat6458 on topic 2 steppers on one axis 5i25 - 7i76
So create the hal and make the change?
Please Log in or Create an account to join the conversation.
20 Feb 2018 04:52 #106215
by cmorley
Replied by cmorley on topic 2 steppers on one axis 5i25 - 7i76
Yes please
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
20 Feb 2018 13:37 #106236
by Todd Zuercher
Replied by Todd Zuercher on topic 2 steppers on one axis 5i25 - 7i76
I don't think the joint test window in PNCconfig will move tandem motors together. (I'd be very surprised if they did anyhow.)
Please Log in or Create an account to join the conversation.
20 Feb 2018 18:33 #106244
by cmorley
Replied by cmorley on topic 2 steppers on one axis 5i25 - 7i76
As I said above it doesn't -but could.
Though in master it would probably be better to put effort in using joints mode to do it.
Chris M
Though in master it would probably be better to put effort in using joints mode to do it.
Chris M
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.175 seconds