Specifications for Leuze end devices
Le
u
ze electronic
MA 255
i
9
5
TNT
35/7-2
4
V
16.12 AMS distance measurement device, ODSL xx optical distance
sensors with RS 232 interface (S4 switch position B)
Notice!
In this switch position, 6-byte data (fixed) is always expected by the device. This is why a
quick telegram sequence can be transmitted reliably even without a data frame.
AMS
Specifications for the serial interface
Specifications for Command mode
To activate the Command mode, bit 0 must be set to 1 in control byte 0.
For further information, see chapter 11.1.3 "Command mode", figure 11.2.
Recommended settings
• Produced data: 8 bytes
• Consumed data: 8 bytes
Default parameter
AMS
Baud rate
38400
Data mode
8N1
Handshake
no
Protocol
binary protocol without acknowledgment
Frame
<Data>
Control bit
Meaning
Corresponds to
serial command
(HEX)
0
Transmit individual position value = single shot
C0F131
1
Cyclically transmit position values
C0F232
2
Stop cyclical transmission
C0F333
3
Laser diode on
C0F434
4
Laser diode off
C0F535
5
Transmit single speed value
C0F636
6
Cyclically transmit speed values
C0F737
7
8
9
10
11
12
13
14
15