Advanced Search

Search Results (Searched for: )

  • tommylight
  • tommylight's Avatar
19 Aug 2024 19:14
Replied by tommylight on topic Gui for standalone thc

Gui for standalone thc

Category: Plasma & Laser

forum.linuxcnc.org/forum/show-your-stuff...ter-with-ihs-and-ahc
Same thing, been in daily use for over 8 years now. It also had its own THC so no wiring or programming was required for it.
Torch cycle is wired in hal and physically to M3, and the arc ok from plasma is wired to motion inhibit in hal so the machine does not move until the torch is actually on and cutting.
It uses Axis GUI as is, not PlasmaC nor QtPlasmaC.
  • Aciera
  • Aciera's Avatar
19 Aug 2024 19:13

[QTDragon] blocking in hal_manualtoolchange dialog

Category: Qtvcp

So here is an example using a python remap.

To setup python remap in your config you will need to:
1. In your config folder create a folder named 'python'
2. save this to the 'python' folder as 'toplevel.py':
import remap
3. save this to the 'python' folder as 'remap.py'
import sys
import traceback
from interpreter import *
import emccanon
from util import lineno, call_pydevd
import hal
from tkinter import *
from tkinter import messagebox

    
def g69_core(self):
    global coordinates
    if self.task == 1:
        try:
            def button_pressed(value):
                global coordinates
                coordinates = value
                ws.destroy()
                
            ws = Tk()
            # Tkinter way to find the screen resolution
            screen_width = ws.winfo_screenwidth()
            screen_height = ws.winfo_screenheight()
            size = tuple(int(_) for _ in ws.geometry().split('+')[0].split('x'))
            x = screen_width/2 - size[0]/2
            y = screen_height/2 - size[1]/2
            ws.geometry("400x120+%d+%d" % (x, y))
            ws.title('LinuxCNC')
            #ws.geometry('200x110')
            Label(ws, text=("Some text here\n")).pack()
            b1 = Button(ws, text=('Move to X1'), padx=10, pady=5, command=lambda: button_pressed('X1'))
            b1.pack(pady=5)
            b2 = Button(ws, text=('Move to X-2'), padx=10, pady=5, command=lambda: button_pressed('X-2'))
            b2.pack(padx=5)
            ws.mainloop()
        except Exception as e:
            print('ERROR: show_operator_message: ', e)

        self.execute('G0' + coordinates, lineno())

    yield INTERP_EXECUTE_FINISH
    return INTERP_OK

4. save this as 'g69remap.ngc' to a folder listed in your ini file under [RS274NGC] SUBROUTINE_PATH
; this is the wrapper remap for G69
o<g69remap>sub
M66 L0 E0       ; force sync, stop read ahead
M469            ; call the python G69_core code     
M66 L0 E0       ; force sync, stop read ahead
o<g69remap>endsub
m2

5. Add this to your ini file (if not already included)
[PYTHON]
# where to find the Python code:
# code specific for this configuration
PATH_APPEND = ./python
# import the following Python module
TOPLEVEL = ./python/toplevel.py
# the higher the more verbose tracing of the Python plugin
LOG_LEVEL = 3

6. Add this to the [RS274NGC] section of your ini file
          REMAP = G69   modalgroup=1   ngc=g69remap
          REMAP = M469  modalgroup=10  python3=g69_core

This should give you a new GCode 'G69' which should then open a popup window and give you two options to move:
 

Upon pressing a button the machine will move to the selected position and the program will continue.
 
  • meister
  • meister
19 Aug 2024 18:40 - 19 Aug 2024 18:59

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

i prefer to calculate a little more and then also incl. fast shipping and small quantities


EDIT:
I should also say that this is just a hobby, I have no intention of marketing the boards.

if someone in DE (or maybe EU) wants one, i can send it at cost price, i just can never order a single one.
  • cakeslob
  • cakeslob
19 Aug 2024 18:28

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

damn mec, that was fast. but yeah i would look at the little W5500 lite modules, unless you got the whole w5500 part cheaper than $4. saves a bunch of space, but you can also make it as an optional add on. they seem like a pretty consistent part, ive bought around 40-50 so far from a few vendors so I could check how repeatable they are across lots

ok, but i have to look what is available for a good price,
now i have ordered parts for ~14 Euro at aliexpress, ( >= 4 boards)
3.5 Euro / Board + 2 Euro PCB + 18 Euro TangNano9K + 8 Euro 5xBOB + .....
<35 Eruo for 5 or <43 Eruo for 10 axis
sounds too good, but will see :)
EDIT: ok, forgett the W5500 :(  + 4Euro


damn i will need to send you some links to where ive been getting my stuff. i think you can get it down to 2.5-3 euro per w5500, and probably 4 euro for the bob. individual quantities arent much difference, but when you buy 10-20 at a time it adds up.
  • bentiggin
  • bentiggin
19 Aug 2024 18:17
Replied by bentiggin on topic Gui for standalone thc

Gui for standalone thc

Category: Plasma & Laser

Yes. But it doesn’t have a specific input for it. It has a cycle start input that will cause it to initial height sense and start the arc. It also has a switch for doing the initial height sense.
  • tommylight
  • tommylight's Avatar
19 Aug 2024 18:08
Replied by tommylight on topic Gui for standalone thc

Gui for standalone thc

Category: Plasma & Laser

Does it also do Initial Height Sensing on its own?
  • bentiggin
  • bentiggin
19 Aug 2024 18:01
Gui for standalone thc was created by bentiggin

Gui for standalone thc

Category: Plasma & Laser

I am working on retrofitting an old cnc plasma.
It has a standalone thc, a hypertherm phc.
Since the thc controls the z axis, the only outputs I think I need for it are cycle start and corner hold/thc off.
Im using a mesa 7i97t so I haven’t be able use mesact to configure it for qtplasmac.
Ive been trying to get it to work in roundabout ways, but the more I learn about qtplasmac, the more I feel like qtplasmac is a poor choice. I love the plasmac look, but it seems way too complicated to make it work with no z, no probe/ohmic, and not being integrated with gcode that wouldn’t be used with my setup.

So I’m trying to figure out which gui would give me the best start for a simple plasma with minimal inputs and outputs. Should I continue trying to use qtplasmac or would axis, gmoccapy, or? be a better choice.

I used to use sheet cam for a mach3 plasma that I had set for super simple gcode. I’d like to use sheetcam again, and keep the gcode simple. 
  • Moutomation
  • Moutomation
19 Aug 2024 17:19
Replied by Moutomation on topic İnstall glade

İnstall glade

Category: Gmoccapy

Thank you very much
  • Aciera
  • Aciera's Avatar
19 Aug 2024 17:06

[QTDragon] blocking in hal_manualtoolchange dialog

Category: Qtvcp

The point is that you cannot inject MDI commands when in auto mode.
My approach would be to use a custom mcode.
Have a look at this
forum.linuxcnc.org/38-general-linuxcnc-q...iable?start=10#57149

It's a bit dated but should still work. You could also use python instead of tcl.
  • chernogorsky
  • chernogorsky
19 Aug 2024 16:51
Replied by chernogorsky on topic [QTDragon] blocking in hal_manualtoolchange dialog

[QTDragon] blocking in hal_manualtoolchange dialog

Category: Qtvcp

Ok, I made some tests
I managed to replace the button, but
I can do nothing from the dialog itself
it looks like during the dialog im in "auto" mode
and non of my attempts

cmdList.append(('command',"G1 G53 X300"))
#ACTION.PAUSE_MACHINE()
ACTION.CALL_MDI_LIST(cmdList)
#ACTION.CALL_MDI_WAIT('o<pnc_tc_manual> call',time=10, mode_return=True)
#ACTION.CALL_OWORD('o<pnc_tc_manual> call')
#ACTION.RESUME()
#ACTION.cmd.mdi_and_return(None,cmdList)

works

[QTvcp.QTVCP.QT_ACTION][DEBUG] MDI_WAIT_Command= G0 G53 X300, maxt = 10 (qt_action.py:204)
[QTvcp.QTVCP.QT_ACTION][DEBUG] CALL_MDI_WAIT Command: G0 G53 X300 (qt_action.py:207)
[QTvcp.QTVCP.QT_ACTION][ERROR] CALL_MDI_WAIT timeout surpassed 10 seconds (qt_action.py:211)
mdi_execute_abort: dropping 1 queued MDI commands



I probably miss the point you try to explain earlier

The only option I have not tried yet is
change the dialog, so tool_change button press return some value
work with that value in the loop in qt_toolchangeauto macro, since it's in normal auto mode - it may execute gcode / commands

it would reload dialog every button press (on pi4 its a pain), but at least it might work
  • RLA
  • RLA
19 Aug 2024 16:04
Replied by RLA on topic Open Configuration tool issue

Open Configuration tool issue

Category: Configuration Tools

Again I apologize....but I do not see that option anywhere in pcconfig...what am I missing?

Thanks
  • PCW
  • PCW's Avatar
19 Aug 2024 15:43
Replied by PCW on topic Open Configuration tool issue

Open Configuration tool issue

Category: Configuration Tools

You can use pncconfs discovery option for this.
  • Mecanix
  • Mecanix
19 Aug 2024 15:31 - 19 Aug 2024 15:37
Replied by Mecanix on topic Video about shielding cnc machine wiring

Video about shielding cnc machine wiring

Category: Computers and Hardware

Most of the hobby machine-builder (*myselfincluded) hardly put effort in selecting the correct wiring for the job!! /lazy. And a lot of us can't differentiate between power-vs-signal wire, mΩ/m a.k.a. voltage drop, let alone using the correct gauge-vs-freq if they do. Shielding and wiring arrangement requirements comes last, imho.

Great vid regardless. Watched it all, relaxing! I like the guy and will bookmark his website/store.
  • RLA
  • RLA
19 Aug 2024 15:00
Replied by RLA on topic Open Configuration tool issue

Open Configuration tool issue

Category: Configuration Tools

Sorry..I meant the Mesa configuration tool...pncconfig works...the problem is that I nee new firmware for more axis through 7i96s and thought I needed Mesa Configuration tool to do this...is that wrong?...

Thanks
  • garthnoakes
  • garthnoakes
19 Aug 2024 14:57
Replied by garthnoakes on topic LED to indicate M3/M5 status

LED to indicate M3/M5 status

Category: GladeVCP

Thanks - I have it working using pyvcp, I connected the pin to both the LED and joystick in the postgui file.
Displaying 20776 - 20790 out of 26041 results.
Time to create page: 0.459 seconds
Powered by Kunena Forum