...
# ========================================= # Install EtherCat kernel drivers + Set-up # ========================================= # Need to configure another ethernet port on cpu-b084-hp03 for ethercat # MUST configure another ethernet port for ethercat # ifconfig eth1 192.168.1.10 netmask 255.255.252.0<insert_your_ethercat_ip_address> netmask <insert_your_netmask> # Recommend using the following logic to configure based on the port’s MAC Address EthCat_MAC_ADDR=00:0B:AB:39:3F:CB<insert_your_MAC_addresss_for_your_etherCAT_port> eth_cat=$(ifconfig -a | grep "HWaddr ${EthCat_MAC_ADDR}" | awk '{print $1}') ifconfig ${eth_cat} netmask 255.255.255.0<insert_your_ethercat_ip_address> netmask <insert_your_netmask>
# insert MAC address for eth1 after main_devices # the ethercat slaves/devices are connected at eth1 ${eth_cat} (for this specific configuration)
insmod $ETHERCAT_DRIVER/master/ec_master.ko main_devices=${EthCat_MAC_ADDR} insmod $ETHERCAT_DRIVER/devices/ec_generic.ko
/sbin/ifconfig eth1 ${eth_cat} up
ln -s $ETHERCAT_DRIVER/tool/ethercat /sbin/ethercat
sleep 5 chmod o+rw /dev/EtherCAT* # =========================================================== |
---|
...
Any new devices should be integrated into the EtherCAT module. Please contact the EtherCAT module owners:owner:
- Who wants to be the EtherCAT module owner?
Jesus Vasquez: jvasquez@slac.stanford.edu
Now that the chain.xml file has been created to generate the scanner.xml file, the second part is to configure and clean-up your epics application to only include the elements that you need.
...