switching from parport to mesa 7i96 -- check my assumptions

More
18 Mar 2025 16:23 #324214 by pgf
I'd like to eliminate my dependence on the "mill PC", which is still running Wheezy and some ancient LinuxCNC release.  So I'm considering a 7i96, so I can do things across the network.  But to be sure I'm not blind-sided by some bad assumption, a couple of questions:

I have custom code in the servo-thread currently.  (My X/Y axes aren't square, and the code corrects for that.)  Will this continue working, i.e., does that part of motion control remain in linuxcnc, and not in the 7i96?

Will I still need a real-time kernel?  Can I run linuxcnc from...  anything?  My laptop?

Will things like surface probing, and probed touch-off, still work, assuming the right configuration of a couple of the 7i96 inputs?

Anything else I should know about this transition?

paul

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
18 Mar 2025 17:06 #324216 by tommylight

I have custom code in the servo-thread currently.  (My X/Y axes aren't square, and the code corrects for that.)  Will this continue working, i.e., does that part of motion control remain in linuxcnc, and not in the 7i96?

Yes.

Will I still need a real-time kernel?  Can I run linuxcnc from...  anything?  My laptop?

Yes, yes, yes and no, meaning yes you can run a laptop and no as they usually cause issues with latency due to inherent power saving options built into them. You can always try...

Will things like surface probing, and probed touch-off, still work, assuming the right configuration of a couple of the 7i96 inputs?

Yes.

Anything else I should know about this transition?

Again yes and no, yes it will be new experience and it is fairly easy if you can follow directions, and no you do not need anything else to actually start working on it, it is much easier to learn as you do stuff.
The following user(s) said Thank You: pgf

Please Log in or Create an account to join the conversation.

More
18 Mar 2025 17:17 #324217 by pgf
Thanks!

I guess I'm a little confused about the real-time part. Somehow I thought going to a Mesa board would eliminate the need for doing jitter and latency tests and measurements. Sounds like all it's doing is letting me locate the PC some distance from the mill. If the PC still has real-time constraints, are there constraints on the network as well? Can the ethernet be a shared network, or must it be point to point?

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
18 Mar 2025 18:05 #324218 by tommylight
Real time kernel is a must for all machines, no matter how it is implemented things need to be done in time.
Yes you need real time kernel for mesa, yes it has to be connected directly to controlling PC (it also works through switches but i would not use for production machines) and absolutely not on a shared network due to switch latency when loaded, and latency is not so strict as for parallel port when using mesa, even 200000 latency can be usable.
Parallel port = software step generation on the PC
Mesa boards = hardware step generation on the board
The following user(s) said Thank You: pgf

Please Log in or Create an account to join the conversation.

More
18 Mar 2025 20:08 #324226 by pgf
Thank you. I was clearly fantasizing that the mesa card would give me the power of linuxcnc and the ease of deployment of grbl. Silly me. :-)

Please Log in or Create an account to join the conversation.

More
18 Mar 2025 21:22 #324231 by unknown
The hardest part of working with the parallel port is getting the latency down as you have 2 threads going and the fact the base thread is usually 25000 ns for decent stepper speed .
With a mesa setup you only need a servo thread running at 1ms. Getting the latency right is far less work, usually it's good right out of the box. You'll find you machine moves more smoothly, due to the stepper signals being generated by hardware.
It's all plus plus, mesa is well supported on the forum, Pete is an absolute gent, mesa products are rock solid and quite expandable via their Smart serial interface.
I know most people on the forum will recommend Mesa, but the thing is they are that good.
The following user(s) said Thank You: pgf, tommylight

Please Log in or Create an account to join the conversation.

More
19 Mar 2025 01:08 #324246 by pgf
That's all excellent to hear. I pulled the trigger and ordered one this afternoon, after I realized that my mill PC was not only out of date by years, but also not upgradeable, since it's a 32-bit machine. I have a spare RPi 4 that I'll try with the 7i96. If I'm not happy with that (unlikely), I'll pick up a used small form-factor PC.

paul

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
19 Mar 2025 02:03 #324251 by tommylight
You can still use 32Bit PC's, there are older LinuxCNC ISO's still available for download so give it a try
I think this is the latest 32Bit version
www.linuxcnc.org/iso/linuxcnc-2.7.14-wheezy.iso
And if it is even older, here are the some more to try
www.linuxcnc.org/iso/ubuntu-10.04-linuxcnc3-i386.iso
www.linuxcnc.org/iso/ubuntu-8.04-desktop-emc2-aj13-i386.iso
They all work from USB without installing them, so you can actually run machines from the USB, granted the PC can boot from USB, and most can, from ~2000
The following user(s) said Thank You: pgf

Please Log in or Create an account to join the conversation.

More
19 Mar 2025 02:21 #324253 by unknown
RPi4 will be cool (as much as learned colleague Tommy isn't a fan ), but I would do this slight mod to the image, sorry I missed this when creating it, any other issues blame me. One user had an issue with GMOCCAPY locking up after a period of idleness.
If it was a choice between buying an RPi (5 would be the best choice out of the lot) I'd recommend as SFF pc, better bang for buck.
forum.linuxcnc.org/9-installing-linuxcnc...only?start=30#322251

If it was a choice between buying an RPi (5 would be the best choice out of the lot, blazingly fast with an NVME drive) I'd recommend a 64 bit PC platform, 3rd gen I5 is fine, as they are better bang for buck compared to a RPi.

Actually the whole thread is a jolly good read and tries to answer a lot. If you have an other questions be sure to add to the thread.

Does Mesa ethernet work with the RTAI kernel or just RT_PREEMPT ?

Please Log in or Create an account to join the conversation.

More
19 Mar 2025 02:23 #324254 by unknown
Would the 2.7.x version support a 7i96 ?

Please Log in or Create an account to join the conversation.

Time to create page: 0.080 seconds
Powered by Kunena Forum