Advanced Search

Search Results (Searched for: )

  • Onkelmat
  • Onkelmat's Avatar
Yesterday 06:22

Drive enbale active low - simple but yet it won´t do

Category: General LinuxCNC Questions

UODATE

I went with a relay that shorts the drive enable to the driver ground. works.

thanks.
  • tommylight
  • tommylight's Avatar
Yesterday 05:54
Replied by tommylight on topic Real Time and Latency

Real Time and Latency

Category: Computers and Hardware

What are you trying to do, exactly?
  • heaven
  • heaven
Yesterday 04:26 - Yesterday 04:29

Control linuxcnc by FT sensor (external force)?

Category: Advanced Configuration

I'm trying to control my robot by using an FT sensor. I've already calculated position commands, but I don't know how to connect these position commands to the motor during run time. All Linuxcnc commands are transferred to the motor by joint.x.motor-pos-cmd to my-motor-cmd, so my first idea is to disable Linuxcnc, unlink motor-pos-cmd, and link FT-sensor.x.motor-pos-cmd to my-motor-cmd. This might be work but the downside is disabling LinuxCNC when mode change is required. So I'm looking for a way to do it during run time, a way to feed FT-position-command to  joint.x.motor-pos-cmd maybe
 
  • PCW
  • PCW's Avatar
09 May 2025 03:37

mesa 7i73 4x8 keypad problems on KEY8 input

Category: Driver Boards

Mesa Sserial cards can have their firmware upgraded over their
normal serial connections (in most cases) It's done with
the LinuxCNC utility setsserial.
  • ogogon
  • ogogon's Avatar
09 May 2025 03:23
Replied by ogogon on topic Real Time and Latency

Real Time and Latency

Category: Computers and Hardware

Thank you. You tell very interesting things.

What approximation algorithm does LinuxCNC use and what are its real advantages over step-by-step G-code processing? Is there any specific publication about this?

For example, the following question immediately arises. If the algorithm can somehow find a win by asynchronously starting the steps of the drives of different axes, then how does it do this if the settings do not have such a parameter as the step execution time? How can we synchronize actions at the level of the entire program if we know the real start time of the step, but only very approximately know its end time. And there are many such steps - a whole program. (Or did I misunderstand you?)
  • 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.
Displaying 136 - 150 out of 26489 results.
Time to create page: 0.414 seconds
Powered by Kunena Forum