Advanced Search

Search Results (Searched for: )

  • JetForMe
  • JetForMe's Avatar
03 Sep 2024 01:24 - 03 Sep 2024 01:27
GdkWindow unexpectedly destroyed was created by JetForMe

GdkWindow unexpectedly destroyed

Category: GladeVCP

I've never noticed this before, but today every time I quit LinuxCNC, I'd get this written to the console. Any idea what's causing it? Doesn't matter if I click the X in the window title bar or choose File->Quit.

Version: 2.9.0~pre1+git20230208.f1270d6ed7
(gladevcp:7201): Gdk-WARNING **: 18:21:56.274: GdkWindow 0x3400003 unexpectedly destroyed
**** GLADE VCP ERROR:    X Protocol Error: 3
Shutting down and cleaning up LinuxCNC...
task: 345326 cycles, min=0.000007, max=0.199925, avg=0.010275, 257 latency excursions (> 10x expected cycle time of 0.010000s)
shuttle: exiting
hm2_eth: in hm2_eth_reset
hm2_eth: HostMot2 ethernet driver unloaded
hm2: unloading
Note: Using POSIX realtime
  • bentiggin
  • bentiggin
03 Sep 2024 01:01
Did I fry my thc? was created by bentiggin

Did I fry my thc?

Category: Plasma & Laser

I hesitate to even ask about anything that’s not a mesa thcad, but I’m going to anyway.
Im trying to get an arc ok signal from a hypertherm thc to a mesa 7i97t.
The thc uses a 25 pin d connector. Arc ok(motion according to the thc manual) uses pin 17 + and pin 4 -.
I originally connected pin17+ to my power supply common and pin4- to tb4 pin4 on the 7197t. Tb4 pin6 is connected to v24+ on the power supply. 
After a lot of unsuccessful testing, I realized I mixed up my positive and negative.
So I swapped pin17 and pin4, but that didn’t help.
I also tried throwing a relay in, but that didn’t help either.
Now I’m wondering if it’s possible I damaged something with my incorrect wiring.
I know you guys probably aren’t familiar with the thc, so I attached what I think is the relevant part of the manual.
It a hypertherm sensor phc. I’m planning on hitting up hypertherm tomorrow to see what they say.
​​​​​​​
  • JetForMe
  • JetForMe's Avatar
03 Sep 2024 00:36

Partway through a loop, the program stopped because it exceeded a soft limit

Category: General LinuxCNC Questions

I've been working on this subroutine to surface my router table spoilboard (attached). It's a loop that starts at the current origin and works its way up and down Y, stepping over along X by a fraction of the tool width.

The Y moves are relative. The X moves are absolute and controlled by the loop variable. It worked once without issue. I ran it again, and it stopped after a few passes saying the move would exceed (or exceeded?) the machine's negative Y soft limit. How is this possible? 
  • JetForMe
  • JetForMe's Avatar
03 Sep 2024 00:23
Replied by JetForMe on topic Any way to reload Python and nc_subroutines?

Any way to reload Python and nc_subroutines?

Category: General LinuxCNC Questions

No that doesn't help at all. The problem is that every time I relaunch linuxcnc I have to rehome the machine. That can take ages if I'm working on the opposite corner.
  • rodw
  • rodw's Avatar
02 Sep 2024 22:59

Any way to reload Python and nc_subroutines?

Category: General LinuxCNC Questions

Not that i know but if you start linuxcnc from the command line the command
linuxcnc -l
opens the last config.
Hitting the up arrow in the console brings up the last command you typed
So it becomes very quick to rerun the last config when making changes etc.
 
  • rodw
  • rodw's Avatar
02 Sep 2024 22:37

Notes from installation of ethercat on Raspberry Pi 4

Category: EtherCAT

At a guess, the image you have used is 32 bit and the Pi4b is 64 bit
Please use the image on the linuxcnc downloads page and not the comments arouns seting wifi etc.
 
  • JetForMe
  • JetForMe's Avatar
02 Sep 2024 22:34

Why does hitting the escape key not stop an nc subroutine?

Category: General LinuxCNC Questions

Ah. It happens when you end your while loop with "end while' and not "endwhile"
  • JetForMe
  • JetForMe's Avatar
02 Sep 2024 22:18

Why does hitting the escape key not stop an nc subroutine?

Category: General LinuxCNC Questions

I've got this subroutine to surface the table, invoke from a button in the VCP. Hitting escape does not abort this program, even though it aborts regular loaded programs. The stop button does seem to stop it.

This strikes me as dangerous. Is there some way to get escape to work in all situations?
  • JetForMe
  • JetForMe's Avatar
02 Sep 2024 22:14
Adjusting maxvel stops my routine was created by JetForMe

Adjusting maxvel stops my routine

Category: General LinuxCNC Questions

I'm trying to write a g-code subroutine to surface my router table. I've attached the file. I'm running into all sorts of weird issues, but the current one is that if I adjust the Max Velocity while it's running, it just stops with wait_command() returning 1.

I'm calling it with this:
    def surfaceTable(self,widget,data=None):
        print("surfaceTable called")
        if mdiOK():
            saveMode = sStat.task_mode
            saveCoordinates = sStat.g5x_index
            print("Current coordinate system: ", saveCoordinates)
            sCommand.mode(linuxcnc.MODE_MDI)
            sCommand.wait_complete()
            sCommand.mdi("o<surface> call")
            result = sCommand.wait_complete(10 * 60)
            print(f"surface call wait result: {result}")
            sCommand.mode(saveMode)
            print("surfaceTable finished")

I really struggle to understand why calling a subroutine is so different from executing a loaded g-code file.
  • greg23_78
  • greg23_78
02 Sep 2024 22:01
Replied by greg23_78 on topic encoder.N.velocity-rpm

encoder.N.velocity-rpm

Category: Basic Configuration

thank you, it works perfectly except for the spindle speed pyvcp and spindle at speed led, which do not work.
in halcmd spindle at speed work.

in which file are they affected, i created my config with mesact ?
  • my1987toyota
  • my1987toyota's Avatar
02 Sep 2024 21:49

What's the Oddest Machine You Have Powered with LinuxCNC

Category: Off Topic and Test Posts

  Sometimes I wonder if I should have titled this topic as Unique Machines instead of Oddest Machine.
So far though the topic is working as intended. Really I just want to see the variety of what can or has
been done. That said please keep it it up.
  • JetForMe
  • JetForMe's Avatar
02 Sep 2024 21:26 - 02 Sep 2024 22:10

Any way to reload Python and nc_subroutines?

Category: General LinuxCNC Questions

Is there any way to get LinuxCNC to pick up changes to python and nc_subroutine files? While I'm iterating on them, it's a pain to have to constantly quit and relaunch linuxcnc, which is the only way I've found so far to get it to see changes.
  • JetForMe
  • JetForMe's Avatar
02 Sep 2024 21:25
Replied by JetForMe on topic Sometimes my tool unload code just…stops

Sometimes my tool unload code just…stops

Category: O Codes (subroutines) and NGCGUI

The answer was given to me in another post, and it is to pass a longer timeout to the Python function wait_complete(), which, when passed nothing, defaults to 5 seconds.
  • JetForMe
  • JetForMe's Avatar
02 Sep 2024 21:22
How can I make G30 move in Z first? was created by JetForMe

How can I make G30 move in Z first?

Category: General LinuxCNC Questions

G30 moves to the position specified in #5181-5189 in absolute coordinates. If you specify G30 Z#5183, it moves to the *relative* position in #5183, which is not what I want. I want to lift the spindle up to the Z home position, then I want it to move to X, Y home.
  • M4MazakUser
  • M4MazakUser
02 Sep 2024 21:22
Replied by M4MazakUser on topic Adding a 'C' axis

Adding a 'C' axis

Category: Advanced Configuration

Got it all working...
Displaying 22801 - 22815 out of 24273 results.
Time to create page: 0.467 seconds
Powered by Kunena Forum