Advanced Search

Search Results (Searched for: )

  • dabiaoge6699
  • dabiaoge6699
24 Aug 2024 13:13
EtherCAT IO设置 was created by dabiaoge6699

EtherCAT IO设置

Category: EtherCAT

 

File Attachment:

File Name: ethercat-c...24-6.xml
File Size:3 KB
Hello, I have a parallel port Macro3 card and I would like to expand my IO. I have an EtherCAT IO with 16 inputs and 16 outputs, and my XML file is ready. Can you tell me how to make my program use HAL files and how to write them
  • Kirvesmies
  • Kirvesmies
24 Aug 2024 11:20
Replied by Kirvesmies on topic Lathe turret tool changer

Lathe turret tool changer

Category: Advanced Configuration

Hey Erik, any progress?
I'm currently retrofitting the same model and thought I might ask you first before reinventing the wheel. It would be really nice to get automatic homing, as well as reverse jogging for slightly faster tool changes. Your machine does have the retractable pawl that allows reversing the turret, right?

Perhaps even better than a homing cycle would be to read the turret position on M6 instead of asking linuxcnc for the current tool number (and if for whatever reason the turret is not aligned, reverse until it is) and then proceed to the rest of the tool change routine.
  • Moutomation
  • Moutomation
24 Aug 2024 09:59
Replied by Moutomation on topic Computer Shutdown

Computer Shutdown

Category: General LinuxCNC Questions

Hello,
I use gmoccapy. When I turn on the machine, the computer starts first, then gmoccapy. How can I shut down Linuxcnc first and then the computer when I press an external key?
Can I do this with a button on the machine?
  • rodw
  • rodw's Avatar
24 Aug 2024 09:50
Replied by rodw on topic The blacksmith's plasma table

The blacksmith's plasma table

Category: Plasma & Laser

Its getting exciting for you.
 2 M Ohm resistor will give you a full scale  reading of 210 volts. (per the THCAD manual p 6)
The Thcad full scale is 10 volts so you have a 21:1 divider.
  • Moutomation
  • Moutomation
24 Aug 2024 09:29
Replied by Moutomation on topic İnstall glade

İnstall glade

Category: Gmoccapy

wonderfull thanks a lot
  • Aciera
  • Aciera's Avatar
24 Aug 2024 09:06
Replied by Aciera on topic İnstall glade

İnstall glade

Category: Gmoccapy

Actually there is a much easier way to do this as GladeVCP has a built in module for saving panel state on shutdown:
www.linuxcnc.org/docs/html/gui/gladevcp....on_gladevcp_shutdown

To try this you need to:
1. Delete 'gladevcp-handler.py' in your 'python' folder (since you seem to have more than one panel it makes more sense to name the handler file like the panel it serves)

2. Save this as 'testpanel-handler.py':
#!/usr/bin/env python3

import hal
from gladevcp.persistence import IniFile,widget_defaults,set_debug,select_widgets

debug = 0

class HandlerClass:

    def on_destroy(self,obj,data=None):
        # note: save_state(<object to fetch attributes from>) only:
        self.ini.save_state(self)

    def __init__(self, halcomp,builder,useropts):
        self.halcomp = halcomp
        self.builder = builder

        self.ini_filename = __name__ + '.ini'
        self.defaults = {  IniFile.vars: dict(),
                           IniFile.widgets : widget_defaults(select_widgets(self.builder.get_objects(), hal_only=False,output_only = True))
                        }
        # note extra self.builder parameter
        self.ini = IniFile(self.ini_filename,self.defaults,self.builder)
        # note - only the object which gets attributes set is passed:
        self.ini.restore_state(self)


def get_handlers(halcomp,builder,useropts):
    global debug
    for cmd in useropts:
        exec(cmd, globals())

    # get some detail what save/restore etc are doing
    set_debug(debug)

    return [HandlerClass(halcomp,builder,useropts)]
 
2. Update the tab command In the [DISPLAY] section of your ini to this:
EMBED_TAB_COMMAND= halcmd loadusr -Wn testpanel gladevcp -c testpanel -u python/testpanel-handler.py -H ./gladevcp/testpanel.hal -x {XID} ./gladevcp/testpanel.ui

3. Open 'testpanel.ui' in glade and select the 'hal_spinbutton1' widget
 a) Remove the handler from 'GtkSpinButton.value-changed' signal (that is the one we added last time):
 

 b) Add 'on_destroy' as handler for the 'GtkWidget.destroy' signal :
 

That should be all.
Note:
- The 'on_destroy' handler only needs to be added to a single widget in the panel, does not matter which one as they all get destroyed when the GUI is closed.
- This will save/restore the state of the whole panel
- The data is stored in a file named 'testpanel-handler.ini'
- If you have more than one custom panel you can copy this handler file for each of them and replace 'testpanel' in the filename and the 'EMBED_TAB_COMMAND' with the name of the panel.
 
  • polskleforgeron
  • polskleforgeron
24 Aug 2024 08:58 - 24 Aug 2024 09:01
Replied by polskleforgeron on topic The blacksmith's plasma table

The blacksmith's plasma table

Category: Plasma & Laser

Hi everyone, and hi @tommylight ! I'm here for an update after a while using the table.
I'm very glad I built this machine, it saves me a ton of time. It already paid for itself as I had an order of 50m of guardrail with a lot of sheet metal. It would have drove me crazy cutting it with the grinder.

I did some changes though. Upgraded the X axis motor from a nema 17 (65Ncm) to a nema 23 (1.26Nm) as it was sometimes missing steps due to a lack of torque. I also removed all the cable to the limit switches (exept the float ofc) as there where not really necessary and added a lot of cable which could get stuck during movement. I can easily put them back if needed though.

I'm really impressed on how clean it cuts thin sheet metal when you got the setting right, even with my cheap chinese plasma cutter. I have almost no post grinding to do and the slag just go away easily with a scrapper. I feel, again, I'm saving so much time and health using less the grinder.

I have a bit of time ahead of me so I started to set up the THC (I wasn't using it until today). Of course i doesnt work and I have no idea why.

First I'm not sure what I should enter when asked for the voltage divider. I'm using a THCAD-2 with two 1MO resistor on both + and - cable. I've entered THCAD-2 with W1 UP when asked during the configuration. By default there is a 20 ratio voltage divider. I would say I have no voltage divider and should enter 1 but I'm not so sure...

Anyway, I'm pretty sure it isn't what makes it not work. When cutting, even though I have enabled the THC (both in QTplasmaC and in sheetcam) the "active" indicator on QTplasmaC never turn on. I'm not sure where to start to know what's wrong (the physical led on the THCAD-2 board is turned on though).

I'd like to again thank the linuxCNC community for helping me to build this plasma cutter. It tremendously help my small buisness to be profitable.
  • MarkoPolo
  • MarkoPolo
24 Aug 2024 08:11
Replied by MarkoPolo on topic QtDragon, 2 modifications

QtDragon, 2 modifications

Category: Qtvcp

I'm trying to change the names of the buttons "action_spindle_rev" and "action_spindle_fwd" in the style sheet. But the text change function only works on two buttons "action_mist" and "action_flood"
What is the way to make it work on the other buttons?
  • feng
  • feng
24 Aug 2024 08:06 - 24 Aug 2024 08:07

How to link macro buttons on MDI screens to external mechanical buttons for use

Category: Gmoccapy

Hello
How to link macro buttons on MDI screens to external mechanical buttons for use
  • itsemast
  • itsemast
24 Aug 2024 07:20

Linuxcnc 2.9.2 and 2.93 images for Raspberry Pi 4b & 5

Category: Installing LinuxCNC

I am now designing my first CNC controlled by an ARM SBC, it's going to be a small and simple 3 axis machine. RPI4 seems to be the most supported option: SPI for Remora and RIO.

RPI 4 comes in 4 different  RAM configurations: 1GB, 2GB, 4GB and 8GB. Which configuration would be optimal?
  • msurmei
  • msurmei
24 Aug 2024 05:44 - 26 Aug 2024 16:39
BT-30 chinese spindle unmount was created by msurmei

BT-30 chinese spindle unmount

Category: Milling Machines

I need to take the drawbar out from the spindle in the pictures. Draw force is 250 lbs and I need to check the springs and maybe try to fix it. Don't know what was the force when new but it was advertised as bit more than 600 lbs ( 280kg). 
Any sugestion how to take it out? cannot find some proper drawings for this kind of spindles.

UPDATE
Nevermind, it was actually quite easy ... just unscrew the part marked in red. The drawbar will go out easily , but the belleville springs will remain in the main shaft ( so take care not to drop them on the floor as I did ...)
  • Moutomation
  • Moutomation
24 Aug 2024 04:05 - 24 Aug 2024 06:30
Replied by Moutomation on topic İnstall glade

İnstall glade

Category: Gmoccapy

How can I make the buttons I put in Glade so that they become active when I first press them, such as turning the water on and off, and become passive when I press them the second time?

done!
I adjusted it by looking at the features of the water button.
Displaying 22051 - 22065 out of 25364 results.
Time to create page: 0.449 seconds
Powered by Kunena Forum