Advanced Search

Search Results (Searched for: )

  • tommylight
  • tommylight's Avatar
18 Nov 2024 11:37
Replied by tommylight on topic Configuring dual independent Z-axis

Configuring dual independent Z-axis

Category: General LinuxCNC Questions

The easy way: make another config for spindle.
LinuxCNC can handle multiple spindles, so that is easy, and i would still set the second Z axis as A since using any other letter would imply having CAM that can output gcode with that letter.
Scaling might need a bit of tweaking.
Do Z axis have home switches?
Do you need both used at the same time?
  • Aciera
  • Aciera's Avatar
18 Nov 2024 11:32
Replied by Aciera on topic Configuring dual independent Z-axis

Configuring dual independent Z-axis

Category: General LinuxCNC Questions

Here is a sim config for a router with 3 heads using custom switchable kinematics. The advantage here is that the gcode can use XYZ axis words regardless of which spindle is used:
forum.linuxcnc.org/10-advanced-configura...y-and-control#292847
  • tommylight
  • tommylight's Avatar
18 Nov 2024 11:13
Replied by tommylight on topic 10 or 11 stepgen

10 or 11 stepgen

Category: General LinuxCNC Questions

Yes.
  • rbj
  • rbj
18 Nov 2024 10:45 - 18 Nov 2024 10:46

Configuring dual independent Z-axis

Category: General LinuxCNC Questions

My plasma table has a unique feature: it has dual independent Z-axis, Z1 and Z2, see picture.
The idea is to be able to use two different tools, like a plasma torch and a router.
Question is, how to configure this in linuxcnc?

I am using QTplasmaC as UI and linuxcnc version 2.9.3.
I have tried a XYZW configuration, copying and changing the z-axis/join-2 to w-axis/joint-3 but this result in a crash in qtvcp/qt_makegui.py at line 498: 'VCPWindow' object has no attribute 'home_w'.

I have tried using the XYZA configuration. This works, sort of, but after homing the feed rate becomes incredibly slow. Seems to be dividing everything by 360. Does not make a difference if I set the A-axis to LINEAR instead of ANGULAR.

How to configure this setup?
  • Aciera
  • Aciera's Avatar
18 Nov 2024 08:57 - 18 Nov 2024 10:32
Replied by Aciera on topic Download Lube component

Download Lube component

Category: Deutsch

Versuchs mal mit dieser python Komponente.

1. Code unten als 'interval.py' im gleichen Ordner wie deine .ini Datei abspeichern und als Ausführbare Datei markieren.

#!/usr/bin/env python3
import time
import hal

h = hal.component("interval")
h.newpin("enable", hal.HAL_BIT, hal.HAL_IN) # HIGH enables the interval timer
h.newpin("reset", hal.HAL_BIT, hal.HAL_IN) # On change LOW->HIGH restarts the interval
h.newpin("start-with-pulse", hal.HAL_BIT, hal.HAL_IN) # If TRUE the interval starts with a pulse
h.newpin("out", hal.HAL_BIT, hal.HAL_OUT) # Output of the the interval timer, LOW if 'enable' is LOW
h.newpin("delay-time", hal.HAL_FLOAT, hal.HAL_IN) # Interval low time in milliseconds
h.newpin("pulse-time", hal.HAL_FLOAT, hal.HAL_IN) # Interval high time in milliseconds
h.newpin("time-elapsed", hal.HAL_FLOAT, hal.HAL_OUT) # Elapsed low/high time in milliseconds
h.ready()

running = False
reset = False

try:
    while 1:
        if h['enable']:
            delay_time = h['delay-time']
            pulse_time = h['pulse-time']
            if not h['reset']: reset = False
            if h['reset'] and not reset:
                running = False
                reset = True
            if not running:
                timer = round(time.time()*1000)
                running = True
                h['out'] = h['start-with-pulse']
            else:
                h['time-elapsed'] = round(time.time()*1000) - timer
            if not h['out'] and round(time.time()*1000) >= timer + delay_time:
                h['out'] = True
                timer = round(time.time()*1000)
            if h['out'] and round(time.time()*1000)  >= timer + pulse_time:
                h['out'] = False
                timer = round(time.time()*1000)
        else:
            h['out'] = False
            h['time-elapsed'] = 0
            running = False

except KeyboardInterrupt:
    raise SystemExit


2. in der ini unter [HAL] diese Zeilen hinzfügen.


HALCMD = loadusr -W ./interval.py
HALCMD = setp interval.delay-time 2000
HALCMD = setp interval.pulse-time 500

3. das 'Show HalConfiguration' tool öffnen, im linken Teil die 'interval' Komponente suchen und im 'Watch' tab die pins anzeigen. Dann 'interval.enable' auf True setzen und der Timer sollte laufen. :

 
  • Mecanix
  • Mecanix
18 Nov 2024 08:40 - 18 Nov 2024 08:51

Strange motion offsets in one direction on one axis

Category: General LinuxCNC Questions

Good to hear the wiring, solder joints and crimps are all solid. Nasty checks... but had to be done. 

Trying to reproduce would be greatly helpful. Cutting material or air, up to you. If air cutting just ensure you record a reference before for when you pause the machine where it crapped out last time, and meas offsets.

One important asset you forgot to post is your gcode. That also needs to be ruled out. Not doubting your skills here, but I'd be happy to spare a few minutes to validate it inside an industrial ISV/sim running a proven Lcnc postprocessor for you. That'll reveal if or not.

Nice machine-tool. You'd obviously know from half a mile away if indeed hardware related already (you built-it, it's in the blood line).
  • timo
  • timo
18 Nov 2024 08:28
Replied by timo on topic LinuxCNC for lathe questions

LinuxCNC for lathe questions

Category: General LinuxCNC Questions

Small mini PCs and Rpi appear to be almost same price. (when housing and power supply are added to the purchase)
The Mini PCs have only a volume of roughly 0.5 - 1 liter.
Seems neither space nor $ is a valid argument anymore, considering that the rest of the electrics will take up some space too.

My go to would be the Ethernet based card and one of the mini PCs.
  • meister
  • meister
18 Nov 2024 07:28

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

Category: Computers and Hardware

That reminds me, is there a way to configure minimum delay time between a DIR change and a movement command? some steppers are more picky about that. I also need to flip the action of the EN pin, my steppers are enable-low and it's currently outputting high when enabled.
 


you can config modifier's to each pin, there are functions like invert, debounce, ...

 

to add an delay between step and dir, you can add a debounce modifier to the step pin, than you have a delayed step signal


 
Displaying 22366 - 22373 out of 22373 results.
Time to create page: 0.517 seconds
Powered by Kunena Forum