785595
5
Zoom out
Zoom in
Vorherige Seite
1/12
Nächste Seite
EN / MasterBus – CANopen Interface 5
Data type
Data on CANopen can be represented as a float or
as a 16 bit Integer.
Floats store float-point values, that is, values that
have potential decimal places.
Integers use 2 bytes and only store integral values,
that is whole numbers.
Which type you chose depends on the capabilities of
the receiving CANopen product.
Scaling
When using Integer values on CANopen you might
want to use scaling. This allows values like the
battery voltage to be transmitted without losing
accuracy. Select Scaling ‘x100’ to transmit a value
1325 instead of 13,25.
When receiving a CANopen PDO the input value will
be divided by the scaling value.
Select ‘x1’ if you don’t need scaling.
4.4 DATA FIELD CONFIGURATION
(ADVANCED)
It is also possible to update the data field
configurations directly by changing the strings in
‘Data fields A’ group and ‘Data Fields B’ group.
The complete configuration of each data field is
shown as a string ( sequence of characters).
These strings look like Figure 3 and consist of five
parts: the CANopen configuration, the data direction,
the MasterBus configuration, a comma separator
and the data representation.
Figure 3. Example of configuration string
NOTE: you will notice the same configuration
parameters as in the configuration via the standard
method but now combined into one string.
Meaning:
285
This is the hexadecimal COB-ID of the CANopen
message. Range: 0x181 –0x57F.
b0 Byte followed by the location of the data within
the PDO. Minimum value is 0, maximum value is
6.
< Direction indicator. “<” indicated data direction
from MasterBus to CANopen. “>” indicates data
direction from CANopen to MasterBus
1 Device Number. The device in the Device
numbers group with this number will be used to
connect to. Minimum number 1, maximum
number 20.
m Indicates data on the monitoring page is used.
Other options include a(Alarm page),
c(Configuration page) and h (History page)
0 Index on page. Decimal value ranging from 0 to
1000.
, Comma separator
s Indicates data on CANopen is represented as 2
byte signed int. Other option is f (Float) for a 4
byte float representation.
0 Indicates data scaling on CANopen. Use 0 for no
scaling(x1).
1 for ‘x10 scaling, 2 for x100 scaling and 3 for
x1000 scaling on CANopen.
4.5 CONFIG ERROR
Your CANopen interface status will show ‘Config
Error’ if:
1. Two or more data fields are ‘CANopen<MB’
and have the same COB-ID and the data is
overlapping.
2. One or more data fields are CANopen>MB
and do not fit in the 8 data bytes.
When there is a ‘Config error’ no CANopen PDO’s
will be transmitted or received by the CANopen
interface.
285b0<1m0,s0
Figure 4:
Example of stings in advanced data field
configuration
5

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