Specifications for Leuze end devices
Leuze electronic
MA 258
i
107
TNT
35/7-2
4
V
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
• Produced/Consumed data settings:
"20 bytes In/4 bytes Out"
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.
Default 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 info
01
01
1
Request marker info
02
02
2
Request SLEEP mode
04
04
3
Request position info
08
08
4
Request individual measurement
10
10
5
6
7
8
9
10
11
12
13
14
15