785595
7
Zoom out
Zoom in
Vorherige Seite
1/12
Nächste Seite
EN / MasterBus – CANopen Interface
7
4.7 EXAMPLE CANOPEN TO MASTERBUS
What we want to achieve
Image we want to control the ‘Mains fuse’ setting of
the Mass Combi Ultra via the CANopen interface via
CANopen.
How we configure it
Connect the CANopen interface following the same
procedure as in the previous example.
Again configure just 1 data field for this example.
Now select the Mass Combi Ultra in the ‘Device
indices’ group as device 1.
In the ‘Field config’ group select data field 1. We
leave most settings as default. COB-ID(hex) = 285;
Byte: 0; Device: 1; Page: Monitoring; Data type:Int
16bit signed.
For ‘Direction’ we select ‘CANopen>MB’. This is
because we want to control the Mass Combi Ultra on
the MasterBus from the CANopen.
Change the Index value to be 19 because the ‘Mains
fuse ’ has this index on the monitoring page of the
Mass Combi Ultra.
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 transmits out the heartbeat
message every second. No other messages are
transmitted by the CANopen interface on the
CANopen network.
To set the ‘Mains fuse’ from the CANopen network,
make sure a PDO is received by the CANopen
interface with a COB-ID of 0x285 with a data length
of 8 data bytes. Make sure the new Mains fuse
setting is present in the first two data bytes as 16 bit
signed Integer.
The monitoring page of the CANopen interface
shows the last value which is received for each data
field. This value is already divided by the scaling
factor.
To easiliy understand the required format
of the control message, set the direction to
‘CANopen<MB’. The CANopen interface
will now transmit the correct message.
NOTE: You can set two or more data fields to have
the same COB-ID and Byte if they are
CANopen>MB. This way you can control for
example the state of three Mass Combi Ultras by
just one CANopen PDO.
7

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