Advanced Search

Search Results (Searched for: )

  • JohnnyCNC
  • JohnnyCNC's Avatar
25 Feb 2025 13:05

Getting QTDragon settings values from within remap.py

Category: General LinuxCNC Questions

By ngc program does that also include a remap done in Python?

I thought the values were stored in self.lineedit_list.sensor_x and self.lineedit_list.sensor_y but I can't seem to get at them.

Thanks
John
  • hakinen2255
  • hakinen2255
25 Feb 2025 12:19
How to open QT ui file in LinuxCNC was created by hakinen2255

How to open QT ui file in LinuxCNC

Category: Qtvcp

Hi all,

I am a windows user and very new in Linux environment, because of the limitations i am switching from Mach4 to Linuxcnc.

- Os: Debian 12 bookworm and linuxcnc came together with it
- manage to install QT 5.15.8 designer
- also linuxcnc widgets installed in QT designer

I prefer to use vertical screen so at first i wanted to try to design a new ui from scratch, i will also try to modify an existing 4 axis horizontal ui to vertical by just moving the widgets around(not deleting or adding anything) but first;

i am following this guide linuxcnc.org/docs/stable/html/gui/qtvcp...._sheet_custom_screen

put some buttons, gcode view, graphics view etc. but stuck with the line where it says "save the .ui file", it says to save it as tester.ui in sims/qtvcp folder. it doesnt say where that folder is or how to load the ui in linuxcnc.

this is most probably a very simple question but can any of u guys tell me where that folder is and how to open tester.ui gui in linuxcnc and test it as sim ui?

I am getting used to all linux environment and that "sudo" thing so please say it as simple as possible like u are teaching to a windows user

Thanks in advance..
  • aikiaviator
  • aikiaviator
25 Feb 2025 11:49

Move Machine to inside soft limits when Probe Basic on

Category: QtPyVCP

Sorry, shorthand. -ve = negative, +ve = positive. Was using it to express direction.

i.e. 0 value to negative values (i.e. -ve) etc...
  • Dee436
  • Dee436
25 Feb 2025 11:25 - 25 Feb 2025 11:29
Replied by Dee436 on topic QtPlasmac problems

QtPlasmac problems

Category: Plasmac

Ok so disabled the irq coalescing.  ping stats are pretty much identical and I still get the same realtime errors popping up.

I am also attaching the sheetcam code that generates the “ Radius to end of arc differs from radius to start:” error. I have tried with a number of different gcode files and if they include arcs they result in the error. I added in the G91.1 to see if it fixed it, it didn’t

 

File Attachment:

File Name: 10mmmotorp...dSMM.ngc
File Size:3 KB
  • noqui
  • noqui
25 Feb 2025 11:25
Replied by noqui on topic Flexible GUI

Flexible GUI

Category: Flex GUI

Hi. 1) How did you started your Flexible GUI? Just modifying the AXIS.GUI (don't know where it is), or creating a new one? And 2) how do you compile it then with linuxcnc? Thanks a lot.
  • Ismacr63
  • Ismacr63
25 Feb 2025 11:22 - 25 Feb 2025 12:12
Replied by Ismacr63 on topic No Keyboard jog after update 2.9.3 to 2.9.4

No Keyboard jog after update 2.9.3 to 2.9.4

Category: QtPyVCP

thank you so much. Before I used Shift for fast movement. Now it doesn't work, can it be activated somehow? Is there a changelog where I can see basic probe changes?
  • RNJFAB
  • RNJFAB
25 Feb 2025 10:54

Homemade CNC Plasma - hypertherm, Mesa, gear drives, nema 34.

Category: Show Your Stuff

Its been a very busy few days. slowly getting tools dialed in for the new machine. Still a long way to go with ohmic sensing and the air scribe, but I'm happy with how everything is moving. the factory hypertherm cut charts are about 1000mm/min off what is actually working.

  • denhen89
  • denhen89's Avatar
25 Feb 2025 10:51

(LPT) Debian 12 Latency spikes/unexpected real time delay. Looking for solution.

Category: General LinuxCNC Questions

This is interesting... I will read about that later. If i can directly save files from Fusion360 to that USB drive that is plugged to the Router, then this option might be best.
I will test it, thank you!
  • JB-Motoring
  • JB-Motoring
25 Feb 2025 10:48
Replied by JB-Motoring on topic Mesa 7i97T + 7i84 + 7i78 configuration

Mesa 7i97T + 7i84 + 7i78 configuration

Category: General LinuxCNC Questions

Okay,

I managed to get the encoders and Analog outputs working :)!

The next thing would be to get the io's working correctly.

I attached the corrected hal and ini- also the thing that comes from "halcmd show pin > all_linuxcnc_pins".

It feels like, I am missing some ios.

Is that correct? What about the sserial init. at the beginning of the .hal?

Thanks guys :)
  • rainbowkoala49
  • rainbowkoala49
25 Feb 2025 10:29 - 25 Feb 2025 10:29
Replied by rainbowkoala49 on topic Elumatec SBZ 130/01 retrofit

Elumatec SBZ 130/01 retrofit

Category: CNC Machines

is it entirely impossible or just not worth the effort? because I dont think so replacing the motors and/or drives is within our budget :(
  • dm17ry
  • dm17ry's Avatar
25 Feb 2025 10:28 - 26 Feb 2025 06:55
Replied by dm17ry on topic Automatic naming of signals in HAL

Automatic naming of signals in HAL

Category: General LinuxCNC Questions

i was suggesting that you can easily do it in TCL youself, but apparently there's no command which would return a net name a pin connected to. only "show pin" which prints to stdout. and it's a bit complicated to capture it into a variable...
anyways, the following show work:

proc redirect_variable {varname cmd} {
    rename puts ::tcl::orig::puts
    global __puts_redirect
    set __puts_redirect {}
    proc puts args {
        global __puts_redirect
        set __puts_redirect [concat $__puts_redirect [lindex $args end]]
    }
    uplevel $cmd
    upvar $varname destination
    set destination $__puts_redirect
    unset __puts_redirect
    rename puts {}
    rename ::tcl::orig::puts puts
}
set netno 1
proc anet {args} {
    redirect_variable res {show pin {*}$args}
    if [regexp {[<=]=[=>]\s+(\w+)} $res match net] {
        net $net {*}$args
    } else {
        net net_$::netno {*}$args
        incr ::netno
    }
}

loadrt logic names=geartrain_slow_OR personality=0x203
addf geartrain_slow_OR servo-thread
anet geartrain.stage1.search_reverse => geartrain_reverse_OR.in-00
anet geartrain.stage2.search_reverse => geartrain_reverse_OR.in-01
net named_net geartrain.stage3.search_reverse
anet geartrain.stage3.search_reverse => geartrain_reverse_OR.in-02
anet geartrain.stage3.search_reverse => geartrain_reverse_OR.in-02
anet geartrain_slow_OR.or => hm2_7i95.0.7i84.0.0.output-10 

but debugging HAL files won't be easy...
  • unknown
  • unknown
25 Feb 2025 09:57

(LPT) Debian 12 Latency spikes/unexpected real time delay. Looking for solution.

Category: General LinuxCNC Questions

Another option, if your router supports it, is to use that to share files, I have a TPLink TD-W9980 which I just use as an access point, plug a USB drive into it and I use that as a central point for small files. I know it's always on and always available.
  • denhen89
  • denhen89's Avatar
25 Feb 2025 09:40

(LPT) Debian 12 Latency spikes/unexpected real time delay. Looking for solution.

Category: General LinuxCNC Questions

Update with good news:
I decided on yesterday evening to install Debian (7?) wheezy 2.7.x and then i upgraded to 2.9.
- No unexpected realtime delays on start up
- no joint following errors
- strangely, OneDrive is working with rclone, but need to mount everytime after reboot, but i read its possible to automatically mount it.

I didnt test much, but i was 45min ago in the workshop with the pc after 8h latency-histogram test and tested all functions and axis movements. On tomorrow i will do more test.


@unknown: Thanks for the tipps. Actually, 2 days ago i ordered a input filter to vfd and firrites beads for the output cables to motor. Also i have mounted it to the wall.
I didnt know about the "Line Reactor". I will check which one i need and for sure i will also order it. I want to be 100% sure that there will be no problems comming from the vfd in future.

Also thanks for the winscp tip, i will take a look at it if OneDrive fails.
I also tested filezille ssh and it works, BUT i will explain how i did it always and its for me the most comfortable setup:
- When i save cnc programms in Fusion360, the files are saved directly to a OneDrive cloud folder.
On my Workshop Windows PC, as well as my main Home PC i have set it up like that, so even when all Windows PCs are offline, i can still access the files on the LinuxCNC PC.

Now, if i would use FileZilla, the LinuxCNC PC has to be ON.
Also, i have more steps to do: First save files in Fusion360, then move the files to the Linuxcnc pc.
Its not a catastrophe, but onedrive mount is faster and simpler.
The best would be to have a hardware server that is always on, but if its even possible, then for sure it not a quick thing to setup.

Okay i have to start to work, but MAYBE finally the problem is solved, but i need to do some tests on tomorrow, when the VFD input filter is installed and the ferrites beads.
Br, Denis
  • jjdege
  • jjdege's Avatar
25 Feb 2025 09:26

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

Hi
I apologize but there are more than 200 posts
I looked through them, I didn't find an answer, maybe I missed it.

I was wondering if the Stlink tool in Debian is suitable for flashing the NVEM V5
if so, I don't know what should be inserted in "Goto address" maybe 0x080000?


 


thanks
  • Aciera
  • Aciera's Avatar
25 Feb 2025 09:02 - 25 Feb 2025 09:19
Replied by Aciera on topic HAL trigger M code

HAL trigger M code

Category: HAL

Just to be clear:
Changing acceleration values during Gcode execution IS possible. But the changed values are only used AFTER the interpreter has encountered a queuebuster command (eg M66 E0 L0) in the gcode which forces a synchronization between the interpreter and actual motion control.
For an example of how to use custom MCodes to change ini values (eg axes-limits, -velocity and -acceleration ) see the included 'millturn' simulation config where these values are changed using M128/M129:
github.com/LinuxCNC/linuxcnc/blob/master...millturn/mcodes/M129

The queuebuster command (ie M66 E0 L0) is located in the preceding 'M428/M429' remap that call 'M128/M129' respectively:
github.com/LinuxCNC/linuxcnc/blob/master...ap_subs/429remap.ngc

The split in MCodes is necessary because it is not possible to set halpins directly through gcode but only through a hal command. On the other hand it is not possible to issue gcode commands to synch the interpreter using a hal command.

So what all this means is that changes to axis acceleration have to be inserted into the gcode program prior to program execution.
Displaying 15811 - 15825 out of 20835 results.
Time to create page: 0.484 seconds
Powered by Kunena Forum