Baumer OADM 13S6575/S35A User Manual

Page 6

Advertising
background image

6/8

OADM 13S6575/S35A

5 Anhang
5.1 Sensoreinheiten
Die Sensoreinheiten sind immer: 1 Einheit = 1/8192 des nominalen Messbereichs.

5.2 Ungültiger Messwert
Wenn das Objekt hinter der maximalen Messdistanz liegtund noch erfasst werden
kann, dann wird der Wert 99999 (ASCII), FF 7F (Binär) ausgegeben. Hat der Sensor
kein Objekt im Erfassungsbereich, gibt er den Wert 0 aus.

5.3 Abschwächung
Die „Abschwächung“ zeigt an wie stark das Licht vom Sensor zum Objekt und
wieder zurück abgeschwächt wird. Ein großer Wert bedeutet eine starke Ab-
schwächung, also z.B. dunkle Objekte. Der Wert für die Abschwächung ist ein
relativer Wert der je nach Typ bis zu 8192 als Maximalwert erreicht.
Ist der Maximalwert erreicht, dann führt eine weitere Verringerung der Lichtmenge
durch dunklere Objekte oder Verschmutzung zu einem ungültigen Messwert.

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 Annexe
5.1 Unités du détecteur
Les unités du détecteur correspondent toujours à: 1 unité = 1/8192 de la plage
nominale de mesure.

5.2 Valeur de mesure non valable
Lorsque l’objet se trouve en dehors de la distance de mesure maximale, la valeur
99999 (ASCII), FF 7F (Binaire) est affichée. Si aucun objet ne se trouve à l’intérieur
de la plage de mesure, c’est alors la valeur 0 qui est affichée.

5.3 Affaiblissement
„L’affaiblissement“ indique de combien la lumière émise par le détecteur sur l’objet
et renvoyée vers le détecteur est affaiblie. Une grande valeur signifie un fort
affaiblissement, par exemple, en présence d’objets foncés. La valeur pour
l’affaiblissement est une valeur relative qui se situe selon le type entre 1 et 8192
comme valeur maximale. Lorsque la valeur maximale est atteinte, il faut s’attendre
à des valeurs de mesure incorrectes dans le cas d’une réduction supplémentaire de
la quantité de lumière par des objets plus sombres ou en présence d’encrassement.

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:

Résultat affaiblissement

Binaire

01 0111 1111 0110

Binaire

00 0101 1111 0010

Décimale 6134

Décimale 1522

Hexadécimale 0x17F6

Hexadécimale 0x5F2

5 Appendix
5.1 Sensor units

The sensor units are always: 1 unit = 1/8192 of the nominal measuring range.

5.2 Invalid measured value

Provided the object is farther away than the maximum measuring distance and it is
still being detected by the sensor, the value 99999 (ASCII), FF 7F (binary) is sent. If
there is no object at all within the sensor’s measuring range or the object is too far
away to be detected, the output is 0.

5.3 Attenuation
The „attenuation“ indicates how strongly the light has been attenuated on its way
from the sensor to the object and back to the receiver. A high value suggests a
strong attenuation e.g. as encountered when looking at dark objects. The attenuation
value is a relative figure reaching maximum values of up to 8192 depending on the
type of sensor. When the maximum value has been reached any further reduction of
the light intensity, induced by either darker objects or by soiled conditions, will result
in an invalid measured value.

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:

Result attenuation:

Binary

01 0111 1111 0110

Binär

00 0101 1111 0010

Decimal

6134

Dezimal

1522

Hexadecimal

0x17F6

Hexadezimal 0x5F2

Advertising