Advanced Search

Search Results (Searched for: raspberry)

04 Aug 2024 20:21

Chinese Servos: Working great! German Servos: Not yet. Metronix ARS 2310 FS

Category: EtherCAT

Wow this is shaping out to be quite tricky! There is probably no useful info in this message, but I found that writing stuff down sometimes reveals a sensible next step in an otherwise blurry mess of ethercat acronyms

By rearranging the PDOs in the manufacturer supplied TwinCAT 2 project slightly I can get the drive to OP state and I can even read cyclic PDO data from it, such as statusword, velocity and position. But the other direction master-> drive PDO transmission is not received no matter what I try.
 
  • I have verified equal 1ms cycle time settings in the servo drive config software, in the TwinCAT 2 distributed clock settings, in the TwinCAT 2 axis and PLC
  • Even if this was a distributed clock configuration or jitter issue, Metronix ARS 2310 FS claims to be able to synchronize with raw Ethercat frames on the network if no DC is available
  • I am seeing 1 (one) successful master->drive PDO transmission per preop->op state transition, where I believe TwinCAT also transfers a lot of SDO settings

It's worse on LinuxCNC, here I don't even receive any PDO data from the drive. But here too the drive reaches OP state and SDO transmissions via ethercat download or ethercat upload work and are evaluated seemingly correctly by Metronix.
 

I am still not quite sure how important the SII EEPROM data is. If I use siitool -m to create an eeprom image from the manufacturer supplied EDS xml profile with PDO mappings, any ethercat sii_write attempts are seemingly dismissed, afterwards the drive is listed only with some IDs in ethercat slaves. An image created without PDO mappings, but only with sync managers and human readable manufacturer strings etc can be written successfully and is listed as such in ethercat slaves even after power cycles.
 

With the diagnostics in my Chinese servo drives I can verify that Linux-dominated Ethercat has the correct sync cycle time of 1ms configured. I've never seen any errors from them, but there does seem to be a non-zero number of SM2 lost times and Sync lost times, maybe 1 per second? Is that normal or could that be a problem for a fastidious German servo drive?
 

The laptop on which I am currently running TwinCAT and the Raspberry Pi on which I am running the Linux Ethercat master are both not equipped with especially reputable Intel NICs ... could that be a fundamental problem? Should I look for some normal office PC for a test run?
03 Aug 2024 22:59

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

Category: Installing LinuxCNC

read the comments on the downloads page. menu-config should do it for you.
03 Aug 2024 22:51

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

Category: Installing LinuxCNC

In my case, it would be ethernet, I need the configuration area for the IP/Gateway address, that way, I can study the connection with ethernet cards.
03 Aug 2024 21:57

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

Category: Installing LinuxCNC

Could anyone help, I made the image for the pi4 following the image on the official page, but it doesn't have the area for ethernet configuration, how can I solve this problem?

The current 2.9.2 image  needs updating to 2.9.3 but we no longer install Ethercat repositories for the Raspberry pi.
I am not sure if the pi is supported in their repos for Debian 12 at all
Also I doubt that a linuxcnc-ethercat driver is built for the pi either
Right now your option is to build from source
I have raised an issue with Ethercat to explore a solution for this.

 
03 Aug 2024 18:56

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

Category: Installing LinuxCNC

Could anyone help, I made the image for the pi4 following the image on the official page, but it doesn't have the area for ethernet configuration, how can I solve this problem?
02 Aug 2024 09:55 - 03 Aug 2024 10:08

Gravograph Engraving Machine(s) Conversion (Updated)

Category: Basic Configuration

Dear All,

Figured it out with extended reading - thanks for this great forum! - and a bit of creative try-and-error.
All 3 axes are set up and calibrated, homing works like a charm :)
Next and last open issue is the spindle - but I don't expect much difficulty with that. Otherwise there'll be another post here ...

ORIGINAL POST:
I've started a project to convert a 30-year-old engraving machine (Gravograph UNICA) to LinuxCNC running on a Raspberry PI 4 with a MESA 7C80. I have several Gravograph machines of various sizes available and am looking to roll out my conversion to most of them, if it works out as planned. These machines may be old, but as such they're solid and reliable. Also they are simple as there's just one stepper and one limit switch per axis and the spindle motor to control. The main reason for conversion is that the UNICA machine only runs on it's own Gravograph-unique operating system with a tiny monochrome CRT screen and propietary keyboard, with no communication port. The other, larger machines can communicate via serial port, but they also require Gravograph-only software ...

So far, I got the Raspberry PI, 7C80 and LinuxCNC up and running to the point that the x-axis stepper is operational by using linuxcnc.hal and linuxcnc.ini from this thread:
forum.linuxcnc.org/42-deutsch/52725-3-ac...esa-7c80-und-raspi-4

As far as I can tell, there's no wizard available (stepconf etc.) for configuring the MESA 7C80, so I need to work with the config files directly(?)

I modified linuxcnc.ini so that the stepper runs smoothly, and added three lines for the limit switch and homing. The stepper now starts running when I home the machine in LinuxCNC, and the program is apparently waiting for the limit switch to be triggered.
This is where I'm currently insecure and would like to ask for assistance:
  • What terminals to connect the limit switch to at the 7C80?
  • How to set it up as a NC contact (Switch opens when x-axis home position is reached)?
  • How to set up homing to move the spindle towards home at first if the home switch is not triggered, and then move a short distance away and back to the final home position? 

    This is my current linuxcnc.ini:
     

    File Attachment:

    File Name: linuxcnc.ini
    File Size:4 KB

     
    Thank you for reading and thanks in advance for any answers!

    Best regards,
    Erik 
    captain-panda
01 Aug 2024 13:41

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

Category: Computers and Hardware

[code][code]EDIT: the config i build is only for testing, serial port will not work for LinuxCNC,
if you want to run LinuxCNC you need SPI (raspberry) or UDP (W5500 / UDP2SPI-Bridge)
[/code][/code]

Everything set-up & synthetizing-wise is working flawlessly. Said it before and I'll say it again; pretty EPIC work you've done for us   

I took onto your advice and stopped by my local gizmo shop to pick a W5500 Lite. Inserting a visual of my benchtop hardware set-up for inspiration and good luck! 



31 Jul 2024 19:44

Notes from installation of ethercat on Raspberry Pi 4

Category: EtherCAT

Thanks for reminding me of this. This is probably the issue I have with installing ethercat.
31 Jul 2024 18:58 - 31 Jul 2024 19:01

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

Category: Computers and Hardware

I'm not quite sure that everything works in the IDE, I haven't tested that for a long time.
but you can set the path there in the console like this:
export PATH=$PATH:/opt/gowin/IDE/bin/

then you can build the bitfile with:
(cd Output/Mecanix/Gateware ; make clean all)
ls Output/Mecanix/Gateware/impl/pnr/project.fs

EDIT: the config i build is only for testing, serial port will not work for LinuxCNC,
if you want to run LinuxCNC you need SPI (raspberry) or UDP (W5500 / UDP2SPI-Bridge)
31 Jul 2024 16:46

Notes from installation of ethercat on Raspberry Pi 4

Category: EtherCAT

you check id uefi or not as rodw explain here: forum.linuxcnc.org/ethercat/45336-etherc...-how-to-step-by-step ??

In my case need (not uefi but have that error because not all libs needed was installed) to install libethercat 2 time second one using synaptic. After it goes ....
31 Jul 2024 12:47

We allow 'stacking' of MDI commands - is it OK ???

Category: Gmoccapy

A comment from a hobby non-trades user that finds 'stacking' or 'queuing' of MDI commands useful.

The hobby aspect often is a one-off with testing of individual cutting paths.
A few sequential paths might then give the result.
Then, copy/pastes within the MDI history allow the job to continue, and complete.

Sort of half-way between manual and cnc.

I am currently assessing what I should do on discovery that my new upgrade to LC2.9.2 on a Raspberry Pi 4B with AXIS does not allow MDI command stacking.
Gmoccapy is on the review list.

John.
31 Jul 2024 12:33

Notes from installation of ethercat on Raspberry Pi 4

Category: EtherCAT

At the point of "Test ethercat with linuxcnc " i am facing issues like "lFound file(REL): ./ethercat.hal
lcec: dlopen: libethercat.so.1: cannot open shared object file: No such file or directory"
But path my directory (path=$PATH:/usr/local/lib)
30 Jul 2024 21:26 - 30 Jul 2024 21:41
Replied by klopp on topic Weiler 160 CNC Retrofit

Weiler 160 CNC Retrofit

Category: Show Your Stuff

Yes I'm pretty sure they are analog input driven.

I'm planning on using the 7i97T with another card for more I/O. Was planning on using a 7i84, but I can't find them anywhere in stock. I need 20 sourcing outputs and 25 sinking inputs in total.

I could use some relais to convert the sinking outputs of the 7i84D to sourcing ones, but that seems unnecesary complicated. Other option would be the 7IA0 or the 7i77 but they are both 150€ more expensive.

For the controller I'll probably use a Raspberry PI 5.
29 Jul 2024 01:43

Queuing MDI Commands - LC2.9.2

Category: General LinuxCNC Questions

My LC2.9.2 is running nicely on a Raspberry Pi 4B with AXIS.
But, it will not accept multiple MDI commands.
I used to be able to do this on the earlier LC2.8.4.

Spent some time checking ini and HAL configurations, and Forum searching, but no joy.

Suggestions ?

John
28 Jul 2024 21:09

I want to create a VNC in linuxcnc running in raspberry pi 5

Category: General LinuxCNC Questions

If your problem is to only view LinuxCNC on Windows and you are not interested in the desktop of the Linux machine I recommend using an X-Terminal like MobaXterm
mobaxterm.mobatek.net/

Alternatively you can see how this new feature works

www.raspberrypi.com/documentation/services/connect.html

 

One drawback for a terminal is that probably you are not be able to connect to a running process (in this case linuxcnc) but you have to start it inside the terminal. For us that have configuration to start linuxcnc automatically on boot this won't work.

Raspi connect is something I would not use because of the need for cloud connection.
I advice using only services using local network for machine control.
Displaying 121 - 135 out of 1066 results.
Time to create page: 0.571 seconds
Powered by Kunena Forum