Baumer BA ZADM023 Benutzerhandbuch
Seite 77
Seite / Page 77
Commands in protocol mode:
Function
Data
Example
Response
Assign new ad-
dress
‘D’ x
x = 0 – 9 or ‘F’ for
address 0xFF
STX ‘D3’ ETX
Assign address 3
to the sensor
ENQ,new
address;
ACK will be
awaited.
Set type of meas-
urement
‘B’ x
‘1’ left edge
‘2’ right edge
‘3’ centre position
‘4’ width / distance edges
‘5’ width / sum of objects
‘6’ number of edges
STX ‘B3’ ETX
Type of measure-
ment is centre
position
none
Set threshold level
‘F’ xxx yyy
xxx and yyy are 3 digit
hexadecimal numbers
between 0 and 1023
STX ‘F0C620A’ ETX
Set threshold 1 to
0x0C6 (198)
Set threshold 2 to
0x20A (522)
none
Set threshold level
HiRes
‚M’ xxx yyy
xxx and yyy are 3 digit
hexadecimal numbers
between 0 and 4095
STX ‚M1FF20A‘ETX
Set threshold 1 to
0x1FF (511)
Set threshold 2 to
0x20A (522)
none
Data request
‘A’
STX ‘A’ ETX
Data request
4 bytes (meas-
ured value)
Data request
HiRes
‚L‘
STX ‚L‘ ETX
Data request
(0..4095)
4 bytes (meas-
ured value)