785595
6
Zoom out
Zoom in
Vorherige Seite
1/12
Nächste Seite
6 MasterBus – CANopen Interface / EN
4.6 EXAMPLE MASTERBUS TO CANOPEN
What we want to achieve
Imagine we want to use the state of charge(charge
level) of a MasterShunt monitored battery in a
CANopen network.
How we configure it
Connect the CANopen receiving product to the
CANopen connection of the CANopen interface.
Follow CANBus installation guidelines, install
terminating resistors etc.
Connect the MasterShunt, which needs to share
information, to the MasterBus port on the CANopen
interface. Again follow Mastervolt guidelines for
installing a MasterBus network. (install terminators
etc.)
Configure the MasterShunt according to the manual
of the MasterShunt to monitor your battery correctly.
Configure the CANopen interface to transfer 1 data
field via the ‘Nr of fields’ setting.
In the Device numbers group select as ‘Device 1’ the
MasterShunt. In the data field configuration we can
now refer to ‘Device 1’ being the MasterShunt.
In the ‘Field config’ group select data field 1. We
leave all settings as default. COB-ID(hex) = 285;
Byte: 0; Direction: MB>CANopen; Device: 1; Page:
Monitoring; Index: 0; Data type:Int 16bit signed.
In this specific case the index of the ‘State of charge’
is 0 on the monitoring page. Therefore we do not
need to update the index.
Press the ‘Save data field’ button to save the
configuration of data field 1.’
Make sure the option ‘Auto start’ is still turned on.
The result
The CANopen interface will start transmitting two
CANopen messages: the Heart beat and one PDO.
The Heartbeat is transmitted every second and has
1 data byte. The data byte will be 0x05 indicating the
interface is in Operational mode.
The PDO will have 8 data bytes. Starting on byte 0
there will be 2 bytes(16 bits) of data indicating the
State of charge of the MasterShunt.
The monitoring page of the CANopen interface
shows the last value which has been transmitted to
CANopen for each data field. This value includes
scaling.
Figure 5:
Configuration example MasterBus to CANopen
6

Brauchen Sie Hilfe? Stellen Sie Ihre Frage.

Forenregeln

Missbrauch melden von Frage und/oder Antwort

Libble nimmt den Missbrauch seiner Dienste sehr ernst. Wir setzen uns dafür ein, derartige Missbrauchsfälle gemäß den Gesetzen Ihres Heimatlandes zu behandeln. Wenn Sie eine Meldung übermitteln, überprüfen wir Ihre Informationen und ergreifen entsprechende Maßnahmen. Wir melden uns nur dann wieder bei Ihnen, wenn wir weitere Einzelheiten wissen müssen oder weitere Informationen für Sie haben.

Art des Missbrauchs:

Zum Beispiel antisemitische Inhalte, rassistische Inhalte oder Material, das zu einer Gewalttat führen könnte.

Beispielsweise eine Kreditkartennummer, persönliche Identifikationsnummer oder unveröffentlichte Privatadresse. Beachten Sie, dass E-Mail-Adressen und der vollständige Name nicht als private Informationen angesehen werden.

Forenregeln

Um zu sinnvolle Fragen zu kommen halten Sie sich bitte an folgende Spielregeln:

Neu registrieren

Registrieren auf E - Mails für Mastervolt MasterBus CANopen Interface wenn:


Sie erhalten eine E-Mail, um sich für eine oder beide Optionen anzumelden.


Das Handbuch wird per E-Mail gesendet. Überprüfen Sie ihre E-Mail.

Wenn Sie innerhalb von 15 Minuten keine E-Mail mit dem Handbuch erhalten haben, kann es sein, dass Sie eine falsche E-Mail-Adresse eingegeben haben oder dass Ihr ISP eine maximale Größe eingestellt hat, um E-Mails zu erhalten, die kleiner als die Größe des Handbuchs sind.

Ihre Frage wurde zu diesem Forum hinzugefügt

Möchten Sie eine E-Mail erhalten, wenn neue Antworten und Fragen veröffentlicht werden? Geben Sie bitte Ihre Email-Adresse ein.



Info