Newbie migrating a gantry from Mach3 to LinuxCNC
- phillc54
- Offline
- Platinum Member
Less
More
- Posts: 5714
- Thank you received: 2090
27 Oct 2019 03:43 #148861
by phillc54
Replied by phillc54 on topic Newbie migrating a gantry from Mach3 to LinuxCNC
There has been some work done on RTAI for stretch here. forum.linuxcnc.org/9-installing-linuxcnc...tem-with-rtai#141040
Please Log in or Create an account to join the conversation.
- Bats
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 55
- Thank you received: 7
27 Oct 2019 04:08 #148862
by Bats
Replied by Bats on topic Newbie migrating a gantry from Mach3 to LinuxCNC
It smells a little experimentalish, and looks like it'll need a full hard drive install rather than running on the live USB, but I may give it a whirl if I'm feeling particularly ambitious (but not quite ambitious enough to replace my brake pads) tomorrow.
Somehow, though, it looks like midnight snuck up on me, so it's probably time to call it a night.
Thanks (everyone) for the help... but don't go away yet! I'm nothing if not helpless!
-Bats
Somehow, though, it looks like midnight snuck up on me, so it's probably time to call it a night.
Thanks (everyone) for the help... but don't go away yet! I'm nothing if not helpless!
-Bats
Please Log in or Create an account to join the conversation.
- Mike_Eitel
- Offline
- Platinum Member
Less
More
- Posts: 1125
- Thank you received: 184
27 Oct 2019 08:25 #148866
by Mike_Eitel
Replied by Mike_Eitel on topic Newbie migrating a gantry from Mach3 to LinuxCNC
Just buy one of the cheepo ssd (20-30$) and give it a try.
M5C
M5C
Please Log in or Create an account to join the conversation.
- pl7i92
- Offline
- Platinum Member
Less
More
- Posts: 1875
- Thank you received: 354
27 Oct 2019 11:35 #148873
by pl7i92
Replied by pl7i92 on topic Newbie migrating a gantry from Mach3 to LinuxCNC
you can also use a sdandard Harddrive at 250GB even a 80Gb will give you a good value
its all about best to get on low money
and you can run your linuxcnc and windows on one system
its all about best to get on low money
and you can run your linuxcnc and windows on one system
Please Log in or Create an account to join the conversation.
- Mike_Eitel
- Offline
- Platinum Member
Less
More
- Posts: 1125
- Thank you received: 184
27 Oct 2019 12:55 #148878
by Mike_Eitel
Replied by Mike_Eitel on topic Newbie migrating a gantry from Mach3 to LinuxCNC
Speed up through ssd of old pc is remarkable.
Please Log in or Create an account to join the conversation.
- toplakd
- Offline
- Senior Member
Less
More
- Posts: 49
- Thank you received: 7
27 Oct 2019 13:28 #148879
by toplakd
Replied by toplakd on topic Newbie migrating a gantry from Mach3 to LinuxCNC
SSD's are so cheap this days.
Just bought one for my LinuxCNC machine yesterday for 23€ (about 25$) - 128Gb
Just bought one for my LinuxCNC machine yesterday for 23€ (about 25$) - 128Gb
Please Log in or Create an account to join the conversation.
- Bats
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 55
- Thank you received: 7
27 Oct 2019 19:11 #148917
by Bats
Replied by Bats on topic Newbie migrating a gantry from Mach3 to LinuxCNC
Meh. No interest in paying or waiting for shipping when I've still got piles of old 15-20GB IDE drives lying around that'll work well enough for testing. New drives can wait until I know what works.
Although... drive speed shouldn't have an appreciable impact on latency in an RT kernel, should it?
-Bats
Although... drive speed shouldn't have an appreciable impact on latency in an RT kernel, should it?
-Bats
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19526
- Thank you received: 6553
27 Oct 2019 20:47 #148930
by tommylight
Replied by tommylight on topic Newbie migrating a gantry from Mach3 to LinuxCNC
HDD use DMA and IRQ (Direct Memory Access and Interrupt Request), so yes they do have a lot of impact on latency. SSD are so quick that you will never notice, ever.
Although... drive speed shouldn't have an appreciable impact on latency in an RT kernel, should it?
-Bats
Please Log in or Create an account to join the conversation.
- Bats
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 55
- Thank you received: 7
28 Oct 2019 00:17 #148946
by Bats
Replied by Bats on topic Newbie migrating a gantry from Mach3 to LinuxCNC
Hrm... I was always under the impression that - at least in the case of something like linuxcnc - the whole point of an RTOS and its hardware abstraction was to allow things like that to be (for lack of a more accurate term) prioritized out of the way of the realtimey tasks. Every discussion of latency I've run into in the docs talks about motherboard & CPU, and occasionally onboard vs discrete GPUs, but never brings up drive speed or technology as a relevant factor.
In general use, obviously any but the slowest SSD makes a world of difference over all but the fastest SATA drives, which in turn blow away the sort of decrepit old ATA/66 IDE clunkers in my spares bin, but how significant is it in real terms to linuxcnc? And is it actually likely to cause any difference in testing between the RTAI and Preempt-RT kernels?
I suppose I should probably also specify that, while the box isn't an absolutely dedicated CNC controller (it is likely to see use as a web browser during downtime), it's very much a one-task-at-a-time system. I'm not the sort who starts up a 10hr CNC job and then expects to the machine to pop open a new window to listen to some tunes, watch a bit of Netflix, play Fortnite (yikes!), or, for that matter, even opens a text editor or calculator on the same machine. That's what the machines that do have SSDs are for.
-Bats
In general use, obviously any but the slowest SSD makes a world of difference over all but the fastest SATA drives, which in turn blow away the sort of decrepit old ATA/66 IDE clunkers in my spares bin, but how significant is it in real terms to linuxcnc? And is it actually likely to cause any difference in testing between the RTAI and Preempt-RT kernels?
I suppose I should probably also specify that, while the box isn't an absolutely dedicated CNC controller (it is likely to see use as a web browser during downtime), it's very much a one-task-at-a-time system. I'm not the sort who starts up a 10hr CNC job and then expects to the machine to pop open a new window to listen to some tunes, watch a bit of Netflix, play Fortnite (yikes!), or, for that matter, even opens a text editor or calculator on the same machine. That's what the machines that do have SSDs are for.
-Bats
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23178
- Thank you received: 4862
28 Oct 2019 00:39 #148949
by andypugh
Replied by andypugh on topic Newbie migrating a gantry from Mach3 to LinuxCNC
55k latency means that software stepping will only really be good to 10kHz.
But 10kHz spins a stepper fairly fast.
I think I would suggest installing from the stretch / preempt live image, then using the buildbot to get 2.8.
Then see if stepconf understands gantries in 2.8. (If it doesn't then the config changes are not that hard if the files are in 2.8 format.)
But 10kHz spins a stepper fairly fast.
I think I would suggest installing from the stretch / preempt live image, then using the buildbot to get 2.8.
Then see if stepconf understands gantries in 2.8. (If it doesn't then the config changes are not that hard if the files are in 2.8 format.)
Please Log in or Create an account to join the conversation.
Time to create page: 0.081 seconds