Advanced Search

Search Results (Searched for: )

  • COFHAL
  • COFHAL
09 May 2025 01:54
Replied by COFHAL on topic mesa 7i73 4x8 keypad problems on KEY8 input

mesa 7i73 4x8 keypad problems on KEY8 input

Category: Driver Boards

I really don't know. I bought my card about 3 years ago and I was just curious to know how to update the firmware directly, because as far as I understood, it doesn't work the way other MESA cards load firmware.
  • tommylight
  • tommylight's Avatar
09 May 2025 01:16
Replied by tommylight on topic Real Time and Latency

Real Time and Latency

Category: Computers and Hardware

EMC2 was 15 years ago, i think, LinuxCNC now.
Latency is very important on machines requiring precision timing controls, that is the important part.
As for your "If the commands are given slowly, then no negative factors should arise, except for the unproductive loss of time. Even within a week - the machine will still cut out the part described to it.", that is not correct for LinuxCNC as it points to the wrong direction of the process and totally misses the point of timing, namely timing is not how long it takes to finish a part, it is how long it takes before a signal missed the correct time to be issued/executed, and this is something that can not wait as it would cause other signals to be delayed or missed completely causing as a result a machine crash.
As far as i understand your view is from the GRBL/Gcode sender point of view as they send gcode line by line, LinuxCNC will run the whole gcode as soon as you open it and will have the trajectory planner already planed and ready all the moves up front in memory, and patiently wait for the run command to start controlling the hardware.
The confusion mostly is as a result of to many "internet experts" making a big deal of latency, it is not "the big bad wolf" for sure, it just depends on what you need and finding a PC that is not terrible at it.
In general, for software stepping using parallel port, anything under 100000 in latency can be used, but might limit the top speed depending on the microstepping used on the drives. There are plenty of industrial machines using parallel port, so it is very reliable.
For use with Mesa boards, even 200000-300000 latency can be used, as long as there are no big excursions.
In, short, skip latency and start building the machine, out of over 150 PC's i have tested, probably some 4 or 5 were unusable. I mostly use old "Enterprise" PC's like Dell, HP, Fujitsu and Lenovo.
  • PCW
  • PCW's Avatar
09 May 2025 01:11

mesa 7i73 4x8 keypad problems on KEY8 input

Category: Driver Boards

What version do you have?
 
  • COFHAL
  • COFHAL
09 May 2025 00:57
Replied by COFHAL on topic mesa 7i73 4x8 keypad problems on KEY8 input

mesa 7i73 4x8 keypad problems on KEY8 input

Category: Driver Boards

How do I update the firmware on the 7i73? Through which port?
  • ogogon
  • ogogon's Avatar
08 May 2025 23:35
Real Time and Latency was created by ogogon

Real Time and Latency

Category: Computers and Hardware

Colleagues, I once selected a platform for installing LinuxCNC. I measured the time parameters of different computers. I tried several different models. The fifth one was suitable. I brought it from another city.

Later, I thought about the technical meaning of what was happening and realized that I had some misunderstanding at the general level. You could say at the philosophical level.

The EMC2 program communicates with stepper motor controllers via a discrete interface. It can transmit only one command - "Take a step!" The command has only one parameter - "Step direction", forward or backward. The straight line or curve along which the machine tool needs to be moved is approximated into separate steps, with an accuracy of up to the real linear value of the step or microstep of this axis. Commands for performing steps are given sequentially.

Thus, due to the discreteness of all these events, the time parameters do not determine anything - only the correct sequence of performing the calculated steps is important. Of course, if the commands are given too quickly, and the stepper motor with actuators will not keep up, then it is possible that some of the commands from the sequence will not be executed due to the lack of speed of the mechanical components.

If the commands are given slowly, then no negative factors should arise, except for the unproductive loss of time. Even within a week - the machine will still cut out the part described to it.

Why then, are the parameters of real time and delays given such importance? What can they affect?

I am grateful for the answers to the point.
Ogogon.
  • CallumRD1
  • CallumRD1
08 May 2025 22:22
Replied by CallumRD1 on topic G-code file loading at G53 instead of G54

G-code file loading at G53 instead of G54

Category: Qtvcp

I'm sorry, I'm very confused by all of this. I have thousands of hours on a Tormach running Path Pilot, but this isn't behaving in a similar way.

The GUI G54 location set in the GUI at the bottom of the last screenshot isn't reflected in the offset tables. The display of the work envelope shows my G54 origin moving if I jog and hit the G54 zero GUI buttons, but the offsets table doesn't change. How is the offsets table supposed to be configured? In my screenshot, the Z column of the offsets table has values 1-12 in it, but I don't know where those came from or why they're there.
  • unknown
  • unknown
08 May 2025 22:12
Replied by unknown on topic Which kernel version is best for real time?

Which kernel version is best for real time?

Category: General LinuxCNC Questions

Yes there are some changes to the 6.x series kernel. A couple of months ago there was a long thread regarding building the newer kernels. You would be best to search for that thread and read it, pay special attention to the posts by royka. His advice was crucial in building the RPi5 & RPi4 for the Linuxcnc images.

You have to make sure that you select the proper RT kernel in the config.
Some kernel require a patch so that Linuxcnc recognises that there is a RT kernel running.

The kernel provided with the 2.9.5 iso works, is stable and is in use by many users with no issues.
  • unknown
  • unknown
08 May 2025 22:04
Replied by unknown on topic Best new Hardware for linuxcnc

Best new Hardware for linuxcnc

Category: Computers and Hardware

Lenovo M72e with an i5, I use one as my test bench. Even works well using a parallel port using software step\direction. Be careful as some may have a G series CPU, but these can be swapped out for a 3rd gen i5.

Odroid x86 H series work well, that what my mill runs with, H3 in my case.

If you want to use a arm based SBC I'd go for a RPi5, images are available and work with no issues.

Honestly the best bang for buck is a ex corporate PC.

With the RK you have to build\source your own RT kernel.


I have seen your thread, have you actually tried running a config with the PC you have ? In a real life situation you are not going to be watching 4K youtube videos when machining a part. Just give it a go and don't get so hung up on latency. With a setup using the Parallel Port it is an issue but an external step\dir generator board shouldn't be so picky about latency nor should it require a base thread, servo thread should be all it requires..

What you may spend on a suitable new PC (especially if you are considering an Rpi5) maybe equal in cost to a Mesa board...and whilst the remora project is well supported and has had a lot of work put into it I'd know which way I would jump.

I've had luck using AUD $40 Spartan 6 dev boards running Hostmot2 firmware using either an SPI or EPP interface. Apart form Mesaflash issues I'm also having success with Ethernet as well.
  • tiagounderground
  • tiagounderground
08 May 2025 21:56 - 08 May 2025 22:53
Replied by tiagounderground on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

hi all
i tried to install in 3 different computers with no sucess, all of then was working linuxcnc installed. in the last one it says it could not find tpmod_scurve.so. i was able to run the previous versions, so i copy this file from a previous installation and was able to start in simulation mode but those new hal pins didnt apear to me.


edit
solve the problem moving files from clothoid_3d and scurve to their lib directories.

edit 2
cant run ethercat

when installing  linuxcnc-ethercat this error apears

/home/cnc/scurve2/linuxcnc_scurve_compact/linuxcnc-ethercat/lcec_rtapi.h:22:10: fatal error: rtapi.h: Arquivo ou diretório inexistente
   22 | #include <rtapi.h>
      |          ^~~~~~~~~
edit3
it runs on ethercat now but i cant start a gcode, it says

task: main loop took 0.023097 seconds
tpAbort.
tpAbort.
task: main loop took 0.070196 seconds
tpAbort.
tpAbort.
task: main loop took 0.044852 seconds
task: main loop took 0.011368 seconds

Then the above pins must stay below ~50000 nanosec at runtime.
they all stayed below 50000 nanosec


 
  • DarkPhoinix
  • DarkPhoinix
08 May 2025 21:15
Best new Hardware for linuxcnc was created by DarkPhoinix

Best new Hardware for linuxcnc

Category: Computers and Hardware

Good evening, I would like to know for sure what hardware I should have to run linuxcnc to drive a NVEM rt1052 with remora to not have latency problems with the video test on youtube while the machine works.
What do you think about an RK3588S? Is there something cheaper with the same or better performance?
Thanks and sorry so much.
  • tommylight
  • tommylight's Avatar
08 May 2025 20:50
Replied by tommylight on topic Machine stopped in middle of program.

Machine stopped in middle of program.

Category: AXIS

You could try sifting through
sudo dmesg
But be ready to get shocked by the amount of info there.
  • ContactFever998
  • ContactFever998
08 May 2025 20:40
Help with Linux CNC Ethercat setup was created by ContactFever998

Help with Linux CNC Ethercat setup

Category: EtherCAT

Hello everyone,

I'm a noob when it comes to Linux CNC. I currently have some Leadshine L8 servo drives (identical to EL8?) and I am trying to set up Linux CNC. I am using a raspberry pi 5 and installed the "LinuxCNC 2.9.4 Raspberry Pi 5 OS based on Debian Bookworm Raspberry Pi 5 Uspace" iso

So far, i have :
-Followed Rodw's post on installing Linux CNC from repositories
-Copied the Github repository by Marco Reps
-Compiled cia402.comp, el8_homecomp.comp, and always_homed.comp

Now i need to configure the hal, ini, and ethercat-conf.xml files and the files from Marco Reps repo looks overwehlmingly complex.

Could anyone help me figure out what are the basics needed to launch Linux CNC and understanding more what the content of those files mean and what do I need to modify.
  • RotarySMP
  • RotarySMP's Avatar
08 May 2025 19:15 - 08 May 2025 19:21
Replied by RotarySMP on topic free CADCAM

free CADCAM

Category: CAD CAM

I have used AutoCAD V13, Catia V4 and V5, Inventor, and Onshape in the past. I have been using Freecad for a while now. For simple stuff I find it just as good as any CAD program, once you become more rigorous with your use of reference plans rather then sketching on existing geometry.

With the castings I am drawing up for my antique motorbike engine project, where everything has draft angles and fillets,  I am definitely hitting the limits of it's filleting engine. I normally end up deleting my extrudes, and fillets multiple times, and changing the order I do things, and sometimes find an order which leads to most of the fillets I need. Luckily the time consuming part is the sketches, so there is not too much pain involved in backing up on extrudes and fillets, as the sketches get reused.

There is some issue with MacOS's latest release 15.4 which breaks access to numpy, which the CAM workbench needs. There is a workaround which works for some, but didn't for me.
forum.freecad.org/viewtopic.php?p=824067#p824067.
  • Hakan
  • Hakan
08 May 2025 18:41 - 09 May 2025 06:17
Replied by Hakan on topic Using POSIX realtime

Using POSIX realtime

Category: EtherCAT

There is something odd with your installation.
I just tried myself to "apt remove ethercat-master ethercat-dkms" followed by "apt install ethercat-master ethercat-dkms" and it worked just fine.
I do not get the "tainted kernel" message.
Can it be that you have compiled the ethercat master yourself at one point? And that the runnning ethercat master is looking for ec_generic in a place where it isn't?
It's a bit of guesswork and searching now.
Can you the command "sudo service ethercat status" and compare the ouput with mine?
debian@plasma:~$ sudo service ethercat status
● ethercat.service - EtherCAT Master Kernel Modules
     Loaded: loaded (/lib/systemd/system/ethercat.service; enabled; preset: enabled)
     Active: active (exited) since Thu 2025-05-08 20:32:57 CEST; 7min ago
    Process: 78578 ExecStart=/usr/sbin/ethercatctl start (code=exited, status=0/SUCCESS)
   Main PID: 78578 (code=exited, status=0/SUCCESS)
        CPU: 25ms

maj 08 20:32:57 plasma systemd[1]: Starting ethercat.service - EtherCAT Master Kernel Modules...
maj 08 20:32:57 plasma systemd[1]: Finished ethercat.service - EtherCAT Master Kernel Modules.
 

Edit. Can you also repeat the search for ec_generic, but this time search for ec_master, in the same way?

Edit 2. No need to search. Instead show the output of the command "sudo modinfo ec_master", especially the first filename line.
Displaying 391 - 405 out of 26534 results.
Time to create page: 0.436 seconds
Powered by Kunena Forum