Advanced Search

Search Results (Searched for: )

  • JT
  • JT's Avatar
18 Nov 2024 12:19 - 18 Nov 2024 12:20

Flex Gui forces machine into Manual mode when any other process switches to MDI

Category: Other User Interfaces

Thanks for the example file that helped a lot to narrow down where the mode change was taking place. Your program now works without changing modes and MDI commands in Flex work as expected.

JT
  • azax
  • azax
18 Nov 2024 11:48 - 18 Nov 2024 11:53

problem while connecting the MESA 7i76e card to RS422 modbus-RTU and servo drive

Category: Driver Boards

Hello everyone,
I am new to using LinuxCNC and the Mesa 7i76e.After connecting the Mesa 7i76e and the L7S servo drive using Modbus-RTU, I followed the connection setup as mentioned in this link:
forum.linuxcnc.org/27-driver-boards/3328...6e-with-uart?start=0

I also used the following bitfile:

freeby.mesanet.com/7i76e_7i76x1_PktD.bit

and I flashed it using Mesaflash.Next, I attempted to communicate with the L7S servo drive using the Mesa card and LinuxCNC. I connected the servo drive to the Mesa card and then connected it to a computer via Ethernet.I followed the codes provided at the bottom of this link:

linuxcnc.org/docs/stable/html/drivers/me...us.html#_quick_start

However, I modified the configuration from 7i96s to 7i76e. I calculated the CRC from google and tried sending an inertia code from terminal . my code like this :
#! /bin/bash
# First setup the DDR and Alt Source regs for the 7I96
mesaflash --device 7i76e --addr 10.10.10.10 --wpo 0x1100=0x1F800
mesaflash --device 7i76e --addr 10.10.10.10 --wpo 0x1104=0x1C3FF
mesaflash --device 7i76e --addr 10.10.10.10 --wpo 0x1200=0x1F800
mesaflash --device 7i76e --addr 10.10.10.10 --wpo 0x1204=0x1C3FF
# Next set the baud rate DDS's for 9600 baud
mesaflash --device 7i76e --addr 10.10.10.10 --wpo 0x6300=0x65
mesaflash --device 7i76e --addr 10.10.10.10 --wpo 0x6700=0x65
# setup the TX and RX mode registers
mesaflash --device 7i76e --addr 10.10.10.10 --wpo 0x6400=0x00000A20
mesaflash --device 7i76e --addr 10.10.10.10 --wpo 0x6800=0x3FC0140C
# Reset the TX and RX UARTS
mesaflash --device 7i76e --addr 10.10.10.10 --wpo 0x6400=0x80010000
mesaflash --device 7i76e --addr 10.10.10.10 --wpo 0x6800=0x80010000
# load two 8-byte modbus commands:
01 05 00 00 5A 00 F7 6A
11 03 00 8C 00 01 47 71
mesaflash --device 7i76e --addr 10.10.10.10 --wpo 0x6100=0x8C000311
mesaflash --device 7i76e --addr 10.10.10.10 --wpo 0x6100=0x71470100
# Command the TX UART to send the two 8 byte packets
mesaflash --device 7i76e --addr 10.10.10.10 --wpo 0x6200=0x08
#mesaflash --device 7i76e --addr 10.10.10.10 --wpo 0x6200=0x08
sleep 1
# display TX Mode
mesaflash --device 7i76e --addr 10.10.10.10 --rpo 0x6400
# display the RX mode reg, RX count, and the data
mesaflash --device 7i76e --addr 10.10.10.10 --rpo 0x6800
mesaflash --device 7i76e --addr 10.10.10.10 --rpo 0x6600
mesaflash --device 7i76e --addr 10.10.10.10 --rpo 0x6500
mesaflash --device 7i76e --addr 10.10.10.10 --rpo 0x6500

During testing, I noticed that when I send values, the L7S servo drive responds with unintelligible numbers or data that I cannot interpret.
 
Could the issue be in the transmission process I followed, or is it a hardware connection problem? For example, do I need a converter from RS-422 to RS-485?I would appreciate any help. Thank you! 
  • onceloved
  • onceloved's Avatar
18 Nov 2024 11:37
Replied by onceloved on topic Linux CNC powered Ethercat Mill Retrofit

Linux CNC powered Ethercat Mill Retrofit

Category: EtherCAT

If you need, I can help you configure remotely. You can contact me via the following methods: WeChat: 304394405 Discord: onceloved.cn
  • 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
  • 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?
  • shaki6996
  • shaki6996
18 Nov 2024 10:11 - 18 Nov 2024 11:23

Build documentation for our 500W Raycus fiber laser using LinuxCNC and QtPlasmaC

Category: Plasma & Laser

Here's a potential response:  

"Congratulations on reaching a usable state for your fiber laser cutter project! It’s always inspiring to see open-source communities come together to achieve something remarkable. Your acknowledgment of the contributions from dedicated individuals like Phillip Carter, Tom Berisha, Peter Wallace, Rod Webster, and many others highlights the strength and spirit of collaboration within the LinuxCNC forums.  

Sharing your configuration on GitHub and documenting the process is incredibly valuable for others embarking on similar projects. This effort not only helps foster knowledge sharing but also ensures the community continues to thrive and innovate. Kudos to you and the contributors for making this possible!"
You can read more complete information about laser fiber marking machine in the rough
  • 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


 
  • 7strideR
  • 7strideR's Avatar
18 Nov 2024 05:46 - 18 Nov 2024 07:06
Replied by 7strideR on topic Linux CNC powered Ethercat Mill Retrofit

Linux CNC powered Ethercat Mill Retrofit

Category: EtherCAT

Hi thanks,

I am trying to get a quote on the EL-8, which is a more expensive/new version but I have seen them work on LinuxCNC through a Raspberry Pi.



I am a little scared to set these up though as there is not much info on doing this from what I've seen. As I also don't have much experience here especially when it comes to the setting up the drives addresses and communication.
  • phillc54
  • phillc54's Avatar
18 Nov 2024 04:28
Replied by phillc54 on topic Defaults in QTplasmac

Defaults in QTplasmac

Category: Plasmac

I use the attached post processor to do the same (you will need to remove the .txt from the end)

I have a material number 0 in SheetCam and when the post processor sees material 0 it removes any material change and when the G-code is first run it pauses and prompts that the correct material is selected in QtPlasmaC.
 
Displaying 16951 - 16965 out of 24608 results.
Time to create page: 0.455 seconds
Powered by Kunena Forum