Beschreibung der Sensorfunktionen
Die Ausgänge des Sensors lassen sich in zwei unterschiedlichen Betriebsarten betreiben: Schaltbetrieb/Analogbetrieb oder RS 232-Betrieb
(RS 232, 9600, n, 8, 1). Die Betriebsart wird mit DIP-Schalter 10, die Grenzen der IU-Rampe werden mit den DIP-Schaltern 1-4 und 5-8 eingestellt
(siehe Tabelle). Mit Schalter 9 wird festgelegt, ob der Schaltausgang als Schließer oder als Öffner arbeitet.
Für weitere Hinweise zur RS 232-Schnittstelle sei auf die Druckschrift „Befehlsatz der Ultraschall-Sensoren mit RS 232-Schnittstelle" verwiesen.
Achtung: Vor Anschluss der RS 232-Schnittstelle ist auf die richtige Einstellung des DIP-Schalters S10 zu achten.
Synchronisation
Zur Unterdrückung gegenseitiger Beeinflussung verfügt der Sensor über einen Synchronisations-Eingang. Ist der Eingang unbeschaltet, arbeitet der
Sensor mit einer intern erzeugten Taktrate. Der Sensor kann durch Anlegen einer Rechteckspannung synchronisiert werden. Eine fallende Flanke
führt zum Absetzen eines einzelnen Ultraschallimpulses. Ein Low-Pegel > 1 s oder ein offener Synchronisationseingang führt zum Normalbetrieb
des Sensors. Ein High-Pegel > 1 s führt zum Standby-Betrieb des Sensors (Anzeige grüne LED).
Mehrere Funktionen sind möglich:
- Zwei (bzw. bis zu 5) Sensoren können synchronisiert werden, indem ihre Synchronisationseingänge miteinander verbunden werden. Die
Sensoren senden in diesem Fall abwechselnd Ultraschallimpulse aus.
- Mehrere Sensoren werden mit dem selben Synchronisationssignal angesteuert. Die Sensoren arbeiten im Gleichtakt.
- Die Synchronisationsimpulse werden zyklisch jeweils einem Sensor zugeführt. Die Sensoren arbeiten im Multiplexbetrieb.
Wenn der Sensor synchronisiert wird, erhöht sich die Ansprechzeit, da die Messzykluszeit durch die Synchronsiation erhöht wird.
Einstellung des Auswertefensters mittels Kodierschalter im Klemmraum
Schalter
NDE
Schalter
FDE
1 2 3 4
[mm]
5 6 7 8
[mm]
0 0 0 0
800
0 0 0 0
800
0 0 0 1
1100
0 0 0 1
1100
0 0 1 0
1400
0 0 1 0
1400
0 0 1 1
1700
0 0 1 1
1700
0 1 0 0
2000
0 1 0 0
2000
0 1 0 1
2300
0 1 0 1
2300
0 1 1 0
2650
0 1 1 0
2650
0 1 1 1
3000
0 1 1 1
3000
1 0 0 0
3350
1 0 0 0
3350
1 0 0 1
3700
1 0 0 1
3700
1 0 1 0
4050
1 0 1 0
4050
1 0 1 1
4400
1 0 1 1
4400
1 1 0 0
4800
1 1 0 0
4800
1 1 0 1
5200
1 1 0 1
5200
1 1 1 0
5600
1 1 1 0
5600
1 1 1 1
6000
1 1 1 1
6000
1 ^ ON, 0 ^ OFF
Der Sensor lässt sich durch seinen umfangreichen Befehlssatz über die RS 232-Schnittstelle entsprechend der Applikation konfigurieren.
RS 232-Befehlssatz (Kurzübersicht)
Befehl
Bedeutung
Parameter
VS0
Velocity of Sound at 0 °C
VS0 in [cm/s]
VS
Velocity of Sound
VS in [cm/s]
TO
Temperature Offset
TO in [0.1 K]
TEM
TEMperature
TEM in [0.1 K]
REF
REFerence measurement
Entfernung REF in [mm]
UDS
Use DIP Switches
UDS binär [0/1]
SD1[1]
Switching Distance 1 1
Entfernung SD11 in [mm]
SD12
Switching Distance 1 2
Entfernung SD12 in [mm]
SH1
Switching Hysteresis 1
Hysterese in [%]
NDE
Near Distance of Evaluation
nahe Messfenstergrenze in [mm]
FDE
Far Distance of Evaluation
ferne Messfenstergrenze in [mm]
BR
Blind Range
Blindzone in [mm]
RR
Range Reduction
Blindzone ab [mm]
NEF
No Echo is Failure
1: „kein Echo" ist Fehler, 0: „kein Echo" ist kein Fehler
FSF
Fail Safe Function
Ausgangsschaltfunktion im Fehlerfall
CBT
Constant Burst Time
Burstlänge in [µs]
CCT
Constant Cycle Time
Zeit in [ms]
SSY
Startup SYnchronised
SSY binär [0/1]
FTO
Filter TimeOut
Anzahl der zu filternden Messungen ohne Echo
EM
Evaluation Method
Auswertemethode { 0 = NONE; PT1[,f,p,c]; MXN[,m,n]; DYN[,p] } lesen und setzen
CON
CONservative filter
Zählerschwelle als Zahl
OPM
Operation Method
Betriebsart Schaltausgang { S,R,W,L,H } Analogausgang { S,L } lesen und setzen
OM
Output Mode
OM kodiert [ Schließer NO = 0, Öffner NC = 1]
FSF
Fail Safe Function
Fehlerfunktionstyp {0,1,2},[Fehlerstrom in 0.1 mA]
MD
Master Device
Funktion als Master {0 = NONE},AD,RD,RT,SS,ATB,RDB,RTB } lesen und setzen
DIP
DIP switch settings
Stellung der DIP-Schalter als hexadezimal kodierter String
AD
Absolute Distance
Entfernung in [mm]
RD
Relative Distance
Relativentfernung als Zahl {0 ... 4095}
RT
RunTime
Echolaufzeit in Maschinenzyklen [1 Mz = 1.085 µs]
SS1
Switching State 1
SS1 binär [0: inaktiv, 1 aktiv] (unabhängig von OM)
ADB
Absolute Distance Binary
Entfernung in [mm], binär
RDB
Relative Distance Binary
Relativentfernung als Zahl {0 ... 4095}, binär
RTB
RunTime Binary
Echolaufzeit in Maschinenzyklen [1 Mz = 1.085 µs], binär
ER
Echo Received
Echo erkannt: nein, ja [0/1]
VER
VERsion
Version string: xxxx
ID
IDentification
ID string: P&F UC...-..-IUE0/E2-R2 Eprom: xxxx Version yyyy
DAT
DATe
Datumsstring: z. B. Date: 06/11/96 Time: 16:14:26
ST
STatus
Status als hexadezimal kodierter String
RST
ReSeT
führt einen Reset aus
DEF
DEFault settings
zurücksetzen auf Voreinstellungen
SUC
Store User Configuration
speichern aller Einstellungen
RUC
Recall User Configuration
zurücksetzen auf gespeicherte Einstellungen
Programmierhinweise
Achtung: Zur Programmierung des Sensors über die eingebaute RS 232-Schnittstelle ist vor Anschluss des Schnittstellenkabels der DIP-Schalter
10 in die Position OFF (RS 232-Betrieb) zu stellen.
Anschluss des Interface-Kabels UC-FP/U9-R2 (Zubehör).
Schnittstellenkabel
Sensorklemmraum
Aderfarbe
braun (TD)
schwarz (RD)
blau (GND)
Struktur der Filterfunktionen
Laufzeitmessung
Timeout-Filter
EM, DYN
Dynamische Auswertung
Tiefpass-Filter
Ausgangs-Filter
konservativ
Adressen / Addresses / Adresses / Direcciónes / Indirizzi
Contact
Pepperl+Fuchs GmbH · 68301 Mannheim · Germany · Tel. +49 621 776-4411 · Fax +49 621 776-27-4411 · E-mail: fa-info@de.pepperl-fuchs.com
Worldwide Headquarters:
Pepperl+Fuchs GmbH · Mannheim · Germany · E-mail: info@de.pepperl-fuchs.com
USA Headquarters:
Pepperl+Fuchs Inc. · Twinsburg · USA · E-mail: fa-info@us.pepperl-fuchs.com
Asia Pacific Headquarters:
Pepperl+Fuchs Pte Ltd · Singapore · E-mail: fa-info@sg.pepperl-fuchs.com · Company Registration No. 199003130E
For more contact-adresses refer to the catalogue or internet: http://www.pepperl-fuchs.com
Schließer
ON
1
2
3
4
5
Nahe
Auswertegrenze
Auswertegrenze
nahe Grenze < ferne Grenze ⇒ IU-Rampe steigend
nahe Grenze > ferne Grenze ⇒ IU-Rampe fallend
nahe Grenze = ferne Grenze ⇒ IU-Schaltpunkt
Schaltpunkt Schaltausgang:
(NDE + FDE)/2 (Voreinstellung)
Klemme Nr.
4 (RD)
2 (TD)
3 (-U
)
B
FTO
EM, PT1
EM, MXN
Mittelwertbildung
CON
gleitend
OPM
OM
Ausgabe
Description of the sensor functions
The outputs of the sensor can be used in two different operating modes: Switching/analogue mode, or RS 232 mode (RS 232, 9600, n, 8, 1). Select the
operating mode with DIP switch 10. The limits of the IU ramp are set with the DIP switches 1-4 and 5-8 (see table). Switch 9 is used to set the close or
open function of the switch output.
For further information on the sensor's command set, please see the publication "Command Set for Ultrasonic Sensors with RS 232 Interface".
Caution: Ensure that DIP switch S10 is correctly set before connecting the RS 232 interface.
Synchronisation
The sensor features a synchronisation input for the suppression of mutual interference. If this input is not used, the sensor will operate using an internally
generated clock rate. It can be synchronised by applying a square wave voltage. A falling edge leads to the transmission of a single ultrasonic pulse. A
low level > 1 s or an open synchronisation input will result in the normal operation of the sensor. A high level > 1 s will result in the standby operation of
the sensor (green LED).
Several functions are available:
- Two to five sensors can be synchronised by interconnecting their synchronisation inputs. In this case, the sensors alternately transmit ultrasonic pulses.
- Multiple sensors can be controlled by the same synchronisation signal. The sensors are synchronised.
- The synchronisation pulses are sent cyclically to individual sensors. The sensors operate in multiplex mode.
The response time increases when sensors are synchronised as the measuring cycle time is increased by the synchronisation.
Adjustment of the evaluation window via coding switch in terminal compartment
Switch
NDE
Schalt-/
1 2 3 4
[mm]
IU-betrieb
0 0 0 0
800
0 0 0 1
1100
0 0 1 0
1400
0 0 1 1
1700
0 1 0 0
2000
6
7
8
9
10
0 1 0 1
2300
0 1 1 0
2650
Ferne
0 1 1 1
3000
RS 232-
Betrieb
1 0 0 0
3350
1 0 0 1
3700
Öffner
1 0 1 0
4050
1 0 1 1
4400
1 1 0 0
4800
1 1 0 1
5200
1 1 1 0
5600
1 1 1 1
6000
1 ^ ON, 0 ^ OFF
Thanks to its extensive command set, the sensor can be configured to suit the application via the RS 232 interface.
RS 232 command set (overview)
Zugriff
Comman
Meaning
lesen und setzen
d
lesen
VS0
Velocity of Sound at 0 °C
lesen und setzen
VS
Velocity of Sound
lesen und TO anpassen
TO
Temperature Offset
anpassen von VS0
TEM
TEMperature
lesen und setzen
REF
REFerence measurement
lesen und setzen
UDS
Use DIP Switches
lesen und setzen
SD1[1]
Switching Distance 1 1
lesen und setzen
SD12
Switching Distance 1 2
lesen und setzen
SH1
Switching Hysteresis 1
lesen und setzen
NDE
Near Distance of Evaluation
lesen und setzen
FDE
Far Distance of Evaluation
lesen und setzen
BR
Unusable area (Blind Range)
lesen und setzen
RR
Range Reduction
lesen und setzen
NEF
No Echo is Failure
lesen und setzen
FSF
Fail Safe Function
lesen und setzen
CBT
Constant Burst Time
lesen und setzen
CCT
Constant Cycle Time
lesen und setzen
SSY
Startup SYnchronised
FTO
Filter TimeOut
lesen und setzen
EM
Evaluation Method
CON
CONservative filter
lesen und setzen
OPM
Operation Method
lesen und setzen
OM
Output Mode
FSF
Fail Safe Function
lesen
MD
Master Device
lesen
DIP
DIP switch settings
lesen
AD
Absolute Distance
lesen
RD
Relative Distance
lesen
RT
RunTime
lesen
SS1
Switching State 1
lesen
ADB
Absolute Distance Binary
lesen
RDB
Relative Distance Binary
lesen
RTB
RunTime Binary
lesen
ER
Echo Received
lesen
VER
VERsion
lesen
ID
IDentification
lesen
DAT
DATe
Befehl
ST
STatus
Befehl
RST
ReSeT
Befehl
DEF
DEFault settings
Befehl
SUC
Store User Configuration
RUC
Recall User Configuration
Programming instructions
Caution: When programming the sensor via the integrated RS 232 interface, ensure that DIP switch 10 is in the OFF (RS 232 mode) position before
connecting the interface cable.
Electrical connection of interface cable UC-FP/U9-R2 (see accessories).
Interface cable
Conductor colour
brown (TD)
black (RD)
blue (GND)
Structure of the filter functions
Dynamic evaluation
Switch
FDE
5 6 7 8
[mm]
0 0 0 0
800
0 0 0 1
1100
0 0 1 0
1400
0 0 1 1
1700
0 1 0 0
2000
0 1 0 1
2300
0 1 1 0
2650
0 1 1 1
3000
1 0 0 0
3350
1 0 0 1
3700
1 0 1 0
4050
1 0 1 1
4400
1 1 0 0
4800
1 1 0 1
5200
1 1 1 0
5600
1 1 1 1
6000
Parameter
VS0 in [cm/s]
VS in [cm/s]
TO in [0.1K]
TEM in [0.1K]
REF distance in [mm]
UDS binary [0/1]
SD11 distance in [mm]
SD12 distance in [mm]
Hysteresis in [%]
Near measuring window limit in [mm]
Far measuring window limit in [mm]
Unusable area in [mm]
Unusable area from [mm]
1: "no echo" is failure; 0: "no echo" is not failure
Shutdown function in event of failure
Burst time in [µs]
Time in [ms]
SSY binary [0/1]
Number of measurements without echo to be filtered
Evaluation method { 0 = NONE; PT1[,f,p,c]; MXN[,m,n]; DYN[,p] }
Counter threshold as number
Switch output operating mode { S,R,W,L,H } analogue output { S,L }
OM coded [normally-open NO = 0, normally-closed NC = 1]
Failure function type {0,1,2},[fault current in 0.1 mA]
Function as master {0 = NONE},AD,RD,RT,SS,ATB,RDB,RTB }
DIP switch setting as hexadecimal string
Distance in [mm]
Relative distance as number {0 ... 4095}
Echo run time in machine cycles [1 machine cycle = 1.085µs]
SS1 binary [0: inactive, 1 active] (independent of OM)
Distance in [mm], binary
Relative distance as number {0 ... 4095} binary
Echo run time in machine cycles [1 machine cycle = 1.085µs], binary
Echo detected: no, yes [0/1]
Version string: xxxx
ID string: P&F UC...-..-IUE0/E2-R2 Eprom: xxxx Version yyyy
Date string: e.g. Date: 06/11/96 Time: 16:14:26
Status as hexadecimal string
Performs a reset
Restores defaults
Stores all settings
Restores stored settings
Sensor terminal compartment
Terminal no.
4 (RD)
2 (TD)
3 (-U
)
B
Propagation time measurement
FTO
Timeout filter
EM, DYN
EM, PT1
Low-pass filter
CON
Output filter
Conservative
Sliding
OPM
OM
Output
Switch/
N.O.
IU-mode
ON
1
2
3
4
5
6
7
8
9
10
Near span
Far span
RS 232-
boundary
boundary
mode
N.C.
near span boundary < distant limit ⇒ IU-rising slope
near span boundary > distant limit ⇒ IU-declining slope
near span boundary = distant limit ⇒ IU-switch point
Switch point switch output:
(NDE + FDE)/2 (Preconfiguration)
Access
read and set
read
read and set
read and adapt to TO
adaptation of VS0
read and set
read and set
read and set
read and set
read and set
read and set
read and set
read and set
read and set
read and set
read and set
read and set
read and set
read and set
read and set
read and set
read and set
read and set
read and set
read and set
read
read
read
read
read
read
read
read
read
read
read
read
read
Command
Command
Command
Command
EM, MXN
Calculation of the mean value