Advanced Search

Search Results (Searched for: )

  • Hakan
  • Hakan
03 May 2025 07:12
Replied by Hakan on topic Using POSIX realtime

Using POSIX realtime

Category: EtherCAT

Looks like your network adapter is not upped correctly. The master can't access ethernet.
Check "ip a", it should say UP for the adapter but I guess it won't.
Follow one of the standard debian guides to bring it up, will involve the /etc/network/interfaces file.
Can be a permission problem, check "ls  -l /dev/EtherCAT0" should say crwxrwxrwx
Try with "sudo service ethercat restart"
Also check "sudo dmesg" the last say 50 lines for anything that can help.
  • Hakan
  • Hakan
03 May 2025 07:04
Replied by Hakan on topic General Questions about using ethercat

General Questions about using ethercat

Category: EtherCAT

Good to hear, wouldn't surprise me if you change D1 and D2 to X and Z.
That config should be enough to move the axis. Try it.
Then you need to add limit switches and other switches if you have that, spindle control, pendant or gamepad and so on.
Now when linuxcnc is up and running you can easily inspect pins' values using halshow.
The drive and motors are closed-loop I guess, then you will see actual-position change when you rotate the motor shaft, even by just a little if the motors are active.
  • Roger S
  • Roger S
03 May 2025 06:48
Replied by Roger S on topic Using POSIX realtime

Using POSIX realtime

Category: EtherCAT

I think the installation is fine. The system reports POSIX realtime, and the pins for testing are accessible:

Owner Type Dir Value Name
4 u32 OUT 0x00000001 lcec.conf.master-count
4 u32 OUT 0x00000004 lcec.conf.slave-count

When I now call EtherCAT Master, the system reports:

Master0
Phase: Waiting for device(s)...
Active: no
Slaves: 0
Ethernet devices:
Main: 80:ee:73:fd:0f:8b (waiting...)
Link: DOWN

The network adapter is correctly entered in Ethercat.conf:

MASTER0_DEVICE="80:ee:73:fd:0f:8b"
DEVICE_MODULES="generic"

The permissions are also correct:
'KERNEL=="EtherCAT[0-9]", MODE="0777"'

However, I can no longer access the EK1100. The EK is connected to the network and shows no errors. As mentioned, everything worked fine with the same components before the reinstallation.
 
  • Onkelmat
  • Onkelmat's Avatar
03 May 2025 06:48

Drive enbale active low - simple but yet it won´t do

Category: General LinuxCNC Questions

They are enabled if pin 9 and 10 are not connected. So in default state with no external relays connected the drives are enabled.

When I short 9 to 10 they become disabled, disconnecting power to the drives and locking the driver.

I´ll measure the pins that come from the drive.
Displaying 16666 - 16669 out of 16669 results.
Time to create page: 1.208 seconds
Powered by Kunena Forum