BAM: J1939 Broadcast Announce Message

Zusammenfassung

  • Übertragung von 9 bis 1785 Bytes
  • Broadcast(0xff) an alle Teilnehmer im Netzwerk
  • Keine Flußkontrolle/kein Hand-shake
  • keine Bestätigung durch Empfänger
  • mindestens 50ms Lücken zwischen den Telegrammen
  • PGN der BAM Connection Message: 0xEC00 / 60416
  • PGN der BAM Data Message: 0xEB00 / 60160

Das BAM Transportprotokoll wird vom emotas J1939 Protokollstack unterstützt.

Andere Transportprotokolle

Bei J1939 ist zusätzlich das CMDT Transportprotokoll definiert, welches Punkt-zu-Punkt-Verbindung mit Handshake und Connection Management beinhaltet. NMEA2000 definiert darüber hinaus zusätzlich das Fast Packet Protokoll zum Übertragen von bis zu 223 Bytes.

Using SDO clients in CANopen Master devices

In general a CANopen Master device may have up to 127 different SDO clients that can be configured in any way to communicate with various SDO servers spread over multiple devices in the network. To establish an SDO connection between two devices 2 different CAN-IDs are used and they need to be configured at both the SDO clients and inside the SDO servers. Anyway, most SDO devices only come with 1 SDO server using the CAN-IDs according to the Pre-Defined Connection Set. In this case the configuration is only required on the SDO clients’ side. Two different ways of using SDO clients are most common.

One SDO Client used for all slaves

In this way the SDO Client (e.g. inside the CANopen Master) only has 1 SDO client and therefore only 1 SDO Client object 0x1280 in the object dictionary:
SDO Client Object
which contains the following data in the sub indices:

SDO Client Subindices
SDO Client Subindices

The values of the subindices 1 ..3 have to be reconfigured (internally) each time the SDO client shall be used to communicate with another device. So only 1 SDO transfer at a time is possible from this CANopen Master.

1 SDO Client for each slave

The other approach is using a dedicated SDO Client for each SDO server (in a CANopen slave). The most useful approach would be to assign the 1st SDO client to node 1, the 2nd SDO client to node 2 and the 127th SDO client to node 127.
For this way the object dictionary of the CANopen Master device requires 127 SDO client objects.

SDO Client objects
SDO Client objects

According to the predefined connection set all these SDO clients are disabled at start-up and needs to be configured e.g. by the application at startup accordingly. So the 1st SDO clients would use the CAN-IDs 0x601 and 0x581 to communicate with node 1 and the 100th SDO client (configured at object 0x12e3) would use the CAN-IDs 0x6e4 and 0x5e4 to communicate with node 100. Using this approach up to 127 SDO transfers in parallel are possible.

Fixed network with a subset of slaves

If the network consists only of a few slave nodes for example 10, 32 and 64 it is also possible to implement only the 10th, 32th and 64th SDO client in the CANopen master devices.