Advanced Search

Search Results (Searched for: raspberry)

17 Jan 2024 12:23

Installing linuxcnc on Raspberry Pi with EtherCAT

Category: EtherCAT

Thank you for your valuable response. I watched your video, and it's truly informative and motivational in this field.
  1. Slave MCU should the EtherCAT Slave Library be attached to?
  2. No requried On the master side EtherCAT Slave Library, only follow the steps outlined in the video link for implementing EtherCAT on LinuxCNC with Raspberry Pi. 
  3. Where can I obtain the Beckhoff Slave Stack Code? Is it available for free?

    I am a beginner, so I would like to gather information before starting the development process.

    If I use the Beckhoff ready-made EtherCAT module(slave)  with  master(EtherCAT + LinuxCNC + Raspberry Pi), as demonstrated in the provided video, will it function? If not, how can I develop the master ( EtherCAT + LinuxCNC + Raspberry Pi) setup using the  slave (Beckhoff EtherCAT module)?"
17 Jan 2024 11:53 - 17 Jan 2024 11:55

Installing linuxcnc on Raspberry Pi with EtherCAT

Category: EtherCAT

Hi govind@89, that's my video right there.. Things have progressed since then and EtherCAT is now mainstream, at least almost, and rodw has written guides on how to install EtherCAT. Better to follow them.

As for your questions.
1. An ethercat module such as LAN9252 or AX58100 is not programmed with C/C++. They need a configuration, which is stored in an external eeprom. Once connected to a EtherCAT master, the eeprom can be programmed from for example TwinCAT. The esi file is needed for that.
The EtherCAT module communicate with an MCU, or FPGA in your case, typically using SPI, and for synchronization there are three lines/pins/signals that can be watched by the MCU.To manage the communication one would need a EtherCAT Slave Library on the MCU (or FPGA) and on top of that add some user code to do what it is supposed to do.

2. When you buy an EtherCAT slave unit like an EtherCAT stepper driver or EtherCAT servo driver, they are ready to use of course. But to make one from scratch - I am in the process of making my own EtherCAT device and have started a video series of that. It's not a tutorial, it is my struggles. There are many things to learn and many things to get together to make an EtherCAT slave.
Here is a link to that play list



3. I am not familiar with how FPGA works, but it must be some code to handle the EtherCAT peculiarities, state changes, sending receiving data, synchronization and all such things, SPI communication. The FPGA equivalent to an EtherCAT Slave library. Plus your own application code.
 
17 Jan 2024 10:47

Installing linuxcnc on Raspberry Pi with EtherCAT

Category: EtherCAT

Hello, I am new to this field and am seeking guidance. My goal is to develop a CNC machine using an FPGA with EtherCAT Using Linuxcnc. I have come across various types of EtherCAT modules, but I am confused about which EtherCAT module to prefer.

My master is raspberry pi and slave is FPGA board  i want to communication between them using EtherCAT

I have outlined my questions below:
  1. Is it necessary to program the EtherCAT module using any programming language such as C/C++? 
  2. I watched a video explaining the installation process of EtherCAT on Raspberry Pi, but I am unsure about what to do on the slave side. Could you provide guidance on that? 
  3. In the scenario where my slave is an FPGA board, how can I install EtherCAT?


Are EtherCAT modules available in the market? Here are some options I found:
  1.  MICROCHIP : in.element14.com/microchip/evb-lan9252-a.../2819865?st=ethercat 
  2.  AB&T technology: www.bausano.net/en/hardware/easycat.html 
  3.  Esmacat :https://www.crowdsupply.com/harmonic-bionics/ease 
  4. Infineon : in.rsdelivers.com/product/infineon/kitxm...ED49fQEC5Rrm4x77Jazw

I prefer installing LinuxCNC using this video link:
17 Jan 2024 09:41

LinuxCNC at RPI4 with using IO Pins only ?

Category: Installing LinuxCNC

Is it possible to provide a tutorial for configuring the Raspberry Pi using GPIO with LinuxCNC?


Try linuxcnc.org/docs/stable/html/drivers/hal_gpio.html
17 Jan 2024 07:02

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

hello,
i have also tried to setup an raspberry pi4b with linuxcnc 2.9.1 and nvem v2 5axis cnc board.
setup of rpi and flashing nevem is done like remora manual and should work, i can start remora-xyz and also become answer with ping on 10.10.10.10
but i can't unlock e-stop.
and also see no reaction on input and output pins.
can someone please help me and send me a working hal and ini file for my nvem v2 cnc board?
regards
al
17 Jan 2024 01:25

LinuxCNC at RPI4 with using IO Pins only ?

Category: Installing LinuxCNC

Is it possible to provide a tutorial for configuring the Raspberry Pi using GPIO with LinuxCNC?
17 Jan 2024 01:09

configuring my GPIO pins to linuxcnc with Raspberry pi 4

Category: HAL

Is it possible to provide a tutorial for configuring the Raspberry Pi using GPIO with LinuxCNC?
16 Jan 2024 19:08
Replied by bobwolf on topic 7i43-4 firmware

7i43-4 firmware

Category: Driver Boards

Its a bit tricky because EPP interfaced cards don't have the full HM2 64Kaddress space (only 32K)

I also have a 7i90 that I got a few years ago that I would like to use with a raspberry... would you advise me not to use it if I wanted to make a new cnc?
16 Jan 2024 15:19 - 16 Jan 2024 16:05
Replied by PCW on topic Raspberry Pi 4 with Mesa 7c81

Raspberry Pi 4 with Mesa 7c81

Category: Driver Boards

Is that the latest mesaflash?

(current mesaflash should print the 7C81 pinouts correctly)
16 Jan 2024 14:55

Raspberry Pi 4 with Mesa 7c81

Category: Driver Boards

IO Connections for P1+Serial
Pin#  I/O   Pri. func    Sec. func       Chan      Pin func        Pin Dir

 0      0   IOPort       PWM              0        PWM             (Out)
 0      1   IOPort       None           
 0      2   IOPort       StepGen          0        Step/Table1     (Out)
 0      3   IOPort       None           
 0      4   IOPort       StepGen          0        Dir/Table2      (Out)
 0      5   IOPort       None           
 0      6   IOPort       StepGen          1        Step/Table1     (Out)
 0      7   IOPort       None           
 0      8   IOPort       StepGen          1        Dir/Table2      (Out)
 0      9   IOPort       StepGen          2        Step/Table1     (Out)
 0     10   IOPort       StepGen          2        Dir/Table2      (Out)
 0     11   IOPort       StepGen          3        Step/Table1     (Out)
 0     12   IOPort       StepGen          3        Dir/Table2      (Out)
 0     13   IOPort       None           
 0     14   IOPort       QCount           0        Quad-A          (In)
 0     15   IOPort       QCount           0        Quad-B          (In)
 0     16   IOPort       QCount           0        Quad-IDX        (In)
 0     17   IOPort       None           
 0     18   IOPort       None           

IO Connections for P2+Serial
Pin#  I/O   Pri. func    Sec. func       Chan      Pin func        Pin Dir

 0     19   IOPort       PWM              1        PWM             (Out)
 0     20   IOPort       None           
 0     21   IOPort       StepGen          4        Step/Table1     (Out)
 0     22   IOPort       None           
 0     23   IOPort       StepGen          4        Dir/Table2      (Out)
 0     24   IOPort       None           
 0     25   IOPort       StepGen          5        Step/Table1     (Out)
 0     26   IOPort       None           
 0     27   IOPort       StepGen          5        Dir/Table2      (Out)
 0     28   IOPort       StepGen          6        Step/Table1     (Out)
 0     29   IOPort       StepGen          6        Dir/Table2      (Out)
 0     30   IOPort       StepGen          7        Step/Table1     (Out)
 0     31   IOPort       StepGen          7        Dir/Table2      (Out)
 0     32   IOPort       None           
 0     33   IOPort       QCount           1        Quad-A          (In)
 0     34   IOPort       QCount           1        Quad-B          (In)
 0     35   IOPort       QCount           1        Quad-IDX        (In)
 0     36   IOPort       None           
 0     37   IOPort       None           

IO Connections for P7+Serial
Pin#  I/O   Pri. func    Sec. func       Chan      Pin func        Pin Dir

 0     38   IOPort       PWM              2        PWM             (Out)
 0     39   IOPort       None           
 0     40   IOPort       StepGen          8        Step/Table1     (Out)
 0     41   IOPort       None           
 0     42   IOPort       StepGen          8        Dir/Table2      (Out)
 0     43   IOPort       None           
 0     44   IOPort       StepGen          9        Step/Table1     (Out)
 0     45   IOPort       None           
 0     46   IOPort       StepGen          9        Dir/Table2      (Out)
 0     47   IOPort       StepGen         10        Step/Table1     (Out)
 0     48   IOPort       StepGen         10        Dir/Table2      (Out)
 0     49   IOPort       StepGen         11        Step/Table1     (Out)
 0     50   IOPort       StepGen         11        Dir/Table2      (Out)
 0     51   IOPort       None           
 0     52   IOPort       QCount           2        Quad-A          (In)
 0     53   IOPort       QCount           2        Quad-B          (In)
 0     54   IOPort       QCount           2        Quad-IDX        (In)
 0     55   IOPort       None           
 0     56   IOPort       None           

It looks like you will have to use the manual to map the physical pin numbers to IO numbers to find where each signal is, which is slightly unfortunate.
16 Jan 2024 14:38
Replied by PCW on topic Raspberry Pi 4 with Mesa 7c81

Raspberry Pi 4 with Mesa 7c81

Category: Driver Boards

The default 7C81 firmware is 5ABOBx3 which is compatible
with the common Mach 5 Axis BOBs
16 Jan 2024 11:24

Raspberry Pi 4 with Mesa 7c81

Category: Driver Boards

The current gap I’m trying to fill is how to get from the Mesa 7c81 board to the 5 StepperOnline DM542Ts (Spindle, X, Z, A, & C).  In particular, I am at a loss on how to get the 3 needed signals to the DM542Ts:  Step, Direction, & Enable. 

I am seeking some guidance on where to find instructions or manuals which can me help get started.  I recognize that this is probably a very basic set of questions, so I appreciate whatever help can be provided to point me in the right direction. 

 

Have you found the 7C81 manual?  www.mesanet.com/pdf/parallel/7c81man.pdf

Though admittedly that doesn't really answer your questions, because the functions of the various chips depends on the firmware flashed to the 7c81. 

There are a number of possible firmwares, but it is probable that the one you have is good enough for your purposes. 

There are two ways to identify which signals are on each header pin of the 7C81. You can use mesaflash, or you can run a LinuxCNC HAL command line session. 

Starting with the HAL method, this will also check that LinuxCNC comms to the board are working. 

Open a terminal. 
halrun
loadrt hostmot2
loadrt hm2_rpspi

If all it well, this should connect to the Mesa board, and give you a list of what function is on which IO pin. 

You can then continue with additional HAL commands, for example 
show pin

When finished:
exit

The other way is with mesaflash. You might need to install this: "sudo apt-get install mesaflash"
mesaflash --spi --device 7c81 --readhmid

(This might need to tbe "sudo mesaflash")

Report back what the results are, there are a number of possible hurdles to either of these working immediately. 

 
16 Jan 2024 08:09 - 16 Jan 2024 08:10
Replied by Jiyar on topic LinuxCNC on Raspberry Pi 5

LinuxCNC on Raspberry Pi 5

Category: Installing LinuxCNC

Hi,
Here is a YouTube link that may be useful.

16 Jan 2024 02:50
Replied by PCW on topic Raspberry Pi 4 with Mesa 7c81

Raspberry Pi 4 with Mesa 7c81

Category: Driver Boards

Typically you would use a breakout board like the common "5 Axis Mach" BOB
and not connect directly to the 7C81s ports
Displaying 661 - 675 out of 1060 results.
Time to create page: 0.899 seconds
Powered by Kunena Forum