Advanced Search

Search Results (Searched for: )

  • Bendandsend
  • Bendandsend
05 Jan 2026 10:00 - 05 Jan 2026 10:05

7i76EU GPIO inputs completely frozen - not updating in real-time

Category: Driver Boards

Summary (TL;DR)I have a Mesa 7i76EU on LinuxCNC where everything works except the GPIO inputs.
The board is fully detected, stepgens and smart-serial work perfectly, but all 32 inputs are frozen and never change state — even when shorted directly to GND.System
  • Mesa 7i76EU (Ethernet, 192.168.1.121)
  • Debian 12 (Bookworm)
  • LinuxCNC 2.9.8
  • RT kernel:
    6.12.57+deb13-rt-amd64
  • WECON VD2 servos (X/Y/Z)
  • NPN 3-wire proximity switches (brown +24V, blue GND, black signal)
What Works (100% solid)
  • Mesa discovered every startup
    hm2_eth: discovered 7I76EU
  • Board pings reliably
  • Smart-serial working (FW v43)
  • All stepgens work flawlessly (axes move correctly)
  • E-stop and brake control functional
  • No timing issues (
    SERVO_PERIOD = 1000000
    )
  • halcmd
    shows all inputs
    input-00
    through
    input-31
  • No errors in logs, dmesg, or startup
The Actual ProblemALL GPIO inputs are frozen.Input values never change in HAL, even when:
  • Triggering physical limit switches (LEDs light correctly)
  • Shorting input pins directly to GND
  • Switching between
    input-XX
    and
    input-XX-not
  • Power cycling the Mesa
  • Restarting LinuxCNC
This applies to all 32 inputs, not just the ones in use.What I’ve Already Ruled Out
  • Wiring verified multiple times
  • Bypassed switches entirely (direct GND test)
  • Tested raw vs inverted inputs
  • Verified HAL nets (no duplicates or syntax issues)
  • Confirmed good network latency
  • Smart-serial confirmed via
    mesaflash --sserial
  • Inputs monitored live with
    watch halcmd show pin
    — completely static
Example output (never changes):
 
hm2_7i76e.0.7i76.0.0.input-08 FALSE hm2_7i76e.0.7i76.0.0.input-08-not TRUE
The TRUE/FALSE pattern looks random and does not correlate to real input state.Why This Feels Strange
  • Stepgens work → Mesa comms are good
  • Smart-serial works → daughter card is talking
  • But GPIO inputs behave as if they’re not being refreshed at all
Almost feels like the input register isn’t being updated or latched.Questions
  • Is there any known 7i76EU case where outputs work but inputs don’t update?
  • Anything firmware-related that can cause frozen inputs?
  • Any HAL / driver parameter that explicitly enables input scanning?
  • Worth reflashing the Mesa firmware?
I have PNP switches on order, but since even direct GND shorting doesn’t change inputs, I don’t think this is a sensor-type issue.Attachments (if needed)
  • mesa_debug.txt
  • mesa_hal_config.txt
  • mesa_ini_config.txt
  • Hakan
  • Hakan
05 Jan 2026 09:33
Replied by Hakan on topic Network Interface Card Recommendation

Network Interface Card Recommendation

Category: EtherCAT

I wonder if TSN works. At least without modifications.
Do you have any real-world experience with that?

In the  flyer I read that while the master can be unaffected, at some point the slave needs to support TSN either directly or via a TSN switch in front of it.

The i210 is an excellent choice, albeit a bit old now. I have good luck with the i217 and also with the latest dirt-cheap i226-v adapters. Older adapters use the igb driver, newer use the igc driver, with some different options and defaults.
  • Ferra
  • Ferra
05 Jan 2026 09:03
Replied by Ferra on topic Quick sanity-check

Quick sanity-check

Category: PnCConf Wizard

Thanks a lot for your reply. I ran the latency test at the beginning of this project. At first I had some issues because of the drivers (realtek 8168), and sometimes it would stop with a “Finished reading” error. After a bit of trial and error I changed the drivers as suggested in some threads, and now it runs fine: no packet loss, and both average and maximum latency stay below 70 µs, so I think I’m good.
  • rodw
  • rodw's Avatar
05 Jan 2026 07:13
Replied by rodw on topic LinuxCNC 2.9.8 Image with Debian Trixie

LinuxCNC 2.9.8 Image with Debian Trixie

Category: Installing LinuxCNC

Also note that there is no /etc/apt/sources.list.d/debian.sources in my Debian 13 after doing a full upgrade.

JT

yes the old format is retained on a full upgrade from Bookworm but it will nag you on an apt update to run sudo apt modernize-sources if I got the spelling right...

Debian says the old format will be removed in time.
  • rodw
  • rodw's Avatar
05 Jan 2026 07:08

New member from Germany - CNC retrofit of a Leinen FM1

Category: General LinuxCNC Questions

Dear members,

my Leinen FM1 is now running with LinuxCNC on all 4 axes.
I have built a small cubicle containing the required components. I have not modified the original setup at all. The CNC cubicle can be activated by a simple changeover of the original plugs coming from the mill (HONDA MR 50 pin and 20 pin plugs and the 4 Heidenhain plugs) from the original control panel to the CNC cubicle.
The relevant hardware I'm using is
- MESA 7i97T
- 1 Heidenhain EXE with 3 channels from a MAHO mill (1 my resolution)
- 1 Heidenhain EXE 610 for the rotary axis (0,001° resolution)
- 2 Mattke two channel Tach DC motor controller MTRG 25/2D
- 1 Mattke MTRM 061/5 Tach DC motor controller for the spindle motor
- 1 cycloidal transfer 60VAC for the spindle
- 1 cycloidal transformer 2 x 22VAC for the axes motors
- 1 5VDC and 1 12VDC power supply
- 1 All-In-One PC
Only the MESA card is new. All the other other equipment is bought second hand and mostly about 40 years old. But it works !
To be sincere, without help I would not have been able to configure LinuxCNC.on my own. A very kind and knowledgeable member of this forum did this work for me. Thanks a lot to him.
If anybody needs the INI and the HAL files, I would be happy to send a copy.
The following functions are implemented::
- x-, y-, z- and rotary-axis control
- end switches for the 3 linear axes
I have and I need no homing function.
The spindle speed is controlled outside LinuxCNC with an old Beckmann 10-turn potentiometer. I know them from the 80th of the last century, using them in the university labs.
Furthermore I have installed an original old style Waldmann machine light
Best regards
Hartwig

You should be able to use your existing end switches as home switches and limit switches. It is so much easier if set up completely. Just make sure you have a home_offset to move the axis away from the limit switch (even 0.5mm is enough, sometimes less). Otherwise the limit switch will trigger as homing completes.
  • grandixximo
  • grandixximo's Avatar
05 Jan 2026 06:50 - 05 Jan 2026 09:44
Replied by grandixximo on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

I saw it the first time I opened it. Couldn't bother myself to fix the sequence on a Sunday afternoon lol
I will fix it for y'all tonight.

Edit:
Done, pushed to github, the ini configuration is better suited for quick testing, you don't even need to home it ([TASK] NO_FORCE_HOMING = 1), but if you do is just one click, and you got infinite limits to load your wildest g-codes.
  • rodw
  • rodw's Avatar
05 Jan 2026 06:34
Replied by rodw on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

A couple of us played briefly today on Trixie and we built some debs to share with a few friends.
In the sim, I would like to see 
HOME_SEQUENCE=1 for all joints 
This will enable the home all button to save some time when playing. No need to home each joint.

I'm just having trouble with a corrupt APT system on my Linuxcnc PC and I am getting latency errors on my  office PC so I could not see much but I did briefly see some nice curved graphs in halscope.

I think if it was committed, there would be a stream of testers to find any remaining bugs...
 
  • jimmyrig
  • jimmyrig
05 Jan 2026 05:23
Replied by jimmyrig on topic Quick sanity-check

Quick sanity-check

Category: PnCConf Wizard

With linuxcnc mapping and io mistakes I can't tell cause it's machine dependent. A quick glance didn't pop up anything crazy.

The middle two bullet points usually work or don't. I wouldnt run the estop that way but if it works.....run it.

In this world if it works reliability and it's fast enough just let it rip.


The only thing I would recommend is to do a latency-histogram and see what your latency is. This allows for days running without issues vs hours (or min) (Applications-linuxcnc-latency histogram) If it's below 100 let it ride, below 150 prob fine might tweak a few settings, above that would tune things to make it more reliable..... Otherwise it'll studder/glitch which can cause the UI to drop out.

Let's use know and I can help tune
  • Bari
  • Bari's Avatar
05 Jan 2026 04:03

Bridgeport EZ Trak DX II Conversion to LCNC

Category: CNC Machines

Thank you. I just saw this after a long illness.
  • Thllll
  • Thllll
05 Jan 2026 02:50 - 05 Jan 2026 02:51
Replied by Thllll on topic Auto Tool Probe - not callable

Auto Tool Probe - not callable

Category: Qtvcp

The docs are good, its just so much information.. and it seems like alot of it can conflict with each other and can be easily setup wrong. I would suggest a better LinuxCNC setup wizard.

Consider this, the pncconfig and the stepper config could be updated. Yes it would be massive amount of work. Basic setup is a breeze currently but if it was updated to have more options like probe, tool sensor, camera, ATC ect. Each new section can have additional details or options with images or explanations. Based on the setup the wizard would automatically change the .ini file, hal file, postgui, add folders, add routines, ect, set paths, ect. This way human error is taken out leading to a faster setup or update
  • grandixximo
  • grandixximo's Avatar
05 Jan 2026 02:25 - 05 Jan 2026 06:51
Replied by grandixximo on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

Thank you so much for the independent testing, really appreciate it.
On another note, for who is not following the PR posts, Andy Pugh and the other devs decided to merge as soon as they can into master branch, so that it can get more wide testing, and probably be part of the 2.10 release, also I will leave here the same thing I posted in the PR on GitHub:

By the way there is also a PLANNER_TYPE = 2 which I have not documented at all, I intended to remove it, but have not come around to do the cleaning yet, that could be cleaned, or the community could be doing some further testing.

The main practical difference is in how they handle cornering velocities during blends, type 1 is more cautious, while type 2 balances smoothness with speed, in my testing type 1 wins out in most scenarios.
  • cmorley
  • cmorley
05 Jan 2026 00:18
Replied by cmorley on topic Auto Tool Probe - not callable

Auto Tool Probe - not callable

Category: Qtvcp

I'm so glad you have had some success!

1) tool probing from the offset page is a completely different probing routine.
IIRC qtdragon didn't originally have a dedicated probe tab. We added it and never removed the original.

2) oh yes weird I'll see if it's something simple...

Is there anything you think we could add to the docs to help the next person to get up to speed quicker?
  • E1
  • E1
04 Jan 2026 21:47

Catch 22 - PP 2.0.0 thumbdrive does not support MESA 7i92T, PP update blocked

Category: PathPilot

Hi,

Could really use some pointers:

Short version, PCNC 1100-3 PC with PCIe mesa card died, new PC can't fit PCIe mesa card, only card that seems compatible is the Mesa 7i92T (in my case the 7i92TM, yah wrong DB 25 gender, but a gender bender fixed that.)  Issue is when  restore from my tormach supplied PP 2.0.0 thumb drive, that version does not support the T version of mesa cards, but to update to the latest version I need to get to the PP GIU (Or is there 1) a way to upgrade without PP GIU or 2) create a PP full install thumb drive that has a newer version of PP?)  I tried some .ini and .bashrc edits I found to force it into simulation mode, but they are not working.  Granted I had to guess at where the files were located and they did not match the lite description of where to edit so I may have been doing it wrong.  the files I edited with in the ~ directory the .bashrc where i added the PATHPILOT_SIM_MODE=1 (pretty sure this one is right, made it the first line) and the other edits were in the ~/tmc/configs folder in files that were for the 1100-3 with Ethernet - but these I am suspecting have changes or I really did not get what the ask was on what I had to change as none of the lines matched the instructions, so I took my best guess as to what I had to do, regardless it does not let the GIU start.   Any help is greatly appreciated.  PS:  I don't believe the PC is the issue and the card is setup to use 10.10.10.10 and is communicating, there are no other devices on the Ethernet, its a direct link.  thanks, Happy new year
  • E1
  • E1
04 Jan 2026 21:25

Start PathPilot without a Mesa card connected

Category: PathPilot

Thanks for these instructions, have made them but PP 2.0.0 does not boot without giving the "No ethernet link detected. check cabling between controller and machine." My original PC for my PCNC 1100-3 died, it used the PCIe mesa card, have switched to a small form factor Intel based PC and imaged the drive with my install/upgrade thumb drive but when I got it Tormach was on PP 2.0.0. With the new Ethernet based MESA 7i92T card I need to update PP before it can work with the newer card, but I can't get it to the PP GUI to do the update. Any ideas how to force it past the above error, note plugging in the card to the Ethernet port (direct) changes the behavior to display a indication that the card FW has been updated then reboots, this keeps happening with no sign of the PP UI. Not sure I am in the right files/folders for the above changes the files I tried modifying are in ~/tmc/configs/ with my selected mill type. the .bashrc file is in ~ directory.
  • endian
  • endian's Avatar
04 Jan 2026 21:05
Replied by endian on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

testing in full stream ... its runs at 2ms cycle with profibus master without significant problems ... hardware beckhoff C6930-0060 with native driver at 3.4ghz 


video - 
Displaying 121 - 135 out of 20520 results.
Time to create page: 0.201 seconds
Powered by Kunena Forum