Default Configuration
less than a minute
Make changes to the default mcx-rtos etherCAT configuration:
-
Open ethercat.conf in edit mode:
sudo nano /etc/ethercat.conf
Note
Make sure that the network device that you wish to assign to the EtherCAT driver is not already taken by the normal network configuration, see wired network configuration.
-
Modify the network device by changing the following line:
MASTER0_DEVICE="eth1"
The configured MASTERO_DEVICE, needs to match the configured network device in the EtherCAT Network Configuration.
-
Modify the driver type by changing the following line:
DEVICE_MODULES="generic"
Refer to the EtherLAB documentation for a description of all available configuration options.
-
Save the file and reboot your controller:
sudo reboot