Effacer les filtres
Effacer les filtres

Does System Composer support bidirectional bus connections such as ethernet?

12 vues (au cours des 30 derniers jours)
Charlie White
Charlie White le 23 Fév 2022
Modifié(e) : Josh Kahn le 25 Juin 2024 à 13:35
I would like to connect two components of my system with just one connection, rather than two. This is used in ethernet and MIL-STD-1553 bus protocols.
If this feature is not present, should I use the Physical Interface connection?

Réponse acceptée

Yoga
Yoga le 14 Fév 2023
Modifié(e) : Josh Kahn le 25 Juin 2024 à 13:35
Hi Charlie!
Component ports in System Composer are directional while physical ports are non-directional.
Therefore, for implementing ethernet,MIL-STD-1553 bus kind of connections, it is better to consider looking at physical interface connections.
You can add Simscape behavior to a subsystem component using physical ports, connectors, and interfaces.
You may have a look at these links which are relevant:
  2 commentaires
Charlie White
Charlie White le 26 Oct 2023
Modifié(e) : Charlie White le 26 Oct 2023
Thanks for this and sorry for the slow reply.
When using physical connectors, is it possible to group them into harnesses?
I have a physical interface which is composed of multiple physical buses. However, I am unable to decompose those buses in system composer. Is there a way to do this?
The same functionality is available for data buses - at the input to a component, you can do bus.element to show that that element was selected from the bus for a certain inport.
Josh Kahn
Josh Kahn le 25 Juin 2024 à 13:33
Yes, you can use interfaces (same as Simscape Bus) to define nested physical connectors:
The connectors can be combined or separated using the Simscape Bus block in your Simulink model.
There is not a way to combine/separate physical buses in System Composer but if you would like to share some use cases for that, please reach out to out support team to put in an enhancement request.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur System Composer dans Help Center et File Exchange

Tags

Produits


Version

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by