Advanced Search

Search Results (Searched for: )

  • Will_cnc
  • Will_cnc
11 Sep 2025 19:48

Step By Step Help Needed . EL8 Leadshine to PI 5

Category: EtherCAT

Hi Shemj,Thank you so much for your help with getting the EtherCAT drives set up! Following your guide, I’ve successfully managed to connect all three drives, and they’re now running with the Probe Basic interface. The only step left is calibrating them to get the correct mm/rev on each axis.I’d really appreciate some suggestions on how to connect the spindle drive:
  • Current setup:
    • The machine’s three axes are using EtherCAT, connected through a daisy chain of Ethernet cables.
    • The spindle came with a 1.2 kW generic Chinese servo motor and drive, which has a 15-pin RS-232 serial connector.
  • Questions/options I’m exploring:
    1. Using Beckhoff hardware:
      • I have a Beckhoff EK1100. Could this be used with the appropriate module to control the spindle servo drive?
    2. Using a Mesa board:
      • Would connecting a Mesa board to the Pi via a USB-to-Ethernet adapter work, or would that introduce unnecessary complications?
    3. Alternative hardware setup:
      • Replace the Pi 5 with something like an Odroid H4 (dual Ethernet ports). That way one port could handle the Mesa board and the other the EtherCAT drives.
    4. Replacing the spindle drive:
      • The supplied spindle drive is an XCSD-20A from cncservocontrol.com. Are there any EtherCAT-compatible alternatives that would work with my motor?
  • Motor details:
    • Model: 80ST-M04030LBP
    • Power: 1.2 kW
    • Current: 5.2 A
    • Voltage: 220 V
    • Torque: 4.0 N·m
    • Speed: 3000 rpm
    • Encoder: 2500 PPR
If anyone has advice or suggestions on the best approach to integrate the spindle motor/drive, I’d be very grateful! 

   
  • MaHa
  • MaHa
11 Sep 2025 18:38

Having issues with oword test scripts in version 2.9.4

Category: O Codes (subroutines) and NGCGUI

Just in case it's not solved yet:
Use capital letters for ini file entrys...
[LASER]
LASER-OFFSET-X = -3.1702
LASER-OFFSET-Y = 0.0568

[PARK]
PARK-OFFSET = 0.125

[PROBE]
Z-OFFSET = 0.543
  • tommylight
  • tommylight's Avatar
11 Sep 2025 17:58
Replied by tommylight on topic Plasmac Post Processors

Plasmac Post Processors

Category: Plasmac

There are no
N75 M3 $0 S1
in the gcode after the first piece, and no M5 at the end of the cut except for the first cut.
Those must be added by the post processor.
  • tymko
  • tymko
11 Sep 2025 17:42

After installing probe screen, G-code does not start

Category: General LinuxCNC Questions

 
 remap=m6 modalgroup=6 prolog=change_prolog....
  • tymko
  • tymko
11 Sep 2025 17:33

After installing probe screen, G-code does not start

Category: General LinuxCNC Questions

maybe I solved the problem, I removed one line of code from ini.file, I don't know if it was a good solution but for now everything works
  • mal136
  • mal136
11 Sep 2025 15:27
Replied by mal136 on topic Plasmac Post Processors

Plasmac Post Processors

Category: Plasmac

Hello All, I'm using this post processor (PlasmaCv2.1) in Fusion 360. My issue is that my first round hole in the gcode cuts no problem, machine come downs and probes, makes a perfect cut and then the Z axis rises 1-2inches and continues along the path in the gcode but doesn't come back down to start the plasma arc, it just runs the whole program without coming back down to initiate arc and cut the material. I don't get an "arc okay" error which is odd .I went back into Fusion360 and set my retract height and clearance height to 0 to see if that would help and maybe the THC via THCAD through a MESA 7i76 board would work but it just gave me an error. "Safe Traverse Height has been reduced to 0.23in"


Images attached of my cut parameters ,material properties , gcode from Fusion 360 and some misc info. 

The machine cuts simple parts using the conversational in QTplasmaC no problem, and my THC works so I've isolated it to the Fusion 360 Gcode and unsure how to fix my issue. Possible bug maybe?

I feel like I'm doing something really dumb and overlooking something really simple, in an effort to not waste another couple days going in circles, could anyone point me in the right direction, i greatly appreciate it!
 
  • scsmith1451
  • scsmith1451's Avatar
11 Sep 2025 15:17

Having issues calling ACTION.CALL_MDI() from python handler

Category: O Codes (subroutines) and NGCGUI

I'm trying to set the coordinate system based on the user's selection of a combobox from the on_changed handler. From the documentation only found the methods ACTION.SET_MDI_MODE() and ACTION.CALL_MDI() listed but no examples of their use. I've tried the following:

Gcode = 'G55'

ACTION.SET_MDI_MODE()
ACTION.CALL_MDI(Gcode)

Which gladevcp complains about when starting up as follows:

Traceback (most recent call last):
  File "/home/scsmith1/linuxcnc/configs/mmMill/gvcp_handler3.py", line 53, in on_changed
    ACTION.SET_MDI_MODE()
  File "/usr/lib/python3/dist-packages/gladevcp/gtk_action.py", line 143, in SET_MDI_MODE
    self.ensure_mode(linuxcnc.MODE_MDI)
  File "/usr/lib/python3/dist-packages/gladevcp/gtk_action.py", line 675, in ensure_mode
    truth, premode = STATUS.check_for_modes(modes)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/hal_glib.py", line 954, in check_for_modes
    self.stat.poll()
SystemError: <method 'poll' of 'linuxcnc.stat' objects> returned NULL without setting an exception

Does anyone have code examples of how to use these two methods in a handler?

I know documenting is not anyone's favorite activity and it take a huge amount of time to write, but it would be really helpful for newbies like myself if the ACTION, STAT and INFO library functions included code snipets to help new users implement the libraries in their projects.

Regards
  • cmorley
  • cmorley
11 Sep 2025 15:03
Replied by cmorley on topic gladeVCP not calling python handlers

gladeVCP not calling python handlers

Category: GladeVCP

If you use the hal_table widget, you must set some pins active, for instance:
 setp test2.button-box-active 1

 
  • PCW
  • PCW's Avatar
11 Sep 2025 14:00

Carousel don t stop when estop is pushed

Category: QtPyVCP

You likely need to condition the carousel control pins with
motion.motion-enabled or similar. 

Posting your hal file or at least the carousel portion would
allow a more specific suggestion.
 
  • amanker
  • amanker
11 Sep 2025 13:59

Remora - Rpi Software Stepping Using External Microcontroller via SPI

Category: Computers and Hardware

Update: limit switch working. As pointed out by scotta, it was defined as home switch not limit switch.

But still no sign of energy in steppers. Always joint following error.
Serial terminal don't show anything
  • hellvetica
  • hellvetica
11 Sep 2025 12:40

Recompiling the motmod modules to expose pos-cmd pins

Category: Advanced Configuration

Thank you for the quick reply!
It's good that I can build a separate version without interfering with my base installation.

I'm having a hard time following the path of the position command through the code because of all the shared memory.
Could you give me advice on which module would be the best candidate to inject the extra pins into? Ideally it would be whatever the trajectory planner outputs its cartesian coordinates to. So instead of taking values from the trajectory planner it would take values from HAL pins.
  • scsmith1451
  • scsmith1451's Avatar
11 Sep 2025 12:12
Replied by scsmith1451 on topic gladeVCP not calling python handlers

gladeVCP not calling python handlers

Category: GladeVCP

When run with gladevcp, the widgets don't become active. How do I provide the signals to activate them?
  • hitchhiker
  • hitchhiker
11 Sep 2025 11:49
Replied by hitchhiker on topic ECMO VMC100 Retrofit with Carousel/Toolchanger

ECMO VMC100 Retrofit with Carousel/Toolchanger

Category: Milling Machines

I debounce the signals... with a schmitttrigger like from the original controller.

Still issue with state 9.
  • hitchhiker
  • hitchhiker
11 Sep 2025 11:48
Replied by hitchhiker on topic Proximity sensor hardware debounce?

Proximity sensor hardware debounce?

Category: Basic Configuration

It works.
I use a second channel to re invert the signal.
Now no noise on the signal.
Displaying 10321 - 10335 out of 16594 results.
Time to create page: 0.575 seconds
Powered by Kunena Forum