Search Results (Searched for: )

  • tcbmetalworks
16 Jan 2026 02:27
I have no experience with this particular issue and have never used linux cnc for milling/turning but I found Cursor a extremely valuable program for making custom software that operates with linux cnc. It still takes a ton of time and hassle but is still faster then becoming a expert in programing. Very likely is possible to modify dragon qt to have the features that you would like.
  • tommylight
16 Jan 2026 00:51
OK, lathe, so not my strong suite, so:
First, i am pretty sure it is doable, i am also pretty sure some of the forum users did manage to make this work fine and never bothered to report back on how they did it, and there are some with mixed success still active here.
Second, probably yes but never actually did that, although i would not mix manual and auto modes as inadvertently humans will mix those modes and on big machine that is always expensive.
As for turret/no turret pin, again most probably yes with some hal wizardry, might be quite easy i think.
Any way you look at it, almost anything within reason should be doable, although it is much easier to have 2 separate configs (not installations, just a config folder) and switch between them. I would like to insist on making this work first, then make another config for mixing and testing mixed mode.
  • Doc_emmet
16 Jan 2026 00:31
Terminal Display was created by Doc_emmet
Hello, when I start LinuxCNC in the terminal and an axis of the machine moves, I get the following lines in the terminal:

3.446259842519685, 6.10236220472441, 6.399631496062992, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], [3.302834645669291, 2.6091732283464566, 6.399631496062992, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0

Does anyone know how I can disable this?
  • tommylight
15 Jan 2026 22:30
Sorry, but i forgot what your plans were, so i will have to go back and read again.
Way to busy lately...
  • TAKUYA
15 Jan 2026 19:31 - 15 Jan 2026 19:32
Replied by TAKUYA on topic StepperOnline A6 Servo
@mobiusToast
Did you have any issues with the Drives sometimes not homing at all? Or them jumping at the end of the home procedure with ER87?
  • 3404gerber
15 Jan 2026 19:29
I think Wikipedia will explain balanced signal better than me:  en.wikipedia.org/wiki/Balanced_line . I made a small pcb that uses DS90LV/DS90LT line transceiver to turn the SPI into a balanced signal, and one at the end of the line that turn it back to an TTL SPI signal.

For the TMC5160, if you use the Remora-STM32F4xx-PIO or Remora-STM32H7xx-PIO, you'll have the possibility to configure your drivers via SPI. If you prefer to use my library, it would benefit from some changes; mainly removing the read/write functions that aren't needed and just make a configure and status check function. But you could try to use it without changes for a test, as the driver won't accept any SPI command related to internal ramp if the SPI mode isn't activated by a jumper on your board.
  • PCW
15 Jan 2026 18:03 - 15 Jan 2026 18:04
The host address of 10.10.10.11 is fine, it must be different than the FPGA card
(but in the same subnet)

A failed HM2 registration usually means dropped packets, so there is something marginal
with the Ethernet connection.

What does:

sudo chrt 99 ping -i .001 -c 60000 -q 10.10.10.10

report?

(it will run 1 minute before printing statistics)
 
  • cnbbom
15 Jan 2026 18:02
Replied by cnbbom on topic New and Working RTAI debs for 2.9

tommylight post=341431 userid=17274

Code:
[EMCMOT] EMCMOT = motmod COMM_TIMEOUT = 1.0 BASE_PERIOD = 46872 SERVO_PERIOD = 1000000 Your base period is set at 46872, strange for sure, but i am pretty sure LinuxCNC will round it to something divisible from 1000000. Set it to 50000.
 

Será que estou inserindo valores incorretos para o Jitter Máximo do Período Base ao configurar uma máquina no Assistente de Configuração do Motor de Passo?
  • Surmetall
15 Jan 2026 17:56
Does nobody have an idea or suggestion regarding the problems with my plans?
Lathes are probably rebuilt far less often than milling machines, unfortunately.


Well, in the meantime I continued working on the control cabinet. I had already planned the layout in CAD, and the effort put into that really pays off here.
First, I printed and attached a template, center-punched the holes and cut the threads, then cut the cable ducts and DIN rails to length and mounted them. A very pleasant, almost calming kind of work.
After that, I pre-wired everything and installed it in the cabinet. I also equipped the lid with a gas spring, and added a cable duct underneath the control cabinet.








 


 
  • Jocman
15 Jan 2026 17:50
did you turn on power to the Mesa card before starting linuxcnc?

yep, first thing I tried (a lot of times I got an error then I realized I forgot to switch on the machine)


Whats does the command:
ip a
report?
What happens if you:
ping 10.10.10.10


This is what I get with "ip a" and giving a ping:
Code:
joccnc@JocCnc:~$ ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00     inet 127.0.0.1/8 scope host lo        valid_lft forever preferred_lft forever     inet6 ::1/128 scope host        valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000     link/ether e8:4e:06:84:dc:c9 brd ff:ff:ff:ff:ff:ff     inet 192.168.1.245/24 brd 192.168.1.255 scope global dynamic eth0        valid_lft 863950sec preferred_lft 863950sec     inet6 fd59:b8bd:be6f:0:6bdd:2ca7:6e73:aa7b/64 scope global noprefixroute dynamic        valid_lft 7152sec preferred_lft 3552sec     inet6 fe80::6ed6:c856:a0cb:2db8/64 scope link        valid_lft forever preferred_lft forever 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000     link/ether 70:85:c2:6a:f0:3d brd ff:ff:ff:ff:ff:ff     inet 10.10.10.11/8 brd 10.255.255.255 scope global eth1        valid_lft forever preferred_lft forever     inet6 fe80::8ede:25a1:ff4d:99b4/64 scope link        valid_lft forever preferred_lft forever joccnc@JocCnc:~$ ping 10.10.10.10 PING 10.10.10.10 (10.10.10.10): 56 data bytes 64 bytes from 10.10.10.10: icmp_seq=0 ttl=64 time=0.779 ms 64 bytes from 10.10.10.10: icmp_seq=1 ttl=64 time=0.418 ms 64 bytes from 10.10.10.10: icmp_seq=2 ttl=64 time=0.402 ms 64 bytes from 10.10.10.10: icmp_seq=3 ttl=64 time=0.424 ms 64 bytes from 10.10.10.10: icmp_seq=4 ttl=64 time=0.365 ms


eth0 is my second network card, I use it to reach my NAS, my LAN and the WEB
eth1 is the integrated network card, used by Mesa

giving the ping 10.10.10.10 I get response from Mesa
I just don't understand why eth1 report IP 10.10.10.11, when my hal file is set 10.10.10.10, and ping to 10.10.10.10 works.

BTW, after these tests I tried to start LinuxCNC, I get again an error message, but this time no mention about the MAC (is correctly reported), now the error is about HM2 registration:
Code:
Print file information: RUN_IN_PLACE=no LINUXCNC_DIR= LINUXCNC_BIN_DIR=/usr/bin LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc LINUXCNC_SCRIPT_DIR= LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules LINUXCNC_CONFIG_DIR= LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs INIVAR=inivar HALCMD=halcmd LINUXCNC_EMCSH=/usr/bin/wish8.6 LINUXCNC - 2.7.14 Machine configuration directory is '/home/joccnc/linuxcnc/configs/Prova01' Machine configuration file is 'Prova01.ini' INIFILE=/home/joccnc/linuxcnc/configs/Prova01/Prova01.ini PARAMETER_FILE=linuxcnc.var TASK=milltask HALUI=halui DISPLAY=axis Starting LinuxCNC... Starting LinuxCNC server program: linuxcncsvr Loading Real Time OS, RTAPI, and HAL_LIB modules Starting LinuxCNC IO program: io Starting HAL User Interface program: halui Found file(REL): ./Prova01.hal hm2: loading Mesa HostMot2 driver version 0.15 hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2 hm2_eth: 10.10.10.10: Hardware address: 00:60:1b:10:45:59 hm2_eth: discovered 7I76E-16 hm2/hm2_7i76e.0: Smart Serial Firmware Version 43 Board hm2_7i76e.0.7i76.0.0 Hardware Mode 0 = standard Board hm2_7i76e.0.7i76.0.0 Software Mode 0 = io_spin Board hm2_7i76e.0.7i76.0.0 Software Mode 1 = io_ana_spin Board hm2_7i76e.0.7i76.0.0 Software Mode 2 = io_enc_ana_spin_fv board fails HM2 registration Shutting down and cleaning up LinuxCNC... Running HAL shutdown script Killing task linuxcncsvr, PID=1208 hm2: unloading Removing HAL_LIB, RTAPI, and Real Time OS modules Removing NML shared memory segments
  • tommylight
15 Jan 2026 16:00
Replied by tommylight on topic LAser Engraving GRid Speed/Power
Sorry aber English gehts schneller:
You can search the web for the gcode file, or you can download trial version of LightBurn and generate the code, then use LinuxCNC to test with it.
Most LightBurn code will run on LinuxCNC, and if it does not at least it complains about it so editing and removing offending lines should always work.
  • PCW
15 Jan 2026 16:00
Can you post your .ini file as well?
  • tommylight
15 Jan 2026 15:58
Replied by tommylight on topic New and Working RTAI debs for 2.9
Code:
[EMCMOT] EMCMOT = motmod COMM_TIMEOUT = 1.0 BASE_PERIOD = 46872 SERVO_PERIOD = 1000000
Your base period is set at 46872, strange for sure, but i am pretty sure LinuxCNC will round it to something divisible from 1000000. Set it to 50000.
Still i do not think that is the main issue, it seems your PC has some strange and huge excursions in latency, so, did you disable in BIOS:
turbo
speed step
power saving options
TPM if any
PCI-E aggressive power saving (no idea what name is used in some boards)
C states
etc.
Be as it may, for that PC and since you need RTAI, use the Wheezy ISO as is, granted you do not need any missing features from it.
You can download and test Wheezy without installing it, see how that works out.
  • prokopcio
15 Jan 2026 15:54 - 15 Jan 2026 16:01
Sorry I’ve been quiet for a while — I had to put the project on hold for some time, but I’ve just come back to it and I’m now moving it into production. It should be available within about two weeks.A new operating mode has been added, and in my case it works extremely well (I have my own CNC controller, so I can do whatever I want). It doesn’t require any data processing, because it receives the ready-to-use height directly from the sensor. This option might be useful for others in the future as well.The only drawback is that the output is a universal open-collector type, which isn’t a standard interface. However, I designed a simple circuit that converts the open-collector signal into a standard RS-485 signal. I calculated it, built it, tested it, and measured it — and it works perfectly. Over several hours of operation, not a single bit was lost on an unshielded cable (just a regular twisted-pair Ethernet cable) over a distance of more than 300 meters in an industrial environment. That exceeded my expectations.

 



 


CONVERTER SIMULATION
  • PCW
15 Jan 2026 15:52 - 15 Jan 2026 15:53
Replied by PCW on topic MESA 6i24 + 7i36
3 changes should be done in the hal file:

1. Set the PWM rate to 48 KHz

2. Set offset mode true for all PWM channels:

setp hm2_5i24s.0.pwmgen.0N.offset-mode true
Where "N" is the channel number

This is critical or the analog output will be wrong

3. Set dither mode true for all PWM channels:
hm2_5i24.0.pwmgen.0N.dither true
 This will increase the Analog resolution from 12 bits full scale to 15 bits full scale

Note that this requires firmware with PWMGen version 1 if the 5I24 firmware
does not have version 1 PWMGens, I will update it.

Note that you may need to change the PWM scale so you have the desired
negative feedback (control) rather than positive feedback (runaway)
Displaying 8641 - 8655 out of 11911 results.
Time to create page: 0.278 seconds
Powered by Kunena Forum