Configure EtherCAT Parameters

  1. Using ifconfig and get the MAC address.
  2. Modify the configure file:
    sudo vim /etc/ethercat.conf
  3. Set MASTER0_DEVICE to the corresponding network port ID or MAC address, for example:
    MASTER0_DEVICE="eth0" or MASTER0_DEVICE="dc:a6:32:d8:56:bc"
  4. And set:
    DEVICE_MODULES="generic"
  5. Save the changes and restart the system.