Baumer OADM 13T6575/S35A User Manual

Page 6

Advertising
background image

6/8

OADM 13T6575/S35A

5.5

Besonderheiten permanent periodische Ausgabe

Die Ausgabe wird durch Senden des Reset Kommandos oder Ausschalten des
Sensors abgebrochen. Nach dem Einschalten sendet der Sensor nicht mehr
periodisch.

5.6

Format der Ausgabe von „Get Konfiguration“

Ausgabe Skalierung (mm,µm..)

1 Byte

Ausgabeformat (Binär, ASCII)

1 Byte

Wartezeit für permanentperiodische Ausgabe

1 Byte

Softwareversion

6 Byte( XXYYZZ)

Hardwareversion

2 Byte (XY)

Produktionsdatum

6 Byte (TTMMJJ)

5.4 Binäres Format
Das binäre Format wird nur in der permanenten periodischen Ausgabe verwendet
um die Messdaten mit maximaler Datenrate zu übertragen. Aus diesem Grund
ist das binäre Format sehr kompakt und mit minimalem Overhead versehen.
Das Datenformat der Messwerte ist immer: Sensoreinheiten.

Im ersten Byte ist

Bit 7 = 1 Markierung für Start des Datensatzes

Bit 0..Bit 6 sind Bit 7 .. 13 des Messwertes

Im zweiten Byte ist

Bit 7 = 0,

Bit 0..Bit 6 sind Bit 0..6 des Messwertes

Falls die Abschwächung auch für die Ausgabe gewählt war, dann folgen 2 weitere
Bytes
Im dritten Byte ist

Bit 7 = 0,

Bit 0..Bit 6 sind Bit 7..13 des Abschwächungswerts

Im vierten Byte ist

Bit 7 = 0,

Bit 0..Bit 6 sind Bit 0..6 des Abschwächungswertes

Bespiel: nur Messwert

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

Byte 1

1 0 1 0 1 1 1 1

Byte 2

0 1 1 1 0 1 1 0

Resultat Messwert:
Binär

01 0111 1111 0110

Dezimal

6134

Hexadezimal

0x17F6

Bespiel: Messwert und Abschwächung

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

Byte 1

1 0 1 0 1 1 1 1

Byte 2

0 1 1 1 0 1 1 0

Byte 3

0 0 0 0 1 0 1 1

Byte 4

0 1 1 1 0 0 1 0

Resultat Messwert:
Binär

01 0111 1111 0110

Dezimal

6134

Hexadezimal

0x17F6

Resultat Abschwächung:
Binär

00 0101 1111 0010

Dezimal

1522

Hexadezimal

0x5F2

5.4

Format binaire

Le format binaire est seulement utilisé pour l’édition périodique permanente afin de
transmettre les données de mesure avec un taux de transfert des données maximal.
Pour cette raison, le format binaire est très compact. Le format des données des
valeurs de mesure est toujours: Unités du détecteur.

Pour le premier octet, on a: Bit 7 = 1 Marquage pour le démarrage du bloc de
données

Bit 0..Bit 6 sont les Bit 7 .. 13 de la valeur de mesure

Pour le deuxième octet, on a: Bit 7 = 0,

Bit 0..Bit 6 sont les Bit 0..6 de la valeur de mesure

Si l’affaiblissement a aussi été choisi pour l’édition des données, 2 octets
supplémentaires suivent:
Pour le troisième octet, on a:

Bit 7 = 0,

Bit 0..Bit 6 sont les Bit 7..13 de la valeur de

l’affaiblissement

Pour le quatrième octet, on a:

Bit 7 = 0,

Bit 0..Bit 6 sont les Bit 0..6 de la valeur de

l’affaiblissement

Exemple: seulement valeur de mesure

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2

Bit 1 Bit 0

Octet1

1 0 1 0 1 1

1 1

Octet2

0 1 1 1 0 1

1 0

Résultat valeur de mesure:
Binaire

01 0111 1111 0110

Décimale

6134

Hexadécimale

0x17F6

Exemple: valeur de mesure et affaiblissement

Bit 7 Bit 6 Bit 5

Bit 4 Bit 3 Bit 2

Bit 1 Bit 0

Octet1

1 0 1

0 1 1

1 1

Octet2

0 1 1

1 0 1

1 0

Octet3

0 0 0

0 1 0

1 1

Octet4

0 1 1

1 0 0

1 0

Résultat valeur de mesure:
Binaire

01 0111 1111 0110

Décimale

6134

Hexadécimale

0x17F6

Résultat affaiblissement
Binaire

00 0101 1111 0010

Décimale

1522

Hexadécimale

0x5F2

5.5

Particularités pour l’édition des données périodique permanente

L’édition des données est interrompue en envoyant l’ordre de commande Reset
ou hors du sensors ou à la suite d’un déclenchement. Après un nouvel
enclenchement, le détecteur n’émet plus de façon périodique.
5.6

Format d’édition de „Get Configuration“

Edition de la mise à l’échelle (mm,µm..)

1 octet

Format de l’édition (Binaire, ASCII)

1 octet

Intervalle de temps pour édition périodique permanente 1 octet
Version logiciel

6 octets ( XXYYZZ)

Version Hardware

2 octets (XY)

Date de production

6 octets (TTMMJJ)

5.4

Binary format

The binary format is only used in the permanent periodical signal output mode in order
to transmit the measured data with the highest possible data rate. For that reason the
binary format is very compact with only minimal overhead. The data format of the
measured data is always: sensor units.

The first Byte contains

Bit 7 = 1 as marker for the start of the dataset

Bit 0..Bit 6 are Bit 7 .. 13 of the measured data

The 2nd Byte contains

Bit 7 = 0,

Bit 0..Bit 6 are Bit 0..6 of the measured data

Provided the attenuation has also been chosen for data output, then 2 further Bytes
are to follow
The 3rd Byte contains

Bit 7 = 0,

Bit 0..Bit 6 are Bit 7..13 of the attenuation value

The 4th Byte contains

Bit 7 = 0,

Bit 0..Bit 6 are Bit 0..6 of the attenuation value

Example: Only measured data:

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

Byte 1

1 0 1 0 1 1 1 1

Byte 2

0 1 1 1 0 1 1 0

Result of measured data:
Binär

01 0111 1111 0110

Dezimal

6134

Hexadezimal

0x17F6

Example: measured data and attenuation

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

Byte 1

1 0 1 0 1 1 1 1

Byte 2

0 1 1 1 0 1 1 0

Byte 3

0 0 0 0 1 0 1 1

Byte 4

0 1 1 1 0 0 1 0

Result of measured data:
Binary

01 0111 1111 0110

Decimal

6134

Hexadecimal

0x17F6

Result attenuation:
Binär

00 0101 1111 0010

Dezimal

1522

Hexadezimal

0x5F2

5.5

Particular features of the permanent periodical signal output mode

The data output is interrupted by either sending the reset command or by switching
the sensor off After power-on the sensor does not send periodically anymore.

5.6

Data format of „Get configuration“

Scale of output (mm, µm..)

1 Byte

Data output format (Binary, ASCII)

1 Byte

Waiting time for permanent periodical data output

1 Byte

Software version

6 Byte (XXYYZZ)

Hardware version

2 Byte (XY)

Manufacturing date

6 Byte (TTMMJJ)

Advertising