Prerequisites
- Linux with PREEMPT_RT kernel (Ubuntu 22.04+ recommended)
- At least one Ethernet port (dedicated, not shared with LAN)
- Root access for raw socket operations
Installation
# Add the Adeeb repository
curl -fsSL https://packages.adeeb-robotics.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/adeeb.gpg
echo "deb [signed-by=/usr/share/keyrings/adeeb.gpg] https://packages.adeeb-robotics.com/apt stable main" | sudo tee /etc/apt/sources.list.d/adeeb.list
# Install the master
sudo apt update && sudo apt install adeeb-ethercat-master
First Network Scan
Connect your EtherCAT slaves and run:
sudo adeeb-ec scan --interface eth1
You should see each slave listed with its alias, vendor ID, and product code.
Starting the Master
Create a minimal configuration:
# my_network.yaml
interface: eth1
cycle_time_us: 1000
slaves:
- alias: 1
type: auto
Then start:
sudo adeeb-ec start --config my_network.yaml