Tandem Axis on 2.8
11 Aug 2020 20:50 - 11 Aug 2020 20:50 #177944
by NB70
Tandem Axis on 2.8 was created by NB70
I was running my 3 axis router linuxcnc 2.7 on Debian Wheezy with 1 stepper motor per axis.
I've replaced it with a new router which has a tandem X-axis - but kept the same control system (using Mesa 5i25 + 7i76 card combo) adding one more stepper drive. I've upgraded the PC to Debian Stretch & linuxcnc 2.8 to use the gantry squaring feature.
I used Pncconf to generate the HAL & INI files. The Z & Y axes home and jog properly but I can't get the tandem X to move or home. When I click "home all" in the Axis GUI the DRO for X changes as if the axis was moving but there is no actual movement.
I've attached my HAL & INI files & would be grateful if anyone could point out anything I have overlooked or done wrong. These files are as generated by Pncconf - except I deleted "kinstype=both" from the following line:
Thanks for your help,
Nathan
I've replaced it with a new router which has a tandem X-axis - but kept the same control system (using Mesa 5i25 + 7i76 card combo) adding one more stepper drive. I've upgraded the PC to Debian Stretch & linuxcnc 2.8 to use the gantry squaring feature.
I used Pncconf to generate the HAL & INI files. The Z & Y axes home and jog properly but I can't get the tandem X to move or home. When I click "home all" in the Axis GUI the DRO for X changes as if the axis was moving but there is no actual movement.
I've attached my HAL & INI files & would be grateful if anyone could point out anything I have overlooked or done wrong. These files are as generated by Pncconf - except I deleted "kinstype=both" from the following line:
KINEMATICS = trivkins coordinates=XXYZ
Thanks for your help,
Nathan
Last edit: 11 Aug 2020 20:50 by NB70.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19219
- Thank you received: 6440
11 Aug 2020 21:21 #177949
by tommylight
Replied by tommylight on topic Tandem Axis on 2.8
From a quick glance i can not find anything wrong with the files, but there are some things you can change to make sure the drives will work properly, like setting the step space and step length to 5000, although if you are using the same drives for all axis it should work as is.
Just to be sure, the X drive should be wired to TB2 pins 1 to 6 and X2 drive should be wired to TB2 pins 19 to 24.
Just to be sure, the X drive should be wired to TB2 pins 1 to 6 and X2 drive should be wired to TB2 pins 19 to 24.
The following user(s) said Thank You: NB70
Please Log in or Create an account to join the conversation.
12 Aug 2020 16:12 - 12 Aug 2020 16:16 #178042
by NB70
Replied by NB70 on topic Tandem Axis on 2.8
Many thanks Tommy - that worked!
I changed step space and step length to 5000 - the drives are DM542T.
Strangely the old shorter settings for step space & length worked when I tried a dummy configuration with one motor per axis (XYZA) - but not when two motors were in tandem.
So I can confirm that the PnCConf generated HAL & INI files worked perfectly without any further editing required.
Nathan
I changed step space and step length to 5000 - the drives are DM542T.
Strangely the old shorter settings for step space & length worked when I tried a dummy configuration with one motor per axis (XYZA) - but not when two motors were in tandem.
So I can confirm that the PnCConf generated HAL & INI files worked perfectly without any further editing required.
Nathan
Last edit: 12 Aug 2020 16:16 by NB70.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19219
- Thank you received: 6440
12 Aug 2020 19:10 #178051
by tommylight
Replied by tommylight on topic Tandem Axis on 2.8
Nice, thanks for reporting back.
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.067 seconds