Leuze electronic GmbH + Co. KG
MA 238
i
70
16.11 BPS 300i bar code positioning system, ODSL xx optical distance sensors with RS 232 interface
(S4 switch position B)
BPS 300i
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
• Input data: 8 bytes
• Output data: 8 bytes
NOTE
In this switch position, 6 bytes of data (fixed) are always expected by the device. A fast telegram
sequence can therefore be transferred reliably even without a data frame.
Standard Parameter
BPS 300i
Baud rate
38400
Data mode
8N1
Handshake
No
Protocol
Binary protocol without acknowledgment
Frame
<Data>
Control bit Meaning
Corresponds to serial
command (ASCII)
0
Transfer single position value = single shot
C0F131
1
Transfer position values cyclically
C0F232
2
Stop cyclical transfer
C0F333
3
Laser diode ON
C0F434
4
Laser diode OFF
C0F535
5
Transfer single velocity value
C0F636
6
Transfer velocity values cyclically
C0F737
7
Transfer single position and velocity value
C0F838
8
Transfer position and velocity value cyclically
C0F939
9
Transfer marker information
C0FA3A
10
Not used / reserved
11
Transfer diagnostic information
C0FC3C
12
Activate standby
C0FD3D
13
14
15