Advanced Search

Search Results (Searched for: )

  • Grad
  • Grad
04 May 2025 17:37

unable to get gpio to work on Raspberry Pi 5 using latest image

Category: Advanced Configuration

Hi, i have a similar problem with my RPi5 and GPIO but I think I/(the AI that helped me) screwed up with the .hal-File. Do you (or anyone) mind to put your working .hal here so I can see how it is done?
  • hmnijp
  • hmnijp
04 May 2025 17:07 - 04 May 2025 17:10

Lcnc & Ethercat data types, Ethercat automated hal pin setup.

Category: General LinuxCNC Questions

All available hal components work with s/u32 pins
There is no point in having 16bit numbers from ethercat, because to connect to subsequent components they will have to be converted to 32bit anyway by loading additional components to convert 16->32.
The LCEC component does this automatically in the XML configuration.  pdoentry

In practice, there will probably never be any memory problems, as the number of pdos and sm is quite limited.

There have also been suggestions in the forum to make all HAL pins 64bit for standardisation, as encoders have a problem with overflowing 32bit numbers.
  • Hakan
  • Hakan
04 May 2025 16:05
Replied by Hakan on topic Using POSIX realtime

Using POSIX realtime

Category: EtherCAT

Search for the ec_generic.so files like  I did.
  • hans48
  • hans48
04 May 2025 15:51
Replied by hans48 on topic Ein Neuling sucht Hilfe

Ein Neuling sucht Hilfe

Category: Deutsch

Hallo nochmal
Fotos sind zu groß habe sie daher kleiner gemacht.
  • DarkPhoinix
  • DarkPhoinix
04 May 2025 15:39 - 04 May 2025 15:43
Replied by DarkPhoinix on topic Remora - ethernet NVEM / EC300 / EC500 cnc board

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

Warning: Spoiler!

 

Of course, I also put the photo of the parameters on mach3, but on mach3 I have another control board and it has 4 wires with ENABLE, I wrote it in the first post. Here Enable is disconnected but I also tried to connect it to +5V (+com)
  • hans48
  • hans48
04 May 2025 15:36
Replied by hans48 on topic Ein Neuling sucht Hilfe

Ein Neuling sucht Hilfe

Category: Deutsch

Hallo
Nachtrag: Ein Foto wurde nich Übermittelt.
Gruß Hans und Danke
  • Grotius
  • Grotius's Avatar
04 May 2025 15:33 - 04 May 2025 15:34

Lcnc & Ethercat data types, Ethercat automated hal pin setup.

Category: General LinuxCNC Questions

Hi Hakan,

I did some extra coding and found a problem.
It turned out i used pdos info so far and not sdos info.
I see sdos can give more detailled info of the device. This is exactly what i need to get the used datatypes to set up the 1:1 hal pins and
their names.

halType is limited to the data type that are in hal: bit, float, s32, u32.
Whatever comes from ethercat will be shoe-horned into one of those.

This is stupid, this i really don't get.
We have a 4x40mm screw and we put it in a 20ft sea container, because we don't have other storage available.

I hope to get to test this this week as well as the s-curve modification.
The scurve runs fine in a simulation. But on real hardware most testers have problems with acceleration.
So i have to review that soon.
  • Aciera
  • Aciera's Avatar
04 May 2025 15:30
Replied by Aciera on topic Ein Neuling sucht Hilfe

Ein Neuling sucht Hilfe

Category: Deutsch

Als erstes mal die Tippfehler in den Signalnamen in der HAL korrigieren:

Ist:
# ---Setup Spindel Steuerungs-Signale---
net spindele-cw                =>  hm2_7i96s.0.ssr.00.out-00
net spindle-ccw                =>  hm2_7i96s.0.ssr.00.out-01
net spindle-enabe              =>  hm2_7i96s.0.pwmgen.00.enable

Soll:
# ---Setup Spindel Steuerungs-Signale---
net spindle-cw                =>  hm2_7i96s.0.ssr.00.out-00
net spindle-ccw                =>  hm2_7i96s.0.ssr.00.out-01
net spindle-enable              =>  hm2_7i96s.0.pwmgen.00.enable

Probieren und berichten (und bitte die korrigierte hal Datei wieder anhängen damit wir sehen was du geändert hast)
  • PCW
  • PCW's Avatar
04 May 2025 15:29
Replied by PCW on topic Ein Neuling sucht Hilfe

Ein Neuling sucht Hilfe

Category: Deutsch

net spindle-enabe => hm2_7i96s.0.pwmgen.00.enable
net spindle-vel-cmd-rpm => hm2_7i96s.0.pwmgen.00.value
net spindle-vel-cmd-rps <= spindle.0.speed-out-rps
net spindle-vel-cmd-rps-abs <= spindle.0.speed-out-rps-abs
net spindle-vel-cmd-rpm <= spindle.0.speed-out
net spindle-vel-cmd-rpm-abs <= spindle.0.speed-out-abs
net spindle-enable <= spindle.0.on

Typo in hal file?
  • Roger S
  • Roger S
04 May 2025 15:28
Replied by Roger S on topic Using POSIX realtime

Using POSIX realtime

Category: EtherCAT

I performed the installation according to the instructions from rodw

forum.linuxcnc.org/ethercat/45336-etherc...-how-to-step-by-step
Displaying 16591 - 16600 out of 16600 results.
Time to create page: 0.595 seconds
Powered by Kunena Forum