Baumer BA_DSRT_22DJ Benutzerhandbuch

Seite 122

Advertising
background image

Manual_CANopen_StrainLink_DE_V3_05.doc

57/65

Baumer

07.07.11/dam

Frauenfeld, Switzerland

Übermitteln der Serienummer:

ID

DLC

Byte1

Byte2

Byte3

Byte4

Byte5

Byte6

Byte7

Byte8

7E5

8

43h

7Bh

00h

00h

00h

0

0

0


Serienummer:
Byte 1:

43h

Systembyte Serienummer

Byte 2 – 5:

7B’00’00’00h

00’00’00’7B (LSB first)

123


Antwort vom CANopen Dehntrafo:

ID

DLC

Byte1

Byte2

Byte3

Byte4

Byte5

Byte6

Byte7

Byte8

7E4

8

44h

0

0

0

0

0

0

0


Mit dieser Antwort bestätigt der Dehntrafo, dass er erkannt wurde. Nun können die ID und die Baudrate vom
Sensor geändert werden.

7.5.5

Verstellen der ID und der Baudrate

Anpassen der ID:

ID

DLC

Byte1

Byte2

Byte3

Byte4

Byte5

Byte6

Byte7

Byte8

7E5

8

11h

01h

0

0

0

0

0

0


Beispiel ID = 1:
Byte 2:

01h

ID = 1


Antwort vom CANopen Dehntrafo:

ID

DLC

Byte1

Byte2

Byte3

Byte4

Byte5

Byte6

Byte7

Byte8

7E4

8

11h

00h

0

0

0

0

0

0


Byte 2:

00h

ID wurde erfolgreich umgestellt

01h

ID ausserhalb gültigem Bereich

FFh

spezifischer Fehler


Anpassen der Baudrate:

ID

DLC

Byte1

Byte2

Byte3

Byte4

Byte5

Byte6

Byte7

Byte8

7E5

8

13h

00h

04h

0

0

0

0

0


Beispiel Baudrate = 125kBaud:
Byte 2:

00h

CiA Bauraten Tabelle

Byte 3:

04h

4 = 125kBau


Baudraten:
0=1Mbaud

3=250kBaud

7=20kBaud

1=800kBaud

4=125kBaud

8=10kBaud

2=500kBaud

6=50kBaud


Antwort vom CANopen Dehntrafo:

ID

DLC

Byte1

Byte2

Byte3

Byte4

Byte5

Byte6

Byte7

Byte8

7E4

8

13h

00h

0

0

0

0

0

0


Byte 2:

00h

Baudrate wurde erfolgreich umgestellt

01h

Baudrate ausserhalb gültigem Bereich

FFh

spezifischer Fehler

Advertising