Advanced Search

Search Results (Searched for: )

  • Leuo_
  • Leuo_
22 Sep 2025 18:09

Lichuan LC20E Homing, End switches, Probing

Category: EtherCAT

Hello, can you share your configuration?
I have an LC20E Drive with a 1kW motor with brake.

However, I am having problems with the motor configuration. Whenever I try to move it, the Er.201 alarm occurs. I have tried several configurations, even using Sandro's configuration, since his kit is similar to mine, but without success.
  • unknown
  • unknown
22 Sep 2025 17:25
Replied by unknown on topic Recommendations for a dual NIC SBC or mini-pc

Recommendations for a dual NIC SBC or mini-pc

Category: EtherCAT

Funny how things are, I've always run my RPi5 from the 15wat PSU, using the waveshare Nvme board and the RPi cooler. I have a keyboard with an internal USB hub and a wireless mouse connected via the hub in the keyboard, never had an issue with resets or the like. I have turned all the power saving stuff for the wireless interface off.
Maybe I've just been lucky with this one, and the other one I have will be different.
  • MaHa
  • MaHa
22 Sep 2025 17:11
Replied by MaHa on topic The Parameters

The Parameters

Category: General LinuxCNC Questions

This is for the loaded tool.
 dont know how to read the tooltable with gcode. I'm affraid it's not possible. 


(DEBUG, Outil actif = #5400) 
(DEBUG, Longueur outil = #5403)
(DEBUG, Diamètre outil = #5410)
#<tool_radius> = [#5410 / 2]
(DEBUG, Rayon outil = #<tool_radius> )
 
  • PCW
  • PCW's Avatar
22 Sep 2025 17:09

Mesa smart serial or PktUART or serial over RS232 or udp for robot joints

Category: Advanced Configuration

SSerialB is the large packet version of SSerial and firmware with SSerialB can
be built for any Mesa FPGA card the supports LinuxCNC.

But... if this is for a one-off  design it might be simpler to just have the required number of encoder
channels (either quadrature or absolute) built into the base interface.

(or if it's a big enough machine, use EtherCAT drives)
  • Hakan
  • Hakan
22 Sep 2025 16:57
Replied by Hakan on topic Trouble with Cia402 drive configuration

Trouble with Cia402 drive configuration

Category: EtherCAT

Ok, to understand a bit better, post the error you get.
If it is just that the device doesn't go to OP, please post the, say, 40 last lines of the output of "sudo dmesg".
Please also post you ethercat-conf.xml and the output of the "ethercat sdos" command.

I want to see the error from EtherCAT master which come in the syslog.
And match your config with the actual sdos the drive have.
  • Hakan
  • Hakan
22 Sep 2025 16:49
  • JackRay
  • JackRay
22 Sep 2025 16:44
Replied by JackRay on topic The Parameters

The Parameters

Category: General LinuxCNC Questions

Hello,
I need to acces at these set :DEBUG, Outil actif = #<tool>)
(DEBUG, Longueur outil = #<tool_length_offset>)
(DEBUG, Diamètre outil = #<tool_diameter>)
(DEBUG, Rayon outil = #<tool_radius>)

wihtout succes

Thanks
  • tommylight
  • tommylight's Avatar
22 Sep 2025 16:23

Setting up kinematics for my Ballscrew articulated B-axis

Category: Basic Configuration

Your image links don't work.

Works fine here.
And do not advise anyone to upload pictures to third party sites, they are not safe, just google "malware on file sharing websites" and be amazed.
GitHUB is OK, though, for now.
  • boksi
  • boksi
22 Sep 2025 16:19 - 22 Sep 2025 16:23

Mesa smart serial or PktUART or serial over RS232 or udp for robot joints

Category: Advanced Configuration

 [justify]Hello, I am looking for some advice here while still learning about Linuxcnc.I have robot arm with 6 custom drives and I would like to integrate it more with Linuxcnc and use kinematics module. Currently it is driven in joint space with mesa 6i25 via step/dir interface. From what I saw there are multiple ways to get joint positions into Linuxcnc. Have to tell here that encoders are in some way absolute as they use batteries and on power on send current position over uart and from that point and further on just behave as incremental and send A and B pulses (these pulses are added in software to first read out position). Position read is handled in drives. I am thinking about best way to transfer 6 encoder readings to Linuxcnc. Have to check with gear ratio but data from encoders would be at least 24 bits(with multiple turns) and lets fix it to be 4 bytes per encoder. Another thing is that this communication should be isolated from drives as step/dir are also isolated from drives.

My questions are :


1. Do I need this enc data only for handling robot joints limits and for first start up position read (as all loops are closed into drives)?

2. Are these encoders data needed every 1mS for servo tread (in respect that I want to move robot in Cartesian space)?

3. What would be constraints on timing and synchronization of these 6 encoder readings?
  
   My idea is to use one additional mcu (stm32) to do "fast" communication with 6 drives (via uart, spi, i2c or can but most probably uart(RS485) with speeds in range from 1Mbps to 2Mbps ), do acquisition of 6 encoder channels and send it Linuxcnc. Mcu could issue 6 read commands "simultaneously"  on 6 UARTs, wait for all responses (ISR with control logic in drives works at 16KHz so worst case ~62uS delayed response concerning priorities), pack data and send to Linuxcnc.

4.  Which one would be best/easiest to use? Mesa smart serial, Mesa PktUART, pc serial port with custom protocol, ethernet -> UDP or something else?

- PC serial port seems to be slow with max speed of 1115200 - 128000bps, have to do isolation

- Mesa smart serial, as I see no isolation (if I want to use it just with bare 6i25 + RS422 chip, perhaps there are some add on boards which offer isolation? ) and concerning post from 29 Aug 2021 18:33 #219118
"
Replied by PCW on topic Mesa Smart Serial Interface Questions (expanding and/or encoder card options)

PWM would be possible on sserial as would encoders.
    encoders use a lot of bits so it's not too practical to do multiple
    encoders on a remote sserial card due to the current 96 bit
    packet size limit (this has been expanded to 224 bits but no current
    sserial remotes use more that 96 in and 96 out)
    "
    If I use stm32 for acquisition of all enc data, I would need 6 encoder * 32 bits -> 192 bits in total (possibly little more), is there new firmware for packet size of 224bits already available for 6i25?  If so where I can find it?  If I don't want to use stm32 then I need fpga firmware (or mesa board) with at least 6 smart serial blocks but in this case each one of 6 drives would have to cummunicate over smart serial, not sure here if drives could follow smart serial timings due other higher priority tasks (as read on forum after sending request mesa serial is expecting reply in some time ~20uS(not sure in which phase discovery or...)      
    - stmbl code available
    - arduino code availale (work in progress as stated)

- Mesa PktUART, as I read available speeds can go very high around 10Mbps, have to provide isolation, Rx buffer size of 1024 bytes, would implementation be straight-forward or there could be some issues?
  I would still plan to use it with stm32 which collects 6 position data (24bytes) and send it via PktUART. Only issue here would be number of available UARTs on stm32 but possibly this could be resolved with remapping RX/TX pins.
  I suppose concerning fpga space, firmware for PktUART could be made along with 6 step gen for 6i25?

- Ethernet -> UDP seems to me as good option as it provides isolation and could be handled with available stm32 + W5500 and
  seems that there is some source code already available

 www.forum.linuxcnc.org/38-general-linuxc...or-linuxcnc?start=10

 forum.linuxcnc.org/24-hal-components/287...rduino-over-ethernet
 
Thanks[/justify]
  • peterpan
  • peterpan
22 Sep 2025 15:45
Trouble with Cia402 drive configuration was created by peterpan

Trouble with Cia402 drive configuration

Category: EtherCAT

I've been working on an EtherCAT build for a couple of months now, and wanted to avoid posting here, but it seems I have hit a wall.
For some background: I am completely new to LinuxCNC but wanted to build an EtherCAT AXYZ cnc with Cia402 drives. I got an EK1100, EL1008, and EL2008, and my brother gave me a ClearPath-EC Teknic Cia402 (CoE) drive. I had a raspberry pi 5 available, so I am testing my configuration on that right now. I used the Pre-packaged rasp-pi install (Debian 12) with LinuxCNC from the linuxcnc website, and had very little trouble following Rod's installation from repositories. From there I had a lot of trouble, but got a configuration based off of the sim.axis config working with the EtherCAT slaves, and was able to test I/O with no trouble. 
Now, as I am attempting to incorporate the drive, but I can't get it into the OP state. The EtherCAT master recognizes it, and I can define pdos, but sdo 0x2000 and 0x2011 seem to just not exist, which I currently think has to do with the problem. I'm still having trouble wrapping my head around this, so let me know if there's anything else you need to help me. I would really appreciate the help!

teknic.com/files/downloads/ClearPath-EC_User_Manual.pdf
  • langdons
  • langdons's Avatar
22 Sep 2025 15:38
Replied by langdons on topic Recommendations for a dual NIC SBC or mini-pc

Recommendations for a dual NIC SBC or mini-pc

Category: EtherCAT

Perhaps using a USB ethernet adaptor will increase the latency of the whole system.
  • langdons
  • langdons's Avatar
22 Sep 2025 15:36

Setting up kinematics for my Ballscrew articulated B-axis

Category: Basic Configuration

Your image links don't work.

You can attach a file or use something like mega.nz or GitHub.
  • langdons
  • langdons's Avatar
22 Sep 2025 15:34
Replied by langdons on topic Touch off, OK button greyed out

Touch off, OK button greyed out

Category: AXIS

The official ISO is still 2.9.4 AFAIK.
  • tommylight
  • tommylight's Avatar
22 Sep 2025 13:31
Replied by tommylight on topic New install on previously working system

New install on previously working system

Category: Installing LinuxCNC

From your hal file
loadrt hm2_eth board_ip="1/0.10.10.10" config="num_encoders=1 num_pwmgens=1 num_stepgens=5 sserial_port_0=0xxxxxxx"
Remove the / from the first 10
  • tommylight
  • tommylight's Avatar
22 Sep 2025 13:29
Replied by tommylight on topic New install on previously working system

New install on previously working system

Category: Installing LinuxCNC

What does
ip a
return?
Displaying 2431 - 2445 out of 22561 results.
Time to create page: 0.246 seconds
Powered by Kunena Forum