Sie sind auf Seite 1von 33

Farbsensor

Colour Sensor

FP04
FP11

BEDIENUNGSANLEITUNG
OPERATING INSTRUCTIONS

SAP Nr. 80213


DR-B-FP-DE-GB
D 2

Typen Anschlussbild
Bestellnummer Anschlussbildnummer

FP04PCT80 156 156

Funktion: Tastbetrieb
Anwendung: Farbige Oberflächen

+ Plus 10...30 V
A1/Â1 Schaltausgang A1
FP11PCT80 156 A2/Â2 Schaltausgang A2
Funktion: Schrankenbetrieb A3/Â3 Schaltausgang A3
Anwendung: Transparente Objekte RxD/W RxD: Empfangsleitung der Schnittstelle
W: Triggereingang
TxD/T TxD: Sendeleitung der Schnittstelle
T: externer Teach-Eingang
- Minus
S Schirm

Gehäuseabmessungen Zubehör
Bestellnummer
S80-2M (2m PVC Kabel)
S80-5M (5m PVC Kabel)

S01

 Sendediode
2 Empfangsdiode
Anschlussleitung M 12x1 - 8 polig

wenglor sensoric gmbh • wenglor Straße 3 • D-88069 Tettnang • Tel. 07542 / 53 99 0 • Fax 07542 / 53 99 988
D 3

Technische Daten
FP04PCT80 FP11PCT80

Optisch
Arbeitsbereich 30…40 mm 10…1000 mm
Arbeitsabstand 35 mm
Bezugsreflektor RE6151BM
Lichtart Weisslicht Weisslicht
Lebensdauer (Tu = +25°C) 100000 h 100000 h
max. zul. Fremdlicht 10000 Lux 10000 Lux
Lichtfleckdurchmesser 2 mm 10 mm

Elektrisch
Versorgungsspannung 10…30 V 10…30 V
Stromaufnahme (Ub = 24V) < 50 mA < 50 mA
Schaltfrequenz 1660 Hz 1660 Hz
Ansprechzeit 300 µs 300 µs
Anzugs-/Abfallszeitverzögerung 0…1000 ms 0…1000 ms
Temperaturbereich -25…60°C -25…60°C
Anzahl Schaltausgänge 3 3
Spannungsabfall Schaltausgang 1,5 V 1,5 V
Schaltstrom PNP Schaltausgang 200 mA 200 mA
kurzschlussfest ja ja
verpolungssicher ja ja
Teachmodus FT FT
Schnittstelle RS-232 RS-232
Übertragungsrate 38400 Bd 38400 Bd
Protokoll 8N1 8N1
Anzahl der Eingänge digital 2 2

Mechanisch
Einstellart Teach-In Teach-In
Gehäusematerial Kunststoff Kunststoff
Schutzart IP 67 IP 67
Anschlussart M 12x1 M 12x1
Schutzisolierung, Bemessungsspannung 50 V 50 V

FT: Fenster Teach-In

wenglor sensoric gmbh • wenglor Straße 3 • D-88069 Tettnang • Tel. 07542 / 53 99 0 • Fax 07542 / 53 99 988
D 4

Bedienfeld:

 = Minus-Taste/LED
 = Plus-Taste/LED
A1 = Schaltzustandsanzeige Ausgang 1
A2 = Schaltzustandsanzeige Ausgang 2
A3 = Schaltzustandsanzeige Ausgang 3
ON Delay = Anzugsverzögerung
OFF Delay = Abfallverzögerung
Trigger = Triggerbetrieb
RS-232 = Schnittstellenbetrieb
TEACH A3 = Teachen Ausgang 3
TEACH A2 = Teachen Ausgang 2
TEACH A3 = Teachen Ausgang 3
RUN = Run-Funktion
 = Drehwahlschalter

EG-Konformitätserklärung
Die Bauart aller optischen und induktiven Näherungsschalter ist entwickelt, konstruiert und gefertigt in Über-
einstimmung mit den unten genannten Richtlinien.
Folgende internationale Normen, Richtlinien und Spezifikationen sind angewendet:

• EN 50 081 Elektromagnetische Verträglichkeit, Fachgrundnorm Störaussendung


Teil 1 Wohnbereich, Geschäfts- und Gewerbebereich, sowie Kleinbetriebe
Teil 2 Industriebereich
• EN 50 082 Elektromagnetische Verträglichkeit, Fachgrundnorm Störfestigkeit
Teil 1 Wohnbereich, Geschäfts- und Gewerbebereich, sowie Kleinbetriebe
• EN 60 947-5-2 Niederspannungs-Schaltgeräte, Hilfsstromschalter/Näherungsschalter

Weitere für die Anwendung gültige Normen sind zu berücksichtigen.

50 V

Diese Sensoren sind nicht für Sicherheitsanwendungen geeignet !

wenglor sensoric gmbh • wenglor Straße 3 • D-88069 Tettnang • Tel. 07542 / 53 99 0 • Fax 07542 / 53 99 988
D 5

Montagehinweise
Beim Betrieb der Sensoren sind die entsprechenden elektrischen sowie mechanischen Vorschriften, Normen
und Sicherheitsregeln zu beachten. Der Sensor muss vor mechanischer Einwirkung geschützt werden.

Diese Sensoren sind nicht für Sicherheitsanwendungen geeignet!

Der Abstand zwischen der Optik und der Objektoberfläche soll 35 mm betragen.
Der Sensor muss während der Messung fest fixiert sein.

FP04
m

20°…45°
m
35

Lichtfleckdurchmesser
Arbeitsabstand 30 mm 35 mm 40 mm
Lichtfleckdurchmesser 3 mm 2 mm 3 mm

FP11
10…1000 mm

Reflektor
z.B. Typ RE6451BM

Lichtfleckdurchmesser
Arbeitsabstand 100 mm 200 mm 1000 mm
Lichtfleckdurchmesser 5 mm 10 mm 50 mm

wenglor sensoric gmbh • wenglor Straße 3 • D-88069 Tettnang • Tel. 07542 / 53 99 0 • Fax 07542 / 53 99 988
D 6

Ausgänge auf Farben einstellen

Ausgänge 1, 2, 3
• Drehwahlschalter  auf Teach A1, Teach A2, Teach A3
• Plus-Taste  drücken und halten
 Plus-Tasten-LED leuchtet
 Plus-Tasten-LED erlischt nach 1s, Schaltzustandsanzeige Ausgang 1, Ausgang 2, Ausgang 3 beginnt
zu blinken
• Plus-Taste  loslassen
 Farbe wird auf jeweiligen Ausgang A1, A2 oder A3 geteacht
• Funktionskontrolle
• Drehwahlschalter  auf RUN

Funktionskontrolle
• Wenn der Sensor in der Anwendung die vorgelegten Farben nicht unterscheiden kann, muss die
Fensterbreite verkleinert werden.

• Sollen am gleichen Ausgang zur bereits eingeteachten Farbe noch weitere Farben erkannt werden, so
können die weiteren Farben auf diesen Ausgang nachgeteacht werden.

• Wenn der Ausgang aufgrund schwankender Messbedingungen unsicher schaltet, so muss die
Fensterbreite vergrößert werden.

Farbeinstellung des Ausgangs 1 über externen Eingang Pin 4


Diese Funktion wirkt nur auf den Ausgang A1.
• Drehwahlschalter  auf RUN
• 10…30 Volt 0,3 s lang auf externen Teach-Eingang T (Pin 4) legen
• Spannung am Teach-Eingang entfernen
 Farbe wird auf Ausgang A1 geteacht

Farben nachteachen
Diese Funktion ermöglicht, zusätzliche Farben zu einer bereits eingelernten Farbe auf einen Ausgang nach-
zuteachen.
Beispiel:
Es soll zunächst eine bestimmte Farbe erkannt werden. Zusätzlich soll auch noch eine weitere Farbe oder
zulässige Farbabweichung erkannt werden. Dann wird die Farbe, die zuerst erkannt werden soll, auf einen
Ausgang geteacht. Danach werden alle weiteren Farben, die zusätzlich erkannt werden sollen, auf den
gleichen Ausgang nachgeteacht. Es wird der gesamte Bereich zwischen den eingeteachten Farben erkannt.

wenglor sensoric gmbh • wenglor Straße 3 • D-88069 Tettnang • Tel. 07542 / 53 99 0 • Fax 07542 / 53 99 988
D 7

Ausgang nachteachen
• Leuchtfleck des Sensors auf die nachzuteachende Farbe positionieren
• Drehwahlschalter  auf den gewünschten Ausgang (Teach A1, Teach A2, Teach A3)
• Minus-Taste  drücken und halten
 Minus-Tasten-LED leuchtet
 Minus-Tasten-LED erlischt nach 1 s
 Die Schaltzustandsanzeige des entsprechenden Ausgangs A1, A2, A3 blinkt langsam
• Minus-Taste  loslassen
 Farbe wird auf entsprechenden Ausgang A1, A2, A3 nachgeteacht
 Funktionskontrolle
• Drehwahlschalter  auf RUN

Fensterbreite einstellen
Beim Einteachen des Farbwertes wird auch eine Fensterbreite für die Farberkennung festgelegt. Die
Fensterbreite kann in 7 Stufen für jeden Ausgang individuell eingestellt werden. Kleine Fensterbreite: Der
wenglor® Farbsensor FPxx erkennt schon feinste Farbänderungen. Große Fensterbreite: Der wenglor®
Farbsensor FPxx unterscheidet nur noch nach Farbgruppen. Die Grundeinstellung der Fensterbreite ist auf
einen mittleren Wert (3) eingestellt.

Kontrolle der aktuellen Fensterbreite


• Drehwahlschalter  auf den entsprechenden Ausgang (Teach A1, Teach A2, Teach A3)
• Minus-Taste  drücken und halten
 Minus-Tasten-LED leuchtet
 Minus-Tasten-LED erlischt nach 1s
 Die Schaltzustandsanzeige des entsprechenden Ausgangs A1, A2, A3 blinkt langsam
 Nach ca. 3 s blinkt die Schaltzustandsanzeige des entsprechenden Ausgangs A1, A2, A3 schnell
• Minus-Taste  loslassen
 Anzeige der aktuellen Fensterbreite, siehe Tabelle 1
• Kontrolle der Fensterbreite
• Drehwahlschalter  auf RUN

wenglor sensoric gmbh • wenglor Straße 3 • D-88069 Tettnang • Tel. 07542 / 53 99 0 • Fax 07542 / 53 99 988
D 8

Anzeige der eingestellten Fensterbreite

Fensterbreite des
entsprechenden LED der Minus-Taste  LED der Plus-Taste 
Ausgangs
0 (kleinste Farbunterschiede 1x Blinken, Pause, 1x Blinken aus
werden erkannt)
1 2x Blinken, Pause, 2x Blinken aus
2 3x Blinken, Pause, 3x Blinken aus
3 (Grundeinstellung) 4x Blinken, Pause, 4x Blinken aus
4 aus 1x Blinken, Pause, 1x Blinken
5 aus 2x Blinken, Pause, 2x Blinken
6 (Unterscheidung nur aus 3x Blinken, Pause, 3x Blinken
noch in Farbgruppen)

Tabelle 1

Fensterbreite einstellen
• Drehwahlschalter  auf den gewünschten Ausgang (Teach A1, Teach A2, Teach A3)
• Minus-Taste  drücken und halten
 Minus-Tasten-LED leuchtet
 Minus-Tasten-LED erlischt nach 1 s
 Die Schaltzustandsanzeige des entsprechenden Ausgangs A1, A2, A3 blinkt langsam
 Nach ca. 3 s blinkt die Schaltzustandsanzeige des entsprechenden Ausgangs A1, A2, A3 schnell
• Minus-Taste  loslassen
 Einstellmodus ist aktiviert
 Anzeige der aktuellen Fensterbreite, siehe Tabelle 2
• Minus-Taste  kurz drücken
 Fensterbreite des entsprechenden Ausgangs A1, A2, A3 wird kleiner
 Funktionskontrolle
• Plus-Taste  kurz drücken
 Fensterbreite des entsprechenden Ausgangs A1, A2, A3 wird größer
 Funktionskontrolle
• Drehwahlschalter  auf RUN
 Geänderte Einstellung wird gespeichert

wenglor sensoric gmbh • wenglor Straße 3 • D-88069 Tettnang • Tel. 07542 / 53 99 0 • Fax 07542 / 53 99 988
D 9

Beenden des Einstellmodus


• Drehwahlschalter  auf RUN
 Geänderte Einstellung wird gespeichert
... oder ...
• Minus-Taste  drücken und halten
 Minus-Tasten-LED leuchtet
 Minus-Tasten-LED erlischt nach 1 s, die Schaltzustandsanzeige des entsprechenden Ausgangs A1, A2,
A3 beginnt zu blinken
• Minus-Taste  loslassen
 Geänderte Einstellung wird gespeichert
... oder …
• 60 Sekunden lang keine Taste betätigen
 Einstellmodus wird ohne Aktualisierung beendet

Verzögerungszeiten: Anzugs- und Abfallverzögerung (On-Delay und Off-Delay)


Objekt
Zeit

Farbüberein- Ja
stimmung Nein Zeit
ein Delay
aus
Zeit

ein
Delay
aus
Zeit

Anzugsverzögerung (On-Delay) einstellen


• Drehwahlschalter  auf On-Delay
 Anzeige der aktuellen Anzugsverzögerung, siehe Tabelle 2
• Plus-Taste  kurz drücken
 Verzögerungszeit wird verlängert
• Minus-Taste  kurz drücken
 Verzögerungszeit wird verkürzt
• Drehwahlschalter  auf RUN

Abfallverzögerung (Off-Delay) einstellen


• Drehwahlschalter  auf Off-Delay
 Anzeige der aktuellen Abfallverzögerung, siehe Tabelle 2
• Plus-Taste  kurz drücken
 Verzögerungszeit wird verlängert
• Minus-Taste  kurz drücken
 Verzögerungszeit wird verkürzt
• Drehwahlschalter  auf RUN

wenglor sensoric gmbh • wenglor Straße 3 • D-88069 Tettnang • Tel. 07542 / 53 99 0 • Fax 07542 / 53 99 988
D 10

Anzeige der eingestellten Verzögerungszeit

Delay LED der Minus-Taste  LED der Plus-Taste 


0,3 ms* 1x Blinken, Pause, 1x Blinken aus
10 ms 2x Blinken, Pause, 2x Blinken aus
20 ms 3x Blinken, Pause, 3x Blinken aus
50 ms 4x Blinken, Pause, 4x Blinken aus
100 ms aus 1x Blinken, Pause, 1x Blinken
200 ms aus 2x Blinken, Pause, 2x Blinken
500 ms aus 3x Blinken, Pause, 3x Blinken
1000 ms aus 4x Blinken, Pause, 4x Blinken
*Grundeinstellung Tabelle 2

Ausgang 2 und Ausgang 3 deaktivieren/aktivieren


Ausgang 2 und Ausgang 3 des wenglor® Farbsensors FPxx können deaktiviert werden. Dadurch wird eine
Schaltfrequenzerhöhung der verbleibenden Ausgänge erreicht.

Ausgang 2 deaktiviert Ausgang 3 deaktiviert Schaltfrequenz


ja ja 1,66 kHz
ja nein 830 Hz
nein ja 830 Hz
nein nein 550 Hz*
*Grundeinstellung Tabelle 3

Ausgang 1 kann nicht deaktiviert werden!

Prüfen, ob der Ausgang 2 aktiviert oder deaktiviert ist


• Drehwahlschalter  auf Teach A2
 Schaltzustandsanzeige des Ausgangs 2 blinkt nicht
 Ausgang 2 befindet sich im aktivierten Zustand
 Schaltzustandsanzeige des Ausgangs 2 blinkt in schneller Frequenz
 Ausgang 2 befindet sich im deaktivierten Zustand

wenglor sensoric gmbh • wenglor Straße 3 • D-88069 Tettnang • Tel. 07542 / 53 99 0 • Fax 07542 / 53 99 988
D 11

Ausgang 2 deaktivieren
• Drehwahlschalter  auf Teach A2
• Plus-Taste  drücken und halten
 Plus-Tasten-LED leuchtet
 Plus-Tasten-LED erlischt nach 1 s
 Schaltzustandsanzeige des Ausgangs 2 blinkt langsam
 Nach ca. 10 s blinkt die Schaltzustandsanzeige des Ausgangs 2 schnell
• Plus-Taste  loslassen
 Ausgang 2 ist deaktiviert
 Die Schaltzustandsanzeige des Ausgangs 2 blinkt in schneller Frequenz
• Drehwahlschalter  auf RUN

Ausgang 2 aktivieren
• Drehwahlschalter  auf Teach A2
 Die Schaltzustandsanzeige des Ausgangs 2 blinkt in schneller Frequenz
• Plus-Taste  drücken und halten
 Plus -Tasten-LED leuchtet
 Plus -Tasten-LED erlischt nach 1 s
 Die Schaltzustandsanzeige des Ausgangs 2 blinkt langsam
• Plus-Taste  loslassen
 Ausgang 2 ist aktiviert
• Drehwahlschalter  auf RUN

Prüfen, ob der Ausgang 3 aktiviert oder deaktiviert ist


• Drehwahlschalter  auf Teach A3
 Schaltzustandsanzeige des Ausgangs 3 blinkt nicht
 Ausgang 2 befindet sich im aktivierten Zustand
 Schaltzustandsanzeige des Ausgangs 3 blinkt in schneller Frequenz
 Ausgang 2 befindet sich im deaktivierten Zustand

Ausgang 3 deaktivieren
• Drehwahlschalter  auf Teach A3
• Plus-Taste  drücken und halten
 Plus-Tasten-LED leuchtet
 Plus-Tasten-LED erlischt nach 1 s
 Schaltzustandsanzeige des Ausgangs 3 blinkt langsam
 Nach ca. 10 s blinkt die Schaltzustandsanzeige des Ausgangs 3 schnell
• Plus-Taste  loslassen
 Ausgang 3 ist deaktiviert
 Die Schaltzustandsanzeige des Ausgangs 3 blinkt in schneller Frequenz
• Drehwahlschalter  auf RUN

wenglor sensoric gmbh • wenglor Straße 3 • D-88069 Tettnang • Tel. 07542 / 53 99 0 • Fax 07542 / 53 99 988
D 12

Ausgang 3 aktivieren
• Drehwahlschalter  auf Teach A3
 Die Schaltzustandsanzeige des Ausgangs 3 blinkt in schneller Frequenz
• Plus-Taste  drücken und halten
 Plus-Tasten-LED leuchtet
 Plus-Tasten-LED erlischt nach 1 s
 Die Schaltzustandsanzeige des Ausgangs 3 blinkt langsam
• Plus-Taste  loslassen
 Ausgang 3 ist aktiviert
• Drehwahlschalter  auf RUN

Triggerfunktion Pin 5
• Drehwahlschalter  auf Trigger
• Triggersignal (PNP) am Eingang W (Pin 5) anlegen
 Triggerung erfolgt mit positiver Signalflanke
 Sensor führt eine einmalige Messung durch
 Ausgänge werden einmalig aktualisiert
• Signal am Triggereingang entfernen

Schnittstelle
Der wenglor® Farbsensor FPxx besitzt eine RS-232 Schnittstelle zur Kommunikation mit einem
Kommunikationspartner wie z. B. mit einem PC oder einer Steuerung. Die Schnittstelle funktioniert im
Software-Handshake-Verfahren (Art des Protokolls siehe unten).
Alle Einstellungen für den Sensor können über einen Rechner digital vorgenommen und alle vom Sensor
gelieferten Werte über den Rechner ausgegeben werden. So können auch die Rot-, Grün- und Blauanteile der
wiederzuerkennenden Farbe digital ausgegeben werden.

Software-Tools
Auf der Homepage von wenglor® befinden sich folgende Software-Tools:
• Install_FP_Demo.exe zum Bedienen sämtlicher Schnittstellen-Funktionen
• DLL zum direkten Einbinden in anwenderspezifische Applikationen
Download-Adresse: www.wenglor.de

Technische Daten der Schnittstelle


Baudrate: 38400 Baud, 8 Datenbit, keine Parität, 1 Stopbit

Steckeranschlüsse der wenglor® Steckerweiche S232W2:


• 8-poliger M12 Stiftstecker zum Anschluss der Stromversorgung und der Ausgänge
• 8-poliger M12 Buchsenstecker zum direkten Anschluss des Sensors
• 9-poliger M12 SUB-D-Buchsenstecker zum direkten Anschluss an die RS-232 Schnittstelle des PC oder der
verwendeten Steuerung

wenglor sensoric gmbh • wenglor Straße 3 • D-88069 Tettnang • Tel. 07542 / 53 99 0 • Fax 07542 / 53 99 988
D 13

Sensor über wenglor®-Steckerweiche S232W2 mit PC, Steuerung etc. verbinden

Installation der wenglor® Steckerweiche S232W2:


• Stromversorgung abschalten
• Drehwahlschalter  auf RS-232
• 8-poliges Anschlusskabel (S80-xx) vom Sensor trennen
• Steckerweiche S232W2 direkt am Sensor einstecken
• 8-poliges Anschlusskabel (S80-xx) an der Steckerweiche einstecken
• 9-poligen SUB-D-Stecker am PC an der seriellen Schnittstelle anschließen
• Stromversorgung einschalten

S232W2
Sensor Stromversorgung
Ausgänge

RS232

PC, Steuerung Anschluss des Sensors


an einen PC oder eine Steuerung

Protokoll für den Ablauf der Kommunikation über die RS-232 Schnittstelle

Telegrammaufbau für die Datenübertragung (senden und empfangen)

Sendender Partner Zeichen (ASCII) Empfangender Partner Telegrammbereich


Startzeichen / (ASCII 47) => Verbindungsaufbau Telegrammkopf
Längeninformation 2 Byte => Verbindungsaufbau Telegrammkopf
Befehlsbyte 2 Byte => Telegrammkopf
1. Datenbyte 2 Byte => Dateninformation Nutzdaten
2. Datenbyte 2 Byte => Nutzdaten
.. .. => Dateninformation Nutzdaten
n. Datenbyte .. => Dateninformation Nutzdaten
Quersumme (BCC) 2 Byte => Telegrammende
Stoppzeichen . (ASCII 46) => Verbindungsende Telegrammende

wenglor sensoric gmbh • wenglor Straße 3 • D-88069 Tettnang • Tel. 07542 / 53 99 0 • Fax 07542 / 53 99 988
D 14

Berechnung der Quersumme BCC


Die Quersumme bildet sich aus einer EXOR-Verknüpfung des Telegramms. Die Berechnung beginnt mit dem
Startzeichen und endet mit dem letzten Zeichen der Nutzdaten.

Startzeichen Länge Befehl Daten Quersumme Stoppzeichen


/ 02 0D 00 59 .
2FH 30H 32H 30H 44H 30H 30H 35H 39H 2EH
Zur Berechung der Quersumme verwendeter Datenbereich

Berechnungsbeispiel : Programmbeispiel :

/ 2FH = 0010 1111


Start
0 30H = 0011 0000
XOR = 0001 1111 Sendetelegramm="/020D0059." (Beispiel)
2 32H = 0011 0010 Sendetelegrammlänge=10 (in diesem Beispiel);
XOR = 0010 1101
Quersumme=0; n=1;
0 30H = 0011 0000
XOR = 0001 1101 Solange: n < (Sendetelegrammlänge - 3)
D 44H = 0100 0100
Quersumme= Quersumme EXOR Sendetelegrammzeichen (n)
XOR = 0101 1001
0 30H = 0011 0000 n = n +1
XOR = 0111 1001
Ende
0 30H = 0011 0000
XOR = 0101 1001 => Quersumme = 59H

Einstellen der Sensorfunktionen über Befehle


Befehlsübersicht:

Funktion Befehl
Teachen T
Nachteachen N
Fensterbreite einstellen f
Anzug-/Abfallverzögerung einstellen A
RGB-Farbwerte auslesen D
Schwellen auslesen s
Sensorstatus abfragen W
Sensorreset durchführen R
Ausgang deaktivierten/aktivieren B
Sensorversion abfragen V

wenglor sensoric gmbh • wenglor Straße 3 • D-88069 Tettnang • Tel. 07542 / 53 99 0 • Fax 07542 / 53 99 988
D 15

Teachen:

Funktion Sendetelegramm an den Sensor Antworttelegramm des Sensors


Teachen Ausgang 1 NO /020T0049. /030MT0005.
Teachen Ausgang 1 NC /020T0148. /030MT0104.
Teachen Ausgang 2 NO /020T024B. /030MT0207.
Teachen Ausgang 2 NC /020T034A. /030MT0306.
Teachen Ausgang 3 NO /020T044D. /030MT0401.
Teachen Ausgang 3 NC /020T054C. /030MT0500.

Fensterbreite einstellen:

Funktion Sendetelegramm an den Sensor Antworttelegramm des Sensors


Fensterbreite Ausgang 1 /040f01bbqq. /030Mf0037
Fensterbreite Ausgang 2 /040f02bbqq. /030Mf0136.
Fensterbreite Ausgang 3 /040f03bbqq. /030Mf0235.

bb: Fensterbreite 0...6


qq: Quersumme

Anzugs-/Abfallverzögerung einstellen:

Funktion Sendetelegramm an den Sensor Antworttelegramm des Sensors


Anzugsverzögerung
/040A01bbqq. /030MA0111.
einstellen
Abfallverzögerung
/040A00bbqq. /030MA0010.
einstellen

bb: Verzögerungswert 0...7


qq: Quersumme

RGB-Farbwerte auslesen:

Funktion Sendetelegramm an den Sensor Antworttelegramm des Sensors


Tastbetrieb /020D0059. /0E0Drrrrggggbbbbaaqq.
Durchlichtbetrieb /020D0158. /0E0Drrrrggggbbbbaaqq.

rrrr: Farbinformation Rot 10 Bit Länge: 4 Byte


gggg: Farbinformation Grün 10 Bit Länge: 4 Byte
bbbb: Farbinformation Blau 10 Bit Länge: 4 Byte
aa: Zustand der Schaltausgänge Bit 0 : Ausgang 0, Bit 1 : Ausgang 1, Bit 2 : Ausgang 2
qq: Quersumme

wenglor sensoric gmbh • wenglor Straße 3 • D-88069 Tettnang • Tel. 07542 / 53 99 0 • Fax 07542 / 53 99 988
D 16

Schwellen auslesen:

Funktion Sendetelegramm an den Sensor Antworttelegramm des Sensors


/000s6C. /9C0sAAVVRSOARSOERSUE
RSUAGSOAGSOEGSUEGSUA
BSOABSOEBSUEBSUAAAVV
RSOARSOERSUERSUAGSOA
GSOEGSUEGSUABSOABSOE
BSUEBSUAAAVVRSOARSOE
RSUERSUAGSOAGSOEGSUE
GSUABSOABSOEBSUEBSUA
gg.

AA: Ausgang
VV: Kanal-Verstärkungsfaktor

RSOA: Schwelle Oben Aus Farbe Rot Länge: 4 Byte


RSOE: Schwelle Oben Ein Farbe Rot Länge: 4 Byte
RSUE: Schwelle Unten Ein Farbe Rot Länge: 4 Byte
RSUA: Schwelle Unten Aus Farbe Rot Länge: 4 Byte

GSOA: Schwelle Oben Aus Farbe Grün Länge: 4 Byte


GSOE: Schwelle Oben Ein Farbe Grün Länge: 4 Byte
GSUE: Schwelle Unten Ein Farbe Grün Länge: 4 Byte
GSUA: Schwelle Unten Aus Farbe Grün Länge: 4 Byte

BSOA: Schwelle Oben Aus Farbe Blau Länge: 4 Byte


BSOE: Schwelle Oben Ein Farbe Blau Länge: 4 Byte
BSUE: Schwelle Unten Ein Farbe Blau Länge: 4 Byte
BSUA: Schwelle Unten Aus Farbe Blau Länge: 4 Byte
qq: Quersumme

Sensorstatus abfragen:

Funktion Sendetelegramm an den Sensor Antworttelegramm des Sensors


Status abfragen /000W48. /0A0Waabbccddeeqq.

aa: Fensterbreite Ausgang 1


bb: Fensterbreite Ausgang 2
cc: Fensterbreite Ausgang 3
dd: Abfallverzögerungswert
ee: Anzugsverzögerungswert
qq: Quersumme

wenglor sensoric gmbh • wenglor Straße 3 • D-88069 Tettnang • Tel. 07542 / 53 99 0 • Fax 07542 / 53 99 988
D 17

Sensorreset durchführen:

Funktion Sendetelegramm an den Sensor Antworttelegramm des Sensors


Reset durchführen /000R4D. /070V8a:bbccqq.

a: Software-Version
bb: Sensorgruppe (Farbsensor: 07))
cc: Sensortyp (FP04: 01, FP11: 02)
qq: Quersumme FP04 : 7BH, FP11 : 78H

Ausgang deaktivieren/aktivieren:

Funktion Sendetelegramm an den Sensor Antworttelegramm des Sensors


Ausgang 2 deaktivieren /040B010F2E. /030MB0112.
Ausgang 2 aktivieren /040B01075F. /030MB0112.
Ausgang 3 deaktivieren /040B020E2E. /030MB0211.
Ausgang 3 aktivieren / 040B02065D. /030MB0211.

Sensorversion abfragen:

Funktion Sendetelegramm an den Sensor Antworttelegramm des Sensors


Sensorversion abfragen /000V49. /070V8a:bbccqq.

a: Software-Version
bb: Sensorgruppe (Farbsensor: 07))
cc: Sensortyp (FP04: 01, FP11: 02)
qq: Quersumme FP04 : 7BH, FP11 : 78H

Fehlermeldung:
Erhält der Sensor fehlerhafte Daten, z.B. Falsche Quersumme oder unbekannter Befehl, so sendet er ein
Fehlerdiagramm zurück.

Funktion Sendetelegramm an den Sensor Antworttelegramm des Sensors


Fehlertelegramm Fehlerhafte Daten /030Xabbqq.

a: letzter gültiger Befehl


bb: letzter gültiger Befehlssatz
qq: Quersumme

wenglor sensoric gmbh • wenglor Straße 3 • D-88069 Tettnang • Tel. 07542 / 53 99 0 • Fax 07542 / 53 99 988
E 18

Device Types Connection Diagram


Order Number Connection Diagram Number

FP04PCT80 156 156

Function: Scanning mode


Application: Coloured surfaces

+ 10 to 30V supply power


A1/Â1 Switching output A1
FP11PCT80 156 A2/Â2 Switching output A2
Function: Barrier mode A3/Â3 Switching output A3
Application: Transparent objects RxD/W RxD: Interface Input Cable
W: Trigger-Input
TxD/T TxD: Interface Output Cable
T: External Teach-Input
- Minus
S Shield

Housing Dimensions Accessories


Bestellnummer
S80-2M (2m PVC Cable)
S80-5M (5m PVC Cable)

S01

 Transmitter Diode
2 Receiver Diode
Connecting cable M 12x1 - 8 pins

wenglor sensoric gmbh • wenglor Straße 3 • D-88069 Tettnang • Tel. 07542 / 53 99 0 • Fax 07542 / 53 99 988
E 19

Technical Data
FP04PCT80 FP11PCT80

Optical Data
Working Range 30…40 mm 10…1000 mm
Working Distance 35 mm
Reference Reflector RE6151BM
Light Source White Light White Light
Service Life (Tu = +25°C) 100000 h 100000 h
max. Ambient Light 10000 Lux 10000 Lux
Light Spot Diameter 2 mm 10 mm

Electrical Data
Supply Voltage 10…30 V 10…30 V
Current Consumption (Ub = 24V) < 50 mA < 50 mA
Switching Frequency 1660 Hz 1660 Hz
Response Time 300 µs 300 µs
ON-/OFF-Delay 0…1000 ms 0…1000 ms
Temperature Range -25…60°C -25…60°C
Switching Outputs 3 3
Switching Output Voltage Drop 1,5 V 1,5 V
PNP Switching Output/Switching Current 200 mA 200 mA
Short Circuit Protection yes yes
Reverse Polarity Protection yes yes
Teach Mode FT FT
Inerface RS-232 RS-232
Baud Rate 38400 Bd 38400 Bd
Protocol 8N1 8N1
Digital Inputs 2 2

Mechanical Data
Adjustment Teach-In Teach-In
Housing Plastic Plastic
Protection Mode IP 67 IP 67
Connection M 12x1 M 12x1
Protective Insulation, Rated Voltage 50 V 50 V

FT: Window Teach-In

wenglor sensoric gmbh • wenglor Straße 3 • D-88069 Tettnang • Tel. 07542 / 53 99 0 • Fax 07542 / 53 99 988
E 20

Control Panel:

 = Minus key (with LED)


 = Plus key (with LED)
A1 = Switching status display for output 1
A2 = Switching status display for output 2
A3 = Switching status display for output 3
ON Delay = On Delay
OFF Delay = Off Delay
Trigger = Trigger mode
RS-232 = Interface operating mode
TEACH A3 = Teach output 3
TEACH A2 = Teach output 2
TEACH A1 = Teach output 1
RUN = Run-function
 = Rotary selector switch

EG Declaration of Conformity
All optical and inductive proximity switches have been designed, engineered and manufactured in accordan-
ce with the directives listed below.
The following international standards, directives and specifications apply:

• EN 50 081 Electromagnetic compatibility, generic standard for interference emission


Part 1 Residential, business and commercial areas
Part 2 Industrial applications
• EN 50 082 Electromagnetic compatibility, generic standard for interference immunity
Part 1 Residential, business and commercial areas
• EN 60 947-5-2 Low-voltage switchgear, control switches/proximity switches

Other applicable standards for use must be taken into consideration as well.

50 V

These sensors are not suitable for safety applications!

wenglor sensoric gmbh • wenglor Straße 3 • D-88069 Tettnang • Tel. 07542 / 53 99 0 • Fax 07542 / 53 99 988
E 21

Mounting Instructions
All applicable electrical and mechanical regulations, standards, normative documents and safety rules must
be observed during operation of the sensors. Sensors must be protected against mechanical influences.

These sensors are not suitable for use in safety applications!

The distance between the optic and the surface of the object must be 35 mm.
The sensor must be fixed during the measurements.

FP04
m

20°…45°
m
35

Spot Diameter
Working Distance 30 mm 35 mm 40 mm
Light Spot Diameter 3 mm 2 mm 3 mm

FP11

10…1000 mm

Reflector
e.g. Typ RE6451BM

Spot Diameter
Working Distance 100 mm 200 mm 1000 mm
Light Spot Diameter 5 mm 10 mm 50 mm

wenglor sensoric gmbh • wenglor Straße 3 • D-88069 Tettnang • Tel. 07542 / 53 99 0 • Fax 07542 / 53 99 988
E 22

Setting the Outputs to the Desired Colours

Outputs 1, 2, 3
• Set the rotary selector switch  to Teach A1, Teach A2, Teach A3
• Press and hold the plus key 
 The LED at the plus key lights up
 The LED at the plus key goes out after 1 second, and the switching status display for output 1, output 2,
output 3 starts blinking
• Release the plus key 
 Colour is taught in to output A1, A2, A3
• Check for correct function
• Set the rotary selector switch  to RUN

Checking for Correct Function


• If the sensor is unable to correctly differentiate amongst the selected colours in the actual application, window
width must be reduced.

• If additional colours need to be recognised at an output to which a colour has already been taught in, these
can be subsequently taught in to the output.

• If the output demonstrates unreliable switching due to erratic measuring conditions, window width must be
increased.

Setting Colour at Output 1 via External Input Pin 4


This function can only be used for output A1.
• Set the rotary selector switch  to RUN
• Apply 10…30 V to external teach-in input T (pin 4) for a period of 0.3 seconds
• Disconnect voltage from the teach-in input
 Colour is taught in to output A1

Subsequent Colour Teach-In


This function allows for subsequent teach-in of further colours in addition to an already taught in colour to any
given output.
Example:
A specific colour needs to be recognised. However, an additional colour or a permissible colour deviation
needs to be recognised as well. The initial colour is taught in to the desired output. All other additional colours
which also need to be recognised are subsequently taught in to the same output. The entire spectrum which
lies between the taught in colours is recognised.

wenglor sensoric gmbh • wenglor Straße 3 • D-88069 Tettnang • Tel. 07542 / 53 99 0 • Fax 07542 / 53 99 988
E 23

Subsequent Output Teach-In


• Direct the sensor’s spot at the colour to be taught in subsequently
• Set the rotary selector switch  to the desired output (Teach A1, Teach A2, Teach A3)
• Press and hold the minus key 
 The LED at the minus key lights up
 The LED at the minus key goes out after 1 second
 The switching status display for the corresponding output A1, A2, A3 blinks slowly
• Release the minus key 
 The additional colour is taught in to the corresponding output Ž
 Check for correct function
• Set the rotary selector switch  to RUN

Setting Window Width


When the colour value is taught in, a colour recognition window width is established at the same time. Window
width can be set to one of 7 different values individually for each output. Small window width: The wenglor®
FPxx colour sensor recognises extremely fine colour differences. Large window width: The wenglor® FPxx
colour sensor only differentiates amongst colour families. The window width default is 3, which represents a
medium value.

Checking the Current Window Width Setting


• Set the rotary selector switch  to the desired output (Teach A1, Teach A2, Teach A3)
• Press and hold the minus key 
 The LED at the minus key lights up
 The LED at the minus key goes out after 1 second
 The switching status display for the corresponding output A1, A2, A3 blinks slowly
 The switching status display for the corresponding output A1, A2, A3 starts blinking rapidly after
approximately 3 seconds
• Release the minus key 
 Observe the display which indicates the current window width setting and refer to table 1
• Check window width
• Set the rotary selector switch  to RUN

wenglor sensoric gmbh • wenglor Straße 3 • D-88069 Tettnang • Tel. 07542 / 53 99 0 • Fax 07542 / 53 99 988
E 24

Window Width Setting Displays

Window Width at
the Respective LED at Minus Key  LED at Plus Key 
Output
0 (extremely fine colour 1x blink, pause, 1x blink off
difference are recognised)
1 2x blinks, pause, 2x blinks off
2 3x blinks, pause, 3x blinks off
3 (default setting) 4x blinks, pause, 4x blinks off
4 off 1x blink, pause, 1x blink
5 off 2x blinks, pause, 2x blinks
6 (differentiates amongst off 3x blinks, pause, 3x blinks
colour families only)

Table 1

Adjusting Window Width


• Set the rotary selector switch  to the desired output (Teach A1, Teach A2, Teach A3)
• Press and hold the minus key 
 The LED at the minus key lights up
 The LED at the minus key goes out after 1 second
 The switching status display for the corresponding output A1, A2, A3 blinks slowly
 The switching status display for the corresponding output A1, A2, A3 starts blinking rapidly after
approximately 3 seconds
• Release the minus key 
 The setup mode is now activated
 Observe the display which indicates the current window width setting and refer to table 2
• Briefly press the minus key 
 The window width for output A1, A2, A3 becomes smaller
• Check for correct function
• Briefly press the plus key 
 The window width for output A1, A2, A3 becomes larger
 Check for correct function
• Set the rotary selector switch  to RUN
 The new setting is saved to memory

wenglor sensoric gmbh • wenglor Straße 3 • D-88069 Tettnang • Tel. 07542 / 53 99 0 • Fax 07542 / 53 99 988
E 25

Exiting the Setup Mode


• Set the rotary selector switch  to RUN
 The new setting is saved to memory
... or ...
• Press and hold the minus key 
 The LED at the minus key lights up
 The LED at the minus key goes out after 1 second, and the switching status display for the corresponding
output A1, A2, A3 starts blinking
• Release the minus key 
 The new setting is saved to memory
... or …
• Do not activate any keys for a period of 60 seconds
 The setup mode is exited without saving any changed settings to memory

Delay Times: On-Delay and Off-Delay


Object
Time

Color yes
Agreement no Time
on Delay
off
Time

on
Delay
off
Time

Adjusting On-Delay
• Set the rotary selector switch  to on-delay
 Observe the display which indicates the current on-delay setting and refer to table 2
• Briefly press the plus key 
 On-delay is increased
• Briefly press the minus key 
 On-delay is decreased
• Set the rotary selector switch  to RUN

Adjusting Off-Delay
• Set the rotary selector switch  to off-delay
 Observe the display which indicates the current off-delay setting and refer to table 2
• Briefly press the plus key 
 Off-delay is increased
• Briefly press the minus key 
 Off-delay is decreased
• Set the rotary selector switch  to RUN

wenglor sensoric gmbh • wenglor Straße 3 • D-88069 Tettnang • Tel. 07542 / 53 99 0 • Fax 07542 / 53 99 988
E 26

Delay Time Setting Displays

Delay LED at Minus Key  LED at Plus Key 


0,3 ms* 1x blink, pause, 1x blink off
10 ms 2x blinks, pause, 2x blinks off
20 ms 3x blinks, pause, 3x blinks off
50 ms 4x blinks, pause, 4x blinks off
100 ms off 1x blink, pause, 1x blink
200 ms off 2x blinks, pause, 2x blinks
500 ms off 3x blinks, pause, 3x blinks
1000 ms off 4x blinks, pause, 4x blinks
*Default setting Table 2

Deactivating and Activating Output 2 and Output 3


Outputs 2 and 3 of the wenglor® FPxx colour sensor can be deactivated.
Switching frequency for the remaining outputs can be increased in this way.

Output 2 Deactivated Output 3 Deactivated Switching Frequency


yes yes 1,66 kHz
yes no 830 Hz
no yes 830 Hz
no no 550 Hz*
*Default setting Table 3

Output 1 cannot be deactivated!

Checking Output 2 for Activation/Deactivation


• Set the rotary selector switch  to Teach A2
 The switching status display for output 2 does not blink
 Output 2 is activated
 The switching status display for output 2 blinks rapidly
 Output 2 is deactivated

wenglor sensoric gmbh • wenglor Straße 3 • D-88069 Tettnang • Tel. 07542 / 53 99 0 • Fax 07542 / 53 99 988
E 27

Deactivating Output 2
• Set the rotary selector switch  to Teach A2
• Press and hold the plus key 
 The LED at the plus key lights up
 The LED at the plus key goes out after 1 second
 The switching status display for output 2 blinks slowly
 The switching status display for output 2 starts blinking rapidly after approx. 10 sec.
• Release the plus key 
 Output 2 is deactivated
 The switching status display for output 2 blinks rapidly
• Set the rotary selector switch  to RUN

Activating Output 2
• Set the rotary selector switch  to Teach A2
 The switching status display for output 2 blinks rapidly
• Press and hold the plus key 
 The LED at the plus key lights up
 The LED at the plus key goes out after 1 second
 The switching status display for output 2 Ž blinks slowly
• Release the plus key 
 Output 2 is activated
• Set the rotary selector switch  to RUN

Checking Output 3 for Activation/Deactivation


• Set the rotary selector switch  to Teach A3
 The switching status display for output 3 does not blink
 Output 3 is activated
 The switching status display for output 3 blinks rapidly
 Output 3 is deactivated

Deactivating Output 3
• Set the rotary selector switch  to Teach A3
• Press and hold the plus key 
 The LED at the plus key lights up
 The LED at the plus key goes out after 1 second
 The switching status display for output 3 blinks slowly
 The switching status display for output 3 starts blinking rapidly after approx. 10 sec.
• Release the plus key 
 Output 3 is deactivated
 The switching status display for output 3 blinks rapidly
• Set the rotary selector switch  to RUN

wenglor sensoric gmbh • wenglor Straße 3 • D-88069 Tettnang • Tel. 07542 / 53 99 0 • Fax 07542 / 53 99 988
E 28

Activating Output 3
• Set the rotary selector switch  to Teach A3
 The switching status display for output 3 blinks rapidly
• Press and hold the plus key 
 The LED at the plus key lights up
 The LED at the plus key goes out after 1 second
 The switching status display for output 3 blinks slowly
• Release the plus key 
 Output 3 is activated
• Set the rotary selector switch  to RUN

Trigger Function at Pin 5


• Set the rotary selector switch  to Trigger
• Apply the trigger signal (PNP) to input W (pin 5)
 Triggering is executed with a positive signal edge
 The sensor performs a one-time measurement
 The outputs are updated once only
• Disconnect the signal from the trigger input

Interface
The wenglor® FPxx colour sensor is equipped with an RS-232 interface for communication with a device such
as a PC or a controller. The interface utilises a software handshake procedure (see protocol specification
below). All sensor settings can be selected digitally with a PC, and all values generated by the sensor can be
read out at a PC. In this way, red, green and blue content of the colour to be recognised can be read out digi-
tally as well.

Software-Tools
The following software tools are available from the wenglor® website:
• lnstall_FP_Demo.exe for the control of all interface functions
• DLL for direct integration into user-specific applications
Download address: www.wenglor.de

Interface Configuration
38,400 baud, 8 data bits, no parity, 1 stop bit

Plug connectors included with the wenglor® S232W2 plug adapter:


• 8-pin M12 plug connector for connecting the power supply and the outputs
• 8-pin M12 socket connector for direct sensor connection
• 9-pin M12 subminiature socket connector for direct connection to the RS-232 interface at the PC, or the
utilised controller

wenglor sensoric gmbh • wenglor Straße 3 • D-88069 Tettnang • Tel. 07542 / 53 99 0 • Fax 07542 / 53 99 988
E 29

Connecting the Sensor to a PC, a Controller etc. with the wenglor® S232W2 Plug Adapter

Installing the wenglor® S232W2 plug adapter:


• Switch off the power supply
• Set the rotary selector switch  to RS-232
• Disconnect the 8-conductor connector cable (S80-xx) from the sensor
• Connect the S232W2 plug adapter directly to the sensor
• Connect the 8-conductor connector cable (S80-xx) to the plug adapter
• Connect the 9-pin subminiature socket connector at the PC to the serial interface
• Switch the power supply on

S232W2
Sensor Stromversorgung
Ausgänge

RS232

PC, Steuerung Anschluss des Sensors


an einen PC oder eine Steuerung

Protocol for Communications via the RS-232 Interface

Frame Layout for Data Transmission

Transmitting Partner Characters (ASCII) Receiving Partner Frame Section


start bit / (ASCII 47) => establish connection frame header
length information 2 bytes => establish connection frame header
command byte 2 bytes => frame header
1st data byte 2 bytes => data information user data
2nd data byte 2 bytes => user data
.. .. => data information user data
n. data byte .. => data information user data
checksum (BCC) 2 bytes => frame end
stopp bit . (ASCII 46) => disconnect frame end

wenglor sensoric gmbh • wenglor Straße 3 • D-88069 Tettnang • Tel. 07542 / 53 99 0 • Fax 07542 / 53 99 988
E 30

Calculating the Checksum BCC


The checksum is generated from an EXOR link to the frame. Calculation begins with the start bit and ends with
the last character of the user data.

Start Character Length Command Data Checksum Stop character


/ 02 0D 00 59 .
2FH 30H 32H 30H 44H 30H 30H 35H 39H 2EH
Data used to calculate the checksum

Calculating Example: Program Example:

/ 2FH = 0010 1111


Start
0 30H = 0011 0000
XOR = 0001 1111 Transmitting Frame="/020D0059." (Example)
2 32H = 0011 0010 Transmitting Frame Length=10 (in this example);
XOR = 0010 1101
Checksum=0; n=1;
0 30H = 0011 0000
XOR = 0001 1101 as long as: n < (Transmitting Frame Lenght - 3)
D 44H = 0100 0100
Checksum= Checksum EXOR Transmitting Frame charakter (n)
XOR = 0101 1001
0 30H = 0011 0000 n = n +1
XOR = 0111 1001
End
0 30H = 0011 0000
XOR = 0101 1001 => Checksum = 59H

Setting Sensor Functions with Commands


Commands Overview:

Function Command
Teach-In T
Subsequent Teach-In N
Adjust window width f
Adjust on and off-delay A
Read out RGB colour value D
Read out thresholds s
Query sensor status W
Execute sensor reset R
Deactivate/activate output B
Query sensor version V

wenglor sensoric gmbh • wenglor Straße 3 • D-88069 Tettnang • Tel. 07542 / 53 99 0 • Fax 07542 / 53 99 988
E 31

Teach-In:

Function Send Frame Transmitted to the Sensor Send Frame Returned from the Sensor
Teach Output 1 NO /020T0049. /030MT0005.
Teach Output 1 NC /020T0148. /030MT0104.
Teach Output 2 NO /020T024B. /030MT0207.
Teach Output 2 NC /020T034A. /030MT0306.
Teach Output 3 NO /020T044D. /030MT0401.
Teach Output 3 NC /020T054C. /030MT0500.

Adjust Window Width:

Function Send Frame Transmitted to the Sensor Send Frame Returned from the Sensor
Window width for Output 1 /040f01bbqq. /030Mf0037
Window width for Output 2 /040f02bbqq. /030Mf0136.
Window width for Output 3 /040f03bbqq. /030Mf0235.

bb: Window width from 0…6


qq: Checksum

Adjust On- and Off-Delay:

Function Send Frame Transmitted to the Sensor Send Frame Returned from the Sensor
Set on-delay /040A01bbqq. /030MA0111.
Set off-delay /040A00bbqq. /030MA0010.einstellen

bb: Delay value from 0…7


qq: Checksum

Read Out RGB Colour Values:

Function Send Frame Transmitted to the Sensor Send Frame Returned from the Sensor
Scanning mode /020D0059. /0E0Drrrrggggbbbbaaqq.
Through-beam-mode /020D0158. /0E0Drrrrggggbbbbaaqq.

rrrr: 10 bit red colour information Length: 4 Byte


gggg: 10 bit green colour information Length: 4 Byte
bbbb: 10 bit blue colour information Length: 4 Byte
aa: Status of switching outputs bit 0 : output 0, bit 1 : output 1, bit 2 : output 2
qq: Checksum

wenglor sensoric gmbh • wenglor Straße 3 • D-88069 Tettnang • Tel. 07542 / 53 99 0 • Fax 07542 / 53 99 988
E 32

Read Out Thresholds:

Function Send Frame Transmitted to the Sensor Send Frame Returned from the Sensor
/000s6C. /9C0sAAVVRSOARSOERSUE
RSUAGSOAGSOEGSUEGSUA
BSOABSOEBSUEBSUAAAVV
RSOARSOERSUERSUAGSOA
GSOEGSUEGSUABSOABSOE
BSUEBSUAAAVVRSOARSOE
RSUERSUAGSOAGSOEGSUE
GSUABSOABSOEBSUEBSUA
gg.

AA: Output
VV: Channel amplification factor

RSOA: Upper threshold off, red Length: 4 Byte


RSOE: Upper threshold on, red Length: 4 Byte
RSUE: Lower threshold on, red Length: 4 Byte
RSUA: Lower threshold off, red Length: 4 Byte

GSOA: Upper threshold off, green Length: 4 Byte


GSOE: Upper threshold on, green Length: 4 Byte
GSUE: Lower threshold on, green Length: 4 Byte
GSUA: Lower threshold off, green Length: 4 Byte

BSOA: Upper threshold off, blue Length: 4 Byte


BSOE: Upper threshold on, blue Length: 4 Byte
BSUE: Lower threshold on, blue Length: 4 Byte
BSUA: Lower threshold off, blue Length: 4 Byte
qq: Checksum

Query Sensor Status:

Function Send Frame Transmitted to the Sensor Send Frame Returned from the Sensor
Query Status /000W48. /0A0Waabbccddeeqq.

aa: Window width, output 1


bb: Window width, output 2
cc: Window width, output 3
dd: Off-delay value
ee: On-delay value
qq: Checksum

wenglor sensoric gmbh • wenglor Straße 3 • D-88069 Tettnang • Tel. 07542 / 53 99 0 • Fax 07542 / 53 99 988
E 33

Execute Sensor Reset:

Function Send Frame Transmitted to the Sensor Send Frame Returned from the Sensor
Exectue Reset /000R4D. /070V8a:bbccqq.

a: Software version
bb: Sensor group (Colour Sensor: 07))
cc: Sensor type (FP04: 01, FP11: 02)
qq: Checksum FP04 : 7BH, FP11 : 78H

Deactivat/Activate Output:

Function Send Frame Transmitted to the Sensor Send Frame Returned from the Sensor
Deactivate output 2 /040B010F2E. /030MB0112.
Activate output 2 /040B01075F. /030MB0112.
Deactivate output 3 /040B020E2E. /030MB0211.
Activate output 3 / 040B02065D. /030MB0211.

Query Sensor Version:

Function Send Frame Transmitted to the Sensor Send Frame Returned from the Sensor
Query Sensosr Version /000V49. /070V8a:bbccqq.

a: Software version
bb: Sensor group (Farbsensor: 07))
cc: Sensor type (FP04: 01, FP11: 02)
qq: Checksum FP04 : 7BH, FP11 : 78H

Transfer error message:


On receipt of incorrect data, e.g. Wrong checksum or unknown command, the sensor sends back an error
message.

Function Send Frame Transmitted to the Sensor Send Frame Returned from the Sensor
Error message incorrect data /030Xabbqq.

a: last valid command


bb: last valid addition
qq: Checksum

wenglor sensoric gmbh • wenglor Straße 3 • D-88069 Tettnang • Tel. 07542 / 53 99 0 • Fax 07542 / 53 99 988

Das könnte Ihnen auch gefallen