realtime_control_environment_setup
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
realtime_control_environment_setup [24.07.2019 18:03] – [Boot the target and test xPC] Guoping Zhao | realtime_control_environment_setup [27.11.2022 22:58] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
====== Realtime control environment setup ====== | ====== Realtime control environment setup ====== | ||
+ | |||
+ | **Author**: Guoping Zhao, Lauflabor (www.lauflabor.de), | ||
+ | |||
+ | **Date**: July, 2019 | ||
+ | |||
+ | ---- | ||
There are lots of different ways to set up a realtime control environment for a robotic system. Here, we choose **Matlab simulink realtime toolbox** (xPC) as the software framework because: | There are lots of different ways to set up a realtime control environment for a robotic system. Here, we choose **Matlab simulink realtime toolbox** (xPC) as the software framework because: | ||
Zeile 183: | Zeile 189: | ||
==== EtherCAT slave configuration ==== | ==== EtherCAT slave configuration ==== | ||
+ | This part is well documented by Mathworks. Please find the detailed info [[https:// | ||
+ | |||
+ | |||
+ | ===== Run Simulink in Realtime ===== | ||
+ | |||
+ | In order to run the simulink in realtime (on the target machine) with EtherCAT, the EtherCAT Init block is needed. The configure file, PCI bus number, and the PCI slot number has to be configured correctly according to the setup. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | In addition, the solver of the simulink model has to be configured as " | ||
- | * Connect EtherCAT slave to your host computer with ethernet cable. | + | {{: |
- | * Open ET9000 software. | + | |
- | h2. Test xPC with EtherCAT | + | And the " |
- | h3. Demo1: Digital IO | + | {{:simulinkmodelconfig1.png? |
- | !simulinkmodelconfig1.png! | ||
- | !simulinkmodelconfig2.png! | ||
- | !ethercatinitblock.png! | ||
- | h3. Demo2: Analog IO | ||
- | h3. Demo3: Motor Current Control | ||
realtime_control_environment_setup.1563984218.txt.gz · Zuletzt geändert: 27.11.2022 22:56 (Externe Bearbeitung)