Advanced Search

Search Results (Searched for: )

  • Aciera
  • Aciera's Avatar
14 Feb 2025 06:55
Replied by Aciera on topic motion.misc-error-NN does not work

motion.misc-error-NN does not work

Category: HAL

The error pins are optional and need to be set in the 'loadrt modmod .....' line in the hal file using, for example, 'num_misc_error=2' which should give you two error pins:
linuxcnc.org/docs/stable/html/man/man9/motion.9.html
  • urvilsuthar
  • urvilsuthar
14 Feb 2025 06:37 - 14 Feb 2025 07:31
Replied by urvilsuthar on topic Change acceleration on the fly?

Change acceleration on the fly?

Category: General LinuxCNC Questions

Hello,
I have created HAL configuration as explained by mjohnston, with a single pushbutton. The functionality is that when I push and hold the button, the acceleration of all axes must be set to 10% of their actual values. However, my application is different. I'm not using M-Codes.

I found that this change of acceleration works for me, but it has a very deviated output. The button press effect occurs after a large lag in time, and the amount of time varies for different programs.

More digging with debugging tools revealed that the trajectory planner has buffered lines. When I press the button, the acceleration change works after the previous buffered lines are executed. Also, the button release event has this lag, as well.

So, my question is: Is there any way to make this acceleration change happen immediately upon button press or release? Or, is there any way to change the buffer size in the trajectory planner?

I am available if you need any more information on this.
  • michaeln
  • michaeln
14 Feb 2025 06:31 - 14 Feb 2025 06:38
Replied by michaeln on topic motion.misc-error-NN does not work

motion.misc-error-NN does not work

Category: HAL

  Hello Aciera,

thanks for your reply.
I see the difference. In my machine the motion.misc-error-00 i see only as signal, not as pin like in your picture.
It is not in my pin-list and i see in the documentation that it is not standard-list (linuxcnc.org/docs/stable/html/config/core-components.html).

In which way can i get this pin? (Sorry, it's my first machine with LinuxCNC).

Thanks
Michael 
  • beauxnez
  • beauxnez
14 Feb 2025 05:37 - 14 Feb 2025 06:25

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

has anyone made qtplasmac work with a NVEM card?

i modified the .hal file with
[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/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.9.0~pre1+git20230208.f1270d6ed7
Machine configuration directory is '/home/manu/linuxcnc/configs/NVEM'
Machine configuration file is 'NVEM.ini'
INIFILE=/home/manu/linuxcnc/configs/NVEM/NVEM.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TPMOD=
HOMEMOD=
TASK=milltask
HALUI=halui
DISPLAY=qtvcp qtplasmac
COORDINATES=X Y Z
KINEMATICS=trivkins coordinates=XYZ
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
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Found file(REL): ./NVEM.hal
Found file(lib): /usr/share/linuxcnc/hallib/qtplasmac_comp.hal
Found file(REL): ./custom.hal
Starting TASK program: milltask
Starting DISPLAY program: qtvcp
No section: 'SHUTDOWN_OPTIONS'
Adding section SHUTDOWN_OPTIONS
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
task: 809 cycles, min=0.000007, max=0.010275, avg=0.009722, 0 latency excursions (> 10x expected cycle time of 0.010000s)
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime
[QTvcp.QTVCP.QT_MAKEGUI][[31mERROR[0m]  Trouble looking for handlers in 'qtplasmac_handler': (qt_makegui.py:330)
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/qtvcp/qt_makegui.py", line 308, in _load_handlers
    objlist = h(halcomp, widgets, self.PATHS)  # this sets the handler class signature
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/qtvcp/screens/qtplasmac/qtplasmac_handler.py", line 6000, in get_handlers
    return [HandlerClass(halcomp, widgets, paths)]
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/qtvcp/screens/qtplasmac/qtplasmac_handler.py", line 220, in __init__
    float(self.iniFile.find('AXIS_Z', 'OFFSET_AV_RATIO')) * 60
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: float() argument must be a string or a real number, not 'NoneType'
[QTvcp][[41mCRITICAL[0m]  Aborted from Error Dialog
 Qtvcp encountered an error.  The following information may be useful in troubleshooting:
LinuxCNC Version  : 2.9.0~pre1+git20230208.f1270d6ed7

Traceback (most recent call last):
  File "/usr/bin/qtvcp", line 508, in <module>
    _qtvcp = QTVCP()
             ^^^^^^^
  File "/usr/bin/qtvcp", line 251, in __init__
    window.load_extension(opts.usermod)
  File "/usr/lib/python3/dist-packages/qtvcp/qt_makegui.py", line 265, in load_extension
    methods, self[obj].handler_module, self[obj].handler_instance = self._load_handlers([handlerpath], self.halcomp, self[obj])
                                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/qtvcp/qt_makegui.py", line 308, in _load_handlers
    objlist = h(halcomp, widgets, self.PATHS)  # this sets the handler class signature
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/qtvcp/screens/qtplasmac/qtplasmac_handler.py", line 6000, in get_handlers
    return [HandlerClass(halcomp, widgets, paths)]
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/qtvcp/screens/qtplasmac/qtplasmac_handler.py", line 220, in __init__
    float(self.iniFile.find('AXIS_Z', 'OFFSET_AV_RATIO')) * 60
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: float() argument must be a string or a real number, not 'NoneType'

 (qtvcp:464)
15446
15483
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
[/code]
  • Charlie
  • Charlie
14 Feb 2025 05:34
Replied by Charlie on topic Linear ATC in Linuxcnc

Linear ATC in Linuxcnc

Category: General LinuxCNC Questions

Can We use tool.tbl data as position of tool, or its only use for setting tool offset. And yess then how?
ATC possible direcly using tool.tbl ?
  • azim4411
  • azim4411
14 Feb 2025 05:29
Replied by azim4411 on topic Elumatec SBZ 130/01 retrofit

Elumatec SBZ 130/01 retrofit

Category: CNC Machines

Aside from the schematics, I have a question. When you retrofit the machine, do you remember what locking mechanism was present to lock the spindle to each tool after the tool is changed? Any sort of clutch or clamp mechanism (hydraulic/electric/mechanic, pneumatic)?
Displaying 19201 - 19206 out of 19206 results.
Time to create page: 0.380 seconds
Powered by Kunena Forum