Weiler E30 Lathe retrofit?
- vmihalca
- Offline
- Platinum Member
-
Less
More
- Posts: 346
- Thank you received: 22
22 Nov 2021 12:20 #227293
by vmihalca
Replied by vmihalca on topic Weiler E30 Lathe retrofit?
I would totally participate to a LinuxCNC fest! 
Hopefully when this covid ends, that will be resumed, I would love to meet other guys passionate about LinuxCNC.
Hopefully when this covid ends, that will be resumed, I would love to meet other guys passionate about LinuxCNC.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20888
- Thank you received: 7120
22 Nov 2021 13:59 #227296
by tommylight
Replied by tommylight on topic Weiler E30 Lathe retrofit?
Hi, my name is Tom and i am a LinuxCNC addict!..... I would love to meet other guys passionate about LinuxCNC.
Please Log in or Create an account to join the conversation.
- vmihalca
- Offline
- Platinum Member
-
Less
More
- Posts: 346
- Thank you received: 22
24 Nov 2021 08:58 #227481
by vmihalca
Replied by vmihalca on topic Weiler E30 Lathe retrofit?
Hi Tom, nice to meet you! 
Are you also a developer of linuxcnc?
I have made a custom UI for my lathe, built in kotlin (some kind of java on steroids), and it communicates with linuxcnc library with a JNI layer.
So far I don't know anyone who knows more low level details about linuxcnc.
If you can point me to someone, I would be grateful!
Are you also a developer of linuxcnc?
I have made a custom UI for my lathe, built in kotlin (some kind of java on steroids), and it communicates with linuxcnc library with a JNI layer.
So far I don't know anyone who knows more low level details about linuxcnc.
If you can point me to someone, I would be grateful!
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20888
- Thank you received: 7120
24 Nov 2021 09:41 #227491
by tommylight
Replied by tommylight on topic Weiler E30 Lathe retrofit?
No i am not a developer, but i love LinuxCNC since the first day due to hal and versatility it offers.
And there are plenty of members here who know much more than i do about low level stuff.
I just have a lot of experience with it testing everything i could think of.
And there are plenty of members here who know much more than i do about low level stuff.
I just have a lot of experience with it testing everything i could think of.
Please Log in or Create an account to join the conversation.
- vmihalca
- Offline
- Platinum Member
-
Less
More
- Posts: 346
- Thank you received: 22
24 Nov 2021 10:02 #227492
by vmihalca
Replied by vmihalca on topic Weiler E30 Lathe retrofit?
Awesome! Since I am building everything from gcode generators through conversational I will need to understand everything in depth, so I will need your help! Now I am trying to digest G70, G71, G72
Please Log in or Create an account to join the conversation.
- vmihalca
- Offline
- Platinum Member
-
Less
More
- Posts: 346
- Thank you received: 22
25 Nov 2021 19:42 #227582
by vmihalca
Replied by vmihalca on topic Weiler E30 Lathe retrofit?
I have ran into an issue with my lathe conversion.
I have have created a hal component from code, I have linked the 4 positions of the joystick to my pins, so I can observe in the software the state of the joystick. Then when in order to do the power feed functionality, when the joystick is moved towards Z- I issue programatically an mdi command that does "G53 G1 Z{zAxis.minLimit"}.
This will feed the axis at the set feed rate until I bring the joystick to neutral position, when I call programatically taskAbort, which stops the feeding motion. The nice thing about this is that I can easily turn chamfers, tapers (a functionality that sinumerik has), because I am calculating a destination point withing the machine bounds, based on a user entered angle, then I do an G1 towards that coordinate. This is also tested and works brilliantly.
The problem is that when I do taskAbort this also stops the spindle, not only the feeding motion. So I need to find a way to stop the feeding motion without stopping the spindle.
I am out of ideas, if you have any suggestions, please let me know...
I have have created a hal component from code, I have linked the 4 positions of the joystick to my pins, so I can observe in the software the state of the joystick. Then when in order to do the power feed functionality, when the joystick is moved towards Z- I issue programatically an mdi command that does "G53 G1 Z{zAxis.minLimit"}.
This will feed the axis at the set feed rate until I bring the joystick to neutral position, when I call programatically taskAbort, which stops the feeding motion. The nice thing about this is that I can easily turn chamfers, tapers (a functionality that sinumerik has), because I am calculating a destination point withing the machine bounds, based on a user entered angle, then I do an G1 towards that coordinate. This is also tested and works brilliantly.
The problem is that when I do taskAbort this also stops the spindle, not only the feeding motion. So I need to find a way to stop the feeding motion without stopping the spindle.
I am out of ideas, if you have any suggestions, please let me know...
Please Log in or Create an account to join the conversation.
- d2inventory
- Offline
- Senior Member
-
Less
More
- Posts: 41
- Thank you received: 10
26 Nov 2021 04:02 #227616
by d2inventory
Replied by d2inventory on topic Weiler E30 Lathe retrofit?
can't you just set the feed rate to 0?
Please Log in or Create an account to join the conversation.
- vmihalca
- Offline
- Platinum Member
-
Less
More
- Posts: 346
- Thank you received: 22
26 Nov 2021 22:06 #227693
by vmihalca
Replied by vmihalca on topic Weiler E30 Lathe retrofit?
That seems to work.
I am now trying to figure out why in G95, it feeds even without the spindle being on.
motion.spindle-speed-in is connected, also spindle at speed is connected.
G95 - is Units per Revolution Mode In units per revolution mode, an F word is interpreted to mean the controlled point should move a certain number of inches per revolution of the spindle, depending on what length units are being used and which axis or axes are moving. G95 is not suitable for threading, for threading use G33 or G76. G95 requires that motion.spindle-speed-in to be connected.
I am now trying to figure out why in G95, it feeds even without the spindle being on.
motion.spindle-speed-in is connected, also spindle at speed is connected.
G95 - is Units per Revolution Mode In units per revolution mode, an F word is interpreted to mean the controlled point should move a certain number of inches per revolution of the spindle, depending on what length units are being used and which axis or axes are moving. G95 is not suitable for threading, for threading use G33 or G76. G95 requires that motion.spindle-speed-in to be connected.
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 19680
- Thank you received: 4560
30 Nov 2021 22:04 #228073
by andypugh
Why not just link the joystick to the halui.axis.X.plus / minus and halui.axis.Z.plus / minus HAL pins?
Replied by andypugh on topic Weiler E30 Lathe retrofit?
That seems like a slightly crazy way to do it!I have have created a hal component from code, I have linked the 4 positions of the joystick to my pins, so I can observe in the software the state of the joystick. Then when in order to do the power feed functionality, when the joystick is moved towards Z- I issue programatically an mdi command that does "G53 G1 Z{zAxis.minLimit"}.
Why not just link the joystick to the halui.axis.X.plus / minus and halui.axis.Z.plus / minus HAL pins?
Please Log in or Create an account to join the conversation.
- vmihalca
- Offline
- Platinum Member
-
Less
More
- Posts: 346
- Thank you received: 22
01 Dec 2021 07:30 #228096
by vmihalca
Replied by vmihalca on topic Weiler E30 Lathe retrofit?
Hi Andy,
By using halui.axis.Z.plus/minus, can I achieve feed per rev?
The machine would still be in manual mode, so mpg's would be active.
Also the sinumerik had taper turning, when you were toggling a button on the controller, and when taper turning was active, actuating the joystick would move both axes so that it would cut a taper.
I have achieved all that functionality with my implementation and it seems to work so far.
I think the nicest way of obtaining this would be with a custom component, but I don't have enough c/c++ skills for that.
I am now trying to figure out Constant surface speed mode.
When G96 D2500 S250 is active, should the spindle accelerate/decelerate when jogging the X axis with the MPG?
By using halui.axis.Z.plus/minus, can I achieve feed per rev?
The machine would still be in manual mode, so mpg's would be active.
Also the sinumerik had taper turning, when you were toggling a button on the controller, and when taper turning was active, actuating the joystick would move both axes so that it would cut a taper.
I have achieved all that functionality with my implementation and it seems to work so far.
I think the nicest way of obtaining this would be with a custom component, but I don't have enough c/c++ skills for that.
I am now trying to figure out Constant surface speed mode.
When G96 D2500 S250 is active, should the spindle accelerate/decelerate when jogging the X axis with the MPG?
Please Log in or Create an account to join the conversation.
Time to create page: 0.086 seconds