Basic configuration
Leuze electronic
BPS 301i
53
8.5
Configuring speed monitoring with switching output
Set the parameters for speed monitoring via the webConfig tool.
•
Switching output
function: CONFIGURATION > DEVICE > Switching inputs/outputs; see
chapter 9.3.2 "CONFIGURATION function"
• Speed limit values: CONFIGURATION > DATA PROCESSING > Speed > Monitoring; see
chapter 9.3.2 "CONFIGURATION function"
8.6
Setting tape selection via the webConfig tool
In the webConfig tool (CONFIGURATION > MEASUREMENT DATA > Bar code tape), set the
Tape
selection
parameter according to the used bar code tape grid; see chapter 9.3.2 "CONFIGURATION
function".
• 30 mm grid
• 40 mm grid
8.7
Communication protocol (RS binary protocol)
The RS binary protocol consists of three bytes of request telegram and seven or nine bytes of response
telegram.
Request telegram
The request for transmitting the measured positions or the speed is controlled via a request telegram that
is three bytes long.
The BPS processes the three bytes of the request telegram, checks the XOR link and executes the func
-
tion specified in the command byte.
Table 8.1:
Structure of the request telegram
• Byte 0
Reserve control byte: Bit 7 and bit 6 must be set to logical 1.
Address bits (ADR): Up to 16 BPS can be addressed via the address bits, e.g., on an RS 485 bus.
• Byte 1: CMD
Command byte = Data request to the BPS
Table 8.2:
Function of the command byte (CMD)
Byte
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0
1
1
0
0
ADR
ADR
ADR
ADR
1
CMD
CMD
CMD
CMD
CMD
CMD
CMD
CMD
2
XOR
XOR
XOR
XOR
XOR
XOR
XOR
XOR
Byte value
Decimal
Byte value
Hex
Function
241
0xF1
Transfer single position value
244
0xF4
Start positioning
245
0xF5
Stop positioning
246
0xF6
Transfer single speed value
248
0xF8
Transfer single position and speed value
250
0xFA
Transfer marker bar code
252
0xFC
Transfer diagnostic information
253
0xFD
Activate standby or sleep mode