Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
embedded_systems:ethercat:create_eni_file [2019-01-07 14:04] – mgehrig2 | embedded_systems:ethercat:create_eni_file [2021-09-30 08:13] (aktuell) – Urs Graf | ||
---|---|---|---|
Zeile 12: | Zeile 12: | ||
===== Requirements ===== | ===== Requirements ===== | ||
To create an ENI file the following is required: | To create an ENI file the following is required: | ||
- | - ESI files describing the used slaves | + | - ESI files describing the slaves, see [[embedded_systems: |
- An EtherCAT Master that can scan the network | - An EtherCAT Master that can scan the network | ||
- Software that can create an ENI file | - Software that can create an ENI file | ||
- | The ENI files can be optained from the manufacturer. | + | Items 2 and 3 can be covered with the software [[https:// |
- | * Maxon [[http:// | + | |
- | * Elmo: | + | |
- | * Are installed with the 'EAS II' software from Elmo in '' | + | |
- | * Can be dwonloaded here TODO | + | |
- | + | ||
- | Items 2 and 3 can be covered with the software [[https:// | + | |
Alternatively, | Alternatively, | ||
+ | |||
+ | ===== Create ENI file ====== | ||
+ | The exact procedure depends on the hardware and software used. The following procedure describes using Elmo drives but can be adapted to other drives: | ||
+ | |||
+ | - Use ClassA master | ||
+ | - Select a slave | ||
+ | - The EASII already has all ESI files for the Elmo Drives. If the required ESI file is not yet available: | ||
+ | - Get the ESI file from the manufacturer | ||
+ | - Import the ESI file | ||
+ | - Attach a slave to the EC master (If EC-Engineer is used by Acontis, attach the slave to the PC) | ||
+ | - The slave must be supplied with power. | ||
+ | - Scan the network | ||
+ | - The slave should be detected | ||
+ | - Test if you can read an encoder value | ||
+ | - Connect the complete EC network and scan again | ||
+ | - Define the period duration for PDOs (typically 1msec) | ||
+ | - Define all variables which are to be sent or received with the PDOs from the slaves. | ||
+ | - Export the ENI file | ||
+ | |||
+ | If one of the following properties changes, then the ENI file must be rebuilt: | ||
+ | * Topology | ||
+ | * Period duration | ||
+ | * Exchanged variables via PDO | ||
+ | |||
+ | With EC-Engineer you can switch to //Diagnosis Mode// where you can plot selected values in realtime. | ||
+ | |||