Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| embedded_systems:ethercat:test_acontis_stack [2019-02-12 11:19] – mgehrig2 | embedded_systems:ethercat:test_acontis_stack [2024-01-25 11:43] (aktuell) – Urs Graf | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| ====== Test Acontis Stack ====== | ====== Test Acontis Stack ====== | ||
| - | ===== Run a test application ===== | + | ===== Run demo application |
| {{: | {{: | ||
| < | < | ||
| cd < | cd < | ||
| - | sudo ./ | + | sudo ./ |
| </ | </ | ||
| Zeile 17: | Zeile 17: | ||
| * Mode 1 = Polling mode | * Mode 1 = Polling mode | ||
| * **-perf** enables performance measurements (Enable max. and average time measurement in μs for all EtherCAT jobs) | * **-perf** enables performance measurements (Enable max. and average time measurement in μs for all EtherCAT jobs) | ||
| + | |||
| + | More detailed explanation {{: | ||
| This demo will initialize the EtherCAT master. | This demo will initialize the EtherCAT master. | ||
| Zeile 30: | Zeile 32: | ||
| 000002 : Run demo now with cycle time 1000 usec | 000002 : Run demo now with cycle time 1000 usec | ||
| 000002 : Using AuxClock | 000002 : Using AuxClock | ||
| - | 000002 : Calibrate tsc measurement... done: 3392 MHz | + | 000002 : Calibrate tsc measurement... done: 3392 MHz===== Software ===== |
| 003003 : ========================== | 003003 : ========================== | ||
| 003003 : Initialize EtherCAT Master | 003003 : Initialize EtherCAT Master | ||
| Zeile 43: | Zeile 45: | ||
| 007178 : Start EtherCAT Master | 007178 : Start EtherCAT Master | ||
| 007178 : ===================== | 007178 : ===================== | ||
| - | 007218 : Bus scan successful - 2 slaves found | + | 007218 : Bus scan successful - 2 slaves found===== Software ===== |
| 007223 : Master state changed from < | 007223 : Master state changed from < | ||
| 007257 : Master state changed from < | 007257 : Master state changed from < | ||
| Zeile 56: | Zeile 58: | ||
| 012080 : PerfMsmt ' | 012080 : PerfMsmt ' | ||
| 012080 : PerfMsmt ' | 012080 : PerfMsmt ' | ||
| - | 012080 : PerfMsmt ' | + | 012080 : PerfMsmt ' |
| 012080 : PerfMsmt 'Cycle Time ' (avg/max) [usec]: | 012080 : PerfMsmt 'Cycle Time ' (avg/max) [usec]: | ||
| 012080 : PerfMsmt ' | 012080 : PerfMsmt ' | ||
| Zeile 73: | Zeile 75: | ||
| 034306 : ======================== | 034306 : ======================== | ||
| 034318 : Master state changed from <OP> to < | 034318 : Master state changed from <OP> to < | ||
| - | 035384 : EcMasterDemo stop. | + | 035384 : EcMasterDemo stop.===== Software ===== |
| </ | </ | ||
| + | |||
| + | If the output looks similar to the example above, then the demo runs successfully. | ||
| ==== Possible problems ==== | ==== Possible problems ==== | ||
| See troubleshooting process [[embedded_systems: | See troubleshooting process [[embedded_systems: | ||
| + | ===== Run demo application classA ===== | ||
| + | Before you run this demo make sure, you can run the classB demo successfully. | ||
| - | ===== Measure stack performance ===== | + | < |
| + | cd < | ||
| + | sudo ./ | ||
| + | </ | ||
| + | The demo will output the maximal cycle time every second. | ||
| + | You can terminate the demo with '' | ||
| + | |||
| + | |||
| + | ==== Possible problems ==== | ||
| + | See troubleshooting process [[embedded_systems: | ||