Advanced Search

Search Results (Searched for: )

  • urvilsuthar
  • urvilsuthar
14 Feb 2025 06:56
Replied by urvilsuthar on topic HAL trigger M code

HAL trigger M code

Category: HAL

Hello Todd,

As mentioned "If you do need to be able to activate it while a program is running there are other ways to skin this cat. (most involve doing what ever your M-code does directly without using the M-code.)"

What i want to achive is the change in accelaration on the fly, there is also similar talk on here

To check tooling quality in the middle of a difficult job, I need slow it down. I can slow the machine down using a feed rate of 1%, but the machine speed still stays around 3000 mm/min. I would like to be able to control acceleration in order to reduce the speed to slower speeds to check the tooling effect on single mm movements.

i am available if you require any further information on this.
  • 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)?
  • tommylight
  • tommylight's Avatar
14 Feb 2025 03:09
Replied by tommylight on topic QT6 gui

QT6 gui

Category: Other User Interfaces

BKT did you delete this?
  • rodw
  • rodw's Avatar
14 Feb 2025 02:30
Replied by rodw on topic Raspi 5 SPI setup

Raspi 5 SPI setup

Category: General LinuxCNC Questions

The simplest solution was left out via chatgtp, check for the creation of the dev nodes. This has been talked about on the forum.

Any time I use ChatGPT or any of his mates, they lie. Although google's gemini did manage to write some Python code for me to connect to an API and look stuff up the other day! I was impressed.
  • cakeslob
  • cakeslob
14 Feb 2025 01:35

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

Im confused --
RPI5 - linuxcnc 2.9.2 (from iso on linuxcnc download page)  I get same results on linux on a x86 system
I have a Novusun V5 that I loaded with ....Remora-RT1052-cpp/blob/main/Firmware/remora-rt1052-3.1.3.bin
I've run halcompile on remora-nv in Remora-NVEM-main/LinuxCNC/Components/Remora-nv


Hey, can you explain the process that lead you to download the firmware from one repo, but install the component from another? I am trying to identify what is causing people to continue to make this error

remora-docs.readthedocs.io/en/latest/har...Ethernet/rt1052.html
  • cakeslob
  • cakeslob
14 Feb 2025 01:30

Remora - Rpi Software Stepping Using External Microcontroller via SPI

Category: Computers and Hardware

I havent done this in a long time, but I dont think the pins will update if you are trying to do it like that. you probably need to connect to remora with loadrt or something, but it is easier to just use linuxcnc and halshow

looks like the remora comp is working correctly, but if you cannot get out of estop there is something else wrong.

remora-docs.readthedocs.io/en/latest/development/checklist.html

Go over the checklist, and make sure you have successfully completed all the tasks. there are detailed articles for every point on the list
  • PCW
  • PCW's Avatar
14 Feb 2025 00:59 - 14 Feb 2025 01:01

Servo Oscillation Issue at ±6.6V 5i25 + 7i77, Analog Control

Category: Basic Configuration

Sounds like you have exceeded the maximum encoder count rate
with the (15 clock) digital filter.

You might try:

setp hm2_5i25.0.encoder.00.filter 0

Which sets the digital filter count to 3 so allows  5X the filter=1 count rates
  • unknown
  • unknown
14 Feb 2025 00:11
Replied by unknown on topic Raspi 5 SPI setup

Raspi 5 SPI setup

Category: General LinuxCNC Questions

If you used the latest RPi image SPI will work. I tested the SPI interface using mesflah to talk to a 7c81 using the /dev/spidev.xx interface and also testing the hm2_spix driver. If either of these failed I would of rectified it before submitting the images to be put up on the downloads page.
The simplest solution was left out via chatgtp, check for the creation of the dev nodes. This has been talked about on the forum.
  • Jdolecki
  • Jdolecki
14 Feb 2025 00:04
Replied by Jdolecki on topic 7i84 I/o in PcConfig

7i84 I/o in PcConfig

Category: PnCConf Wizard

Thanks that worked
  • Wagon56
  • Wagon56
13 Feb 2025 23:36
Replied by Wagon56 on topic Raspi 5 SPI setup

Raspi 5 SPI setup

Category: General LinuxCNC Questions

Yeah it doesnt really help with anything lately it just kinda is there as a last resort, i really really started disliking it but i was hoping it would atleast spit out some good info this time, but yeah thanks for the help, will take a look again tomorrow to hopefully get a stepper motor running
Displaying 16786 - 16800 out of 20874 results.
Time to create page: 0.378 seconds
Powered by Kunena Forum