Advanced Search

Search Results (Searched for: )

  • Aciera
  • Aciera's Avatar
27 Jun 2025 04:45 - 27 Jun 2025 04:46

Python M6 Remap Not Callable in LinuxCNC 2.9.4– Function Not Recognized

Category: G&M Codes

The whole folder that contains the ini file, the remap and everything else.
Right click on the folder and choose 'compress'.
  • Johnnysacalu
  • Johnnysacalu
27 Jun 2025 03:53
Replied by Johnnysacalu on topic Lo ejes dejaron de moverse

Lo ejes dejaron de moverse

Category: General LinuxCNC Questions

¿El THCAD2 está en la misma caja que el 7I96S?

perdon entendi mal no el thc esta en la maquina de plasma 
  • Silverback
  • Silverback
26 Jun 2025 22:54

[qt_dragon_hd] auto tool probe and gcode display issue

Category: Qtvcp

I have qt_dragon_hd set up and running versa probe. Per the web directions, I have remapped M6 to the qt_auto_probe_tool routine.

Everything works fine, however, once the auto probe routine finishes and control returns to the gcode file, the display in qt_dragon switches to showing the qt_auto_probe_tool text and infinitely scrolls through it.

I am fairly new to LinuxCNC and have only made it this far by pure determination and reading a lot, so use ELI5 principles, if you don't mind.

Many thanks.
  • jmelson
  • jmelson
26 Jun 2025 21:42
Replied by jmelson on topic I/O ports at e000 [disabled] [size=8]

I/O ports at e000 [disabled] [size=8]

Category: Driver Boards

Very interesting! Can you report what kernel is installed on your 2.9.4 system?
The command is uname -a
(I'm guessing you can't do this for the 2.9.3 system as you have probably overwritten that hard drive.)
Well, I am very happy that this ports [disabled] mess is fixed by a newer kernel!
Thanks,
Jon
  • PCW
  • PCW's Avatar
26 Jun 2025 20:40
Replied by PCW on topic Lo ejes dejaron de moverse

Lo ejes dejaron de moverse

Category: General LinuxCNC Questions

7I96S outputs 4 and 5 are AC/DC type 100 mA max 60V max

Your external SSR may appear stuck-on if the output
polarity was wrong or maybe it just has too much leakage
current for switching a low current signal.
  • Johnnysacalu
  • Johnnysacalu
26 Jun 2025 19:45
Replied by Johnnysacalu on topic Lo ejes dejaron de moverse

Lo ejes dejaron de moverse

Category: General LinuxCNC Questions

La salida 4 que tiene mejor aislamiento es dc o ac  por que he puesto un ssr de dc y no corta se queda en contacto aunque no este dada la antorcha de plasma
  • Abdelrahmankandil
  • Abdelrahmankandil's Avatar
  • Aciera
  • Aciera's Avatar
26 Jun 2025 19:03

Python M6 Remap Not Callable in LinuxCNC 2.9.4– Function Not Recognized

Category: G&M Codes

Difficult to troubleshoot. Please attach your zipped config folder so we can see how things are setup.
  • Abdelrahmankandil
  • Abdelrahmankandil's Avatar
26 Jun 2025 18:46 - 26 Jun 2025 18:47

Python M6 Remap Not Callable in LinuxCNC 2.9.4– Function Not Recognized

Category: G&M Codes

Hello everyone,I’m facing a persistent issue with implementing a Python-based M6 remap in LinuxCNC 2.9.4 running on Debian Bookworm. No matter what I try, LinuxCNC always reports that my remap function is “not a Python callable function,” even though I have followed all the official documentation and community advice.Details:
  • Configuration:
    • In my INI file, I have:
    • [RS274NGC]


      PARAMETER_FILE = linuxcnc.var
      RS274NGC_STARTUP_CODE = G21 G40 G90 G94 G97 G64 P0.025
      REMAP = M6   python=my_m6_remap_function modalgroup=6

      [PYTHON]
      PATH_PREPEND=/path/to/my/python/scripts                            
      PATH_APPEND=/path/to/my/python/scripts  
      TOPLEVEL=/path/to/my/python/script/m6_tool_change.py

      The Python file is in the correct directory, and the function name matches exactly. The function signature is:
      •     def my_m6_remap_function(self, **words):
                # minimal test code
                print("Hello from  REMAP")
                return INTERP_OK



        I have tried different function names, ensured the function is top-level (not inside a class or another function), and removed any __init__.py, .pyc, or __pycache__ files.File encoding is correct (UTF-8/ASCII), and permissions are set properly.Result:I always get the following error:
            'my_m6_remap_function' is not a Python callable function - ...:REMAP = M6   python=my_m6_remap_function modalgroup=6
        I have tested this on multiple machines, with fresh configs (including a clean Axis config), and even on a different PC – always the same result.Remapping using ngc (subroutine) works perfectly.
        I can import linuxcnc in Python 3 without issues.
        I have tried examples from stdglue.py and the forums – same error.Environment:Debian BookwormLinuxCNC 2.9.4 (from official repositories)Python 3 bindings are present and workingNotes:I suspect this is either a bug in LinuxCNC 2.9.4 on Bookworm or a missing package/feature in the current build.
        Downgrading to an older distro or using Python 2 is not a practical option for me.I need Python remap for integration with a custom PyQt5 GUI and an Automatic Tool Changer (ATC).Has anyone else encountered this issue or found a practical solution?Is there a way to enable Python remap support in this environment, or any workaround besides using ngc?
        Any help or suggestions would be greatly appreciated!
Displaying 14821 - 14829 out of 14829 results.
Time to create page: 0.835 seconds
Powered by Kunena Forum