Leuze electronic GmbH + Co. KG
MA 238
i
69
16.10 BPS 8 bar code positioning system (S4 switch position A)
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
In this switch position, the MA automatically sends a position request to the BPS 8 every 10ms until
another command comes via the control. Automatic request only restarts when a new position request is
sent by the PLC or when the MA is restarted.
Standard Parameter
BPS 8
Baud rate
57600
Data mode
8N1
Handshake
No
Protocol
Binary protocol without acknowledgment
Frame
<Data>
Control bit Meaning
Corresponds to serial
command (HEX)
Byte 1
Byte 2
0
Request diagnostic information
01
01
1
Request marker information
02
02
2
Request SLEEP mode
04
04
3
Request position information
08
08
4
Request single measurement
10
10
5
6
7
8
9
10
11
12
13
14
15