Safety Instructions

Table Of Contents
SYMEO LPR
®
LPR-1D
Product Documentation
Protocol Description Binary XP (1D messages)
Copyright © Symeo GmbH 2010
Page 71 of 87
Total length without byte stuffing: 15 byte
7.2.3 Type 0x02 Send Request
Direction: LPR
®
-
Content
Length
Data type
Value
START
1
unsigned integer
0x7E
TYPE
1
unsigned integer
0x02
CRC
2
unsigned integer
0xC181
END
1
unsigned integer
0x7F
Total length without byte stuffing: 5 byte
This packet is sent from the LPR
®
-B station continuously. It informs the user that the LPR
®
-B
station is able to receive data from the user. The user may only send one single data frame
after receiving a send request.
7.2.4 Type 0x03 Relays Switching Command
LPR
®
-B
Content
Length
Data type
Value
START
1
unsigned integer
0x7E
TYPE
1
unsigned integer
0x03
Destination (LPR
®
-B address)
2
see chapter 7.4.1
0x####
Relay Selection (Bitmask)
(bit 1..7 relay 1..7)
1
unsigned integer
0x##
Relay Switch (Bitmask)
1
unsigned integer
0x##
CRC
2
unsigned integer
0x####
END
1
unsigned integer
0x7F
Total length without byte stuffing: 9 byte
With the relay selection (bitmask) relays are selected which can be controlled. The relays that are
chosen within the Relay Selection bitmask will be switched according to the Relay Switch bitmask
Example: A Relay Selection value = 0x14
hex
= 00010100
bin
and a Relay Switch value = 0xFF
hex
=
11111111
bin
will switch relays 2 and 4 ON - the state of the other relays remains unchanged.
No acknowledgment of the relay switch command will be sent because this data frame can be
forwarded to other LPR
®
-B stations and thus no reception on the destination station is guaranteed. In
case of faulty data frame (e.g. invalid relays chosen or unknown destination address) the LPR
®
-B
station will print an error message.