- Posts: 12
- Thank you received: 0
Forum Header
Configuring A rotary axis to substitute for the Y axis
- Chris401
- Offline
- New Member
-
Less
More
7 years 9 months ago #124884
by Chris401
Replied by Chris401 on topic Configuring A rotary axis to substitute for the Y axis
Well, sure. But my problems are with the setup of the init. Wondering it I can use stepconfig or if I have to go manual to define a horizontal axis in place of the Y axis. Code and math I can handle.
- andypugh
- Offline
- Moderator
-
Less
More
- Posts: 19899
- Thank you received: 4655
7 years 9 months ago #125177
by andypugh
Replied by andypugh on topic Configuring A rotary axis to substitute for the Y axis
One way to do this might be to have two separate configs. If using trivkins in the development version then the only change you need to make is from
to
(and also change about the [AXIS_Y] and [AXIS_A] sections to get the limits correct)
I have just done a very similar change with my vertical / horizontal milling machine so that one of the INI files swaps the Y and Z axes (while keeping the joint configs identical)
Code:
[KINS]
KINEMATICS = trivkins
to
Code:
KINEMATICS = trivkins coordinates=xazy
(and also change about the [AXIS_Y] and [AXIS_A] sections to get the limits correct)
I have just done a very similar change with my vertical / horizontal milling machine so that one of the INI files swaps the Y and Z axes (while keeping the joint configs identical)
- OttoDidact
- Offline
- Junior Member
-
Less
More
- Posts: 24
- Thank you received: 3
7 years 9 months ago - 7 years 9 months ago #125178
by OttoDidact
Replied by OttoDidact on topic Configuring A rotary axis to substitute for the Y axis
I work on specific diameters 8", 12" etc.
So I calculate the circumference for a specific diameter.
Then I create a profile in stepconfig and call it "8 diameter" where I divide my rotational resolution into the circumference.
Then I create my drawing in 2D and then just launch my machine with the correct diameter profile.
I think I have 3 diameter profiles and the "Flat" one. Takes a minute to set up but they are reusable and you will probably only need a few diameters for the majority of your work.
Good luck.
So I calculate the circumference for a specific diameter.
Then I create a profile in stepconfig and call it "8 diameter" where I divide my rotational resolution into the circumference.
Then I create my drawing in 2D and then just launch my machine with the correct diameter profile.
I think I have 3 diameter profiles and the "Flat" one. Takes a minute to set up but they are reusable and you will probably only need a few diameters for the majority of your work.
Good luck.
Last edit: 7 years 9 months ago by OttoDidact. Reason: wrong word.
- andypugh
- Offline
- Moderator
-
Less
More
- Posts: 19899
- Thank you received: 4655
7 years 9 months ago #125195
by andypugh
Replied by andypugh on topic Configuring A rotary axis to substitute for the Y axis
You don't need completely separate configs. You can share your HAL, tool table etc files between INI files. Just put as many INI files as you need in the same config folder.
Just make several slightly different INI files with different steps-per-mm to suit the different diameters.
Just make several slightly different INI files with different steps-per-mm to suit the different diameters.
- dgarrett
- Offline
- Platinum Member
-
Less
More
- Posts: 492
- Thank you received: 297
7 years 9 months ago #125198
by dgarrett
You also need to make sure the number of joints is specified
correctly, example:
(Using kinstype=both is helpful in seeing what goes on
prior to homing for the axis gui)
Recommendations for consistency:
Ref: linuxcnc.org/docs/master/html/getting-st..._axes_specifications
trivkins man page:
linuxcnc.org/docs/devel/html/man/man9/trivkins.9.html
Replied by dgarrett on topic Configuring A rotary axis to substitute for the Y axis
If using trivkins in the development version then the only
change you need to make is from...
You also need to make sure the number of joints is specified
correctly, example:
Code:
[KINS]
KINEMATICS=trivkins coordinates=xazy kinstype=both
JOINTS = 4
...
(Using kinstype=both is helpful in seeing what goes on
prior to homing for the axis gui)
Recommendations for consistency:
Ref: linuxcnc.org/docs/master/html/getting-st..._axes_specifications
trivkins man page:
linuxcnc.org/docs/devel/html/man/man9/trivkins.9.html
- Chris401
- Offline
- New Member
-
Less
More
- Posts: 12
- Thank you received: 0
7 years 9 months ago #125199
by Chris401
Replied by Chris401 on topic Configuring A rotary axis to substitute for the Y axis
May try that if I am not happy with the code Vcarve pro generates for the cylindrical projects. On my config problem I punted and used the XYZA in stepconfig and just defined A to be on my normal Y driver and Y using pins not really connected to anything. Runs manually now. Naturally with a phantom Y I need to run without my limit/home switches and its has been a long time since I have run without so need to figure out how to past that now. First attempt was manually adding home_search_vel=0 to axis section and still got the “cant run MDI commen...” message.
Time to create page: 0.754 seconds