Article ID: 000094040 Content Type: Install & Setup Last Reviewed: 08/22/2023

Unable to Configure EtherCAT Device on Intel® Edge Controls for Industrial

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Summary

Quick steps to identify your network device and configure EtherCAT on Intel® Edge Controls for Industrial

Description

Unable to see device information after configuring EtherCAT device using the steps in the Intel® Edge Controls for Industrial documentation.

$ ethercat master

Failed to get master information: The ioctl of the device is inappropriate

Resolution

The error means the /etc/sysconfig/ethercat file is not properly configured. Use the following commands to query the network device and specify the configuration variables needed.

$ sudo ifconfig
eno1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
    ether a4:ae:12:77:85:b6 txqueuelen 1000 (Ethernet)
    RX packets 0 bytes 0 (0.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 0 bytes 0 (0.0 B)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    device memory 0x8e100000-8e17ffff

$ cat /sys/class/net/eno1/device/uevent
DRIVER=igb
PCI_CLASS=20000
PCI_ID=8086:1533
PCI_SUBSYS_ID=FFFF:0000
PCI_SLOT_NAME=0000:6d:00.0
MODALIAS=pci:v00008086d00001533sv0000FFFFsd00000000bc02sc00i00

Using the output from the commands above, edit the MAC Address, PCI_SLOT_NAME, and Driver in /etc/sysconfig/ethercat.

#/etc/sysconfig/ethercat MASTER0_DEVICE="a4:ae:12:77:85:b6" DEVICE_MODULES="igb" REBIND_NICS="0000:6d:00.0" #eno1

Related Products

This article applies to 1 products