Advanced Search

Search Results (Searched for: )

  • rodw
  • rodw's Avatar
10 Aug 2025 12:25
Replied by rodw on topic Debian Trixie upgrade/install to 2.9.4

Debian Trixie upgrade/install to 2.9.4

Category: Installing LinuxCNC

I don't think it will cause problems. In fact, I could not run PREEMPT_RT on bookworm or this PC and it would also hang on the normal kernel sometimes. I gave the PC a workout tonight on preempt_rt and its been perfectly stable. I'll try and build a trixie ISO now as the Debian builder takes the OS from the running version.

Just look at the usual network driver upgrades and disable energy efficient Ethernet (EEE) because it will cause latency spikes.
  • Hartwig
  • Hartwig
10 Aug 2025 12:23

New member from Germany - CNC retrofit of a Leinen FM1

Category: General LinuxCNC Questions

Dear members,

I would like to say hello and introduce myself.  I'm a 66 years old Chemist and since 2 years retired from the industry. I am living in the northwest of Germany, near to the Dutch border and the city of Münster. One of my hobbies are old watchmaker machine tools.

I am grown up in an analog environment. I can not program any computer language (but I have a son, who is capable).
I understand pretty well electrics & electro-mechanical matters. I understand electronic circuits up to a level of using components with a maximum of four soldering feet (eg. bridge rectifiers).
All other components, like IC or even EPROM are a "mystery" to me.

I own a small coordinate milling- and drilling-machine. A Leinen FM1, which is equipped with controls from the mid 80s of the last century.

It uses Heidenhain glass scales on the x-, y- and z-axis and ESCAP 12 V DC Tacho-Servomotors for the movements of these axes.
The indication of position and the positioning to a set coordinate is done by a Heidenhain TNC113 unit, connected with an analog control panel. Furthermore there is a dividing unit with a rotary axis, served by a Heidenhain rotary encoder.

The unit is fully functional. But I`m fearing electric defects in the control panel, without having in hand any documentation of the board layouts, the circuits and the connections. If, after 40 years, a capacitor or a diode would become defective, I would be lost. If needed, the Heidenhain TNC113 can be still repaired by specialists, but a repair is very expensive.

My idea is now, to buy 4 Heidenhain EXE610 on the second hand market and connect them to a newly built LINUX CNC.unit. Could somebody be so kind and advise me, which boards I would need to buy for:
- the INPUTs from the four Heidenhain EXEs
- the INPUTs from the five DC motor tachos (4 from the axes and 1 from the spindle)
- the OUTPUTs to the DC Motors amplifiers/controllers(I have already a second set of amplifiers for the spindle motor of 66 V and the axes drive motors of 12 V).
- some other INPUTs (digital and analog) like limit switches on the axes, emergency switch-off etc., potentiometers
- some other OUTPUTs for indicator lamps/LED

What is the target of this excercise:
- preserve the existing controls in original condition
- plug-in of the existing connectors/interfaces (between the machine and the control panel) to a new CNC unit
- the new CNC unit does not need to be highly sophisticated. I would be happy with a program, which activates the 4 axes in sequential mode. I would guess, that high precision, when running several axis simultaniously, would be impossible to realise with DC Tacho-Servos.

Any feedback is highly appreciated.

Thanks a lot and best regards

Hartwig
  • simplex
  • simplex
10 Aug 2025 08:59

Retrofitting a MAHO MH500W '89-'90 with hand-feed

Category: CNC Machines

Hey guys, I also wanna convert a MAHO MH500W

But I'm more of a software / mechanical guy, so any advice would help :D
  • ChironFZ16
  • ChironFZ16's Avatar
10 Aug 2025 08:54 - 10 Aug 2025 09:26
Replied by ChironFZ16 on topic Bitfile for 6i25+7i74+7i85

Bitfile for 6i25+7i74+7i85

Category: Driver Boards

The next question is how do I get this activated, I still have two 7i66 and a 7i64 connected to the 7i74, which I can no longer see
 
The old config :

[HOSTMOT2]
DRIVER=hm2_pci
BOARD=5i20

CONFIG="num_encoders=0 num_stepgens=0 sserial_port_1=021xxx,firmware=hm2/5i20/svst6_6_7i48.bit num_encoders=6 num_pwmgens=6 num_stepgens=0num_leds=0,firmware=hm2/5i20/svst6_6_7i48.bit num_encoders=0 num_pwmgens=0 num_stepgens=0num_leds=0"

[MACROS]
Old config:
 


Old config:
 

 

MesaCT:
Read HMID
Returned: Success
Configuration Name: HOSTMOT2

General configuration information:

  BoardName : MESA5I25
  FPGA Size: 9 KGates
  FPGA Pins: 144
  Number of IO Ports: 2
  Width of one I/O port: 17
  Clock Low frequency: 33.3333 MHz
  Clock High frequency: 200.0000 MHz
  IDROM Type: 3
  Instance Stride 0: 4
  Instance Stride 1: 64
  Register Stride 0: 256
  Register Stride 1: 256

Modules in configuration:

  Module: DPLL
  There are 1 of DPLL in configuration
  Version: 0
  Registers: 7
  BaseAddress: 7000
  ClockFrequency: 33.333 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: WatchDog
  There are 1 of WatchDog in configuration
  Version: 0
  Registers: 3
  BaseAddress: 0C00
  ClockFrequency: 33.333 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: IOPort
  There are 2 of IOPort in configuration
  Version: 0
  Registers: 5
  BaseAddress: 1000
  ClockFrequency: 33.333 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: MuxedQCount
  There are 4 of MuxedQCount in configuration
  Version: 4
  Registers: 5
  BaseAddress: 3600
  ClockFrequency: 33.333 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: MuxedQCountSel
  There are 1 of MuxedQCountSel in configuration
  Version: 0
  Registers: 0
  BaseAddress: 0000
  ClockFrequency: 33.333 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: SSerial
  There are 2 of SSerial in configuration
  Version: 0
  Registers: 6
  BaseAddress: 5B00
  ClockFrequency: 33.333 MHz
  Register Stride: 256 bytes
  Instance Stride: 64 bytes

  Module: LED
  There are 1 of LED in configuration
  Version: 0
  Registers: 1
  BaseAddress: 0200
  ClockFrequency: 33.333 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

Configuration pin-out:

IO Connections for P3
DB25 pin#             I/O   Pri. func    Sec. func        Chan     Sec. Pin func   Sec. Pin Dir

 1                      0   IOPort       None           
14                      1   IOPort       None           
 2                      2   IOPort       None           
15                      3   IOPort       None           
 3                      4   IOPort       SSerial          0        RXData2         (In)
16                      5   IOPort       SSerial          0        TXData2         (Out)
 4                      6   IOPort       SSerial          0        RXData1         (In)
17                      7   IOPort       SSerial          0        TXData1         (Out)
 5                      8   IOPort       SSerial          0        RXData0         (In)
 6                      9   IOPort       SSerial          0        TXData0         (Out)
 7                     10   IOPort       MuxedQCountSel   0        MuxSel0         (Out)
 8                     11   IOPort       MuxedQCount      0        MuxQ-A          (In)
 9                     12   IOPort       MuxedQCount      0        MuxQ-B          (In)
10                     13   IOPort       MuxedQCount      0        MuxQ-IDX        (In)
11                     14   IOPort       MuxedQCount      1        MuxQ-A          (In)
12                     15   IOPort       MuxedQCount      1        MuxQ-B          (In)
13                     16   IOPort       MuxedQCount      1        MuxQ-IDX        (In)

IO Connections for P2
DB25 pin#             I/O   Pri. func    Sec. func        Chan     Sec. Pin func   Sec. Pin Dir

 1                     17   IOPort       SSerial          1        RXData0         (In)
14                     18   IOPort       SSerial          1        RXData1         (In)
 2                     19   IOPort       SSerial          1        RXData2         (In)
15                     20   IOPort       SSerial          1        RXData3         (In)
 3                     21   IOPort       SSerial          1        TXData0         (Out)
16                     22   IOPort       SSerial          1        TXData1         (Out)
 4                     23   IOPort       SSerial          1        TXData2         (Out)
17                     24   IOPort       SSerial          1        TXData3         (Out)
 5                     25   IOPort       SSerial          1        RXData4         (In)
 6                     26   IOPort       SSerial          1        RXData5         (In)
 7                     27   IOPort       SSerial          1        RXData6         (In)
 8                     28   IOPort       SSerial          1        RXData7         (In)
 9                     29   IOPort       SSerial          1        TXData4         (Out)
10                     30   IOPort       SSerial          1        TXData5         (Out)
11                     31   IOPort       SSerial          1        TXData6         (Out)
12                     32   IOPort       SSerial          1        TXData7         (Out)
13                     33   IOPort       SSerial          1        TXEn7           (Out)


 

 
  • Edi_48
  • Edi_48
10 Aug 2025 08:07
Replied by Edi_48 on topic Rote LED

Rote LED

Category: Deutsch

hm2_eth: ERROR: sending packet: Network is unreachable
hm2/hm2_7i96s.0: error queuing read! iter=22200)
hm2_eth: ERROR: sending packet: Network is unreachable
hm2/hm2_7i96s.0: error finishing write! iter=22200)
hm2_eth: ERROR: sending packet: Network is unreachable
hm2/hm2_7i96s.0: error queuing read! iter=22201)
hm2_eth: ERROR: sending packet: Network is unreachable
hm2/hm2_7i96s.0: error finishing write! iter=22201)
hm2_eth: ERROR: sending packet: Network is unreachable
hm2/hm2_7i96s.0: error queuing read! iter=22202)
hm2/hm2_7i96s.0: error queuing read! iter=22200)

hm2_eth: ERROR: sending packet: Network is unreachable
hm2/hm2_7i96s.0: error finishing write! iter=22202)
hm2_eth: ERROR: sending packet: Network is unreachable
hm2/hm2_7i96s.0: error queuing read! iter=22203)
rtapi_app: caught signal 11 - dumping core
  • Hakan
  • Hakan
10 Aug 2025 08:06
Replied by Hakan on topic Amplifier Fault ECT60 Closed Loop

Amplifier Fault ECT60 Closed Loop

Category: EtherCAT

Actually, I did have a problem with the closed loop ECT60 in the beginning.
First start it was ok, second start it gave me Following Error. 
So before linuxcnc starts the encoder position is reset to zero.
My start script
#! /bin/bash
ethercat -p 0 download 0x2010 0 1
ethercat -p 1 download 0x2010 0 1
linuxcnc QtPlasma.ini

This may not be the right way to solve this, but it seems to work and I stopped researching the problem.
 
  • unknown
  • unknown
10 Aug 2025 07:49
Replied by unknown on topic Debian Trixie upgrade/install to 2.9.4

Debian Trixie upgrade/install to 2.9.4

Category: Installing LinuxCNC

Thanks for Rod.

So those with only 4 cores should there be any issues ?

In case anyone is thinking the RPi may require at a bit of time cos of a library incompatibility that was seen earlier.
  • WKS-3D
  • WKS-3D's Avatar
10 Aug 2025 07:24
Replied by WKS-3D on topic Glasmaßstab EIA-422 an Mesa 7i85 (S)

Glasmaßstab EIA-422 an Mesa 7i85 (S)

Category: Deutsch

@Asymmetrisch
Ja, die liegen wohl am Anfang und in der Mitte, aber beim Darüberfahren kommt keine Rückmeldung.

@PCW
Yes, I know, that's how I had it originally, but there is no feedback from the index signal, so I commented it out again and am currently using the limit switch as a reference point.
It should actually be that when searching for the index point, the motor moves toward the limit switch, and if the index is not in the area traveled, it turns around at the limit switch and searches in the other direction.
The index should be at the beginning and in the middle.
  • NTULINUX
  • NTULINUX's Avatar
10 Aug 2025 06:28 - 10 Aug 2025 06:28
Replied by NTULINUX on topic New and Working RTAI debs for 2.9

New and Working RTAI debs for 2.9

Category: Installing LinuxCNC

The 5.4.290 kernel debs are bugged, I was hitting that problem too with the screen going black. I need to downgrade the kernel and freeze the repo as there will be no more RTAI development. In the mean time, use the 5.4.279 kernel debs. 5.4.290 is broken. The latency test and everything else works, including the LinuxCNC sim, however when running an actual machine with 5.4.290, the system does indeed crash. I need to find the last working 5.4 kernel and make a few more changes to Kconfig, after that, RTAI will be considered frozen.
  • rodw
  • rodw's Avatar
10 Aug 2025 05:54

Debian Trixie upgrade/install to 2.9.4

Category: Installing LinuxCNC

Debian Trixie is released Yeay!!

It contains Linuxcnc 2.9.4 Wow! 
To upgrade from Bookworm, very rough instructions

sudo apt update
edit /etc/sources.list and replace any instance of bookworm with trixie
sudo apt update
sudo apt upgrade.
Check you are booting in to the new 6.12 Real time kernel
run sudo grub-optimizer to set this.
Reboot into the 6.1.2 RT kernel

I removed my version of linuxcnc
sudo apt remove linuxcnc-uspace linuxcnc-uspace-dev

If it is a new install, download debian from Debian.org Trixie is their  current release and install with balena etcher

Check you are running Trixie: lsb_release -a
Check you are runing the prempt_rt kernel 6.12: uname -v (the RT kernel got installed for me)
Linuxcnc should install the RT kernel but I have not checked that.

Install linuxcnc. Seems one dependency did not play well

sudo apt install libqt5webengine5
sudo apt install linuxcnc-uspace linuxcnc-uspace-dev

enjoy Thats It. If you are running ethercat, I think the packages need to be removed and reinstalled as the config ssemed to be missing config files in 6.12

PS I am using the Cinamon Desktop, Latency seems good even without isolating any cores
Seems that I can run the RT kernel without this desktop hanging which is good! I'll see how it goes.
 
Have fun
  • funkenjaeger
  • funkenjaeger
10 Aug 2025 03:10
Replied by funkenjaeger on topic subroutine randomly stops at first G1 move

subroutine randomly stops at first G1 move

Category: O Codes (subroutines) and NGCGUI

Bumping this, I seem to be having the same problem.  
My tool change routine is here:
github.com/Funkenjaeger/fj-lcnc-cfg/blob...files/toolchange.ngc 
(and the rest of my config is in the same repo)

My tool changes sometimes work when I do them manually, but seem to halt when they're part of an actual program involving tool changes.  Specifically, when running a real program, the GUI indicates that it stopped at line 63, which is the last line before the first G1 command.  That checks out, because physically the machine moves to the right Z height for tool change (in accordance with line 63) but then never slots the tool into the pocket (as commanded in line 64)
  • ihavenofish
  • ihavenofish
10 Aug 2025 00:32

Linux based all in one anyone see whats under the hood yet?

Category: Computers and Hardware

Most of these little ones are linux. They are "ok", but most are pretty limited in features and performance.

I have a DDCSV3.1 and its cool to have an all in one single box, but it doesn't come close to linuxcnc. Contouring motion is very poor and its limited to 250khz pulse rates.
  • mgm
  • mgm's Avatar
09 Aug 2025 20:34
Replied by mgm on topic Switch relay in a defined x position

Switch relay in a defined x position

Category: Advanced Configuration

Thank you very much for your effort
I will try to test the revised version in my simulation.
I will report at the latest when I am back at the machine, or when I am back from vacation.
Thanks again for your work.
Greetings Michael
  • PCW
  • PCW's Avatar
09 Aug 2025 17:58
Replied by PCW on topic Glasmaßstab EIA-422 an Mesa 7i85 (S)

Glasmaßstab EIA-422 an Mesa 7i85 (S)

Category: Deutsch

To use index, you would need to uncomment these and similar lines

#net x-index-enable joint.0.index-enable <=> hm2_7i92.0.encoder.00.index-enable

and change:

HOME_USE_INDEX NO
to
HOME_USE_INDEX YES

And know where the physical index mark is on your scale as Asymmetrisch mentioned.
Displaying 181 - 195 out of 24292 results.
Time to create page: 0.325 seconds
Powered by Kunena Forum