SYMEO Local Positioning Radar System
Product Family LPR
®
-1DHP-200 – Product Documentation
The Customer Protocol
Copyright © Symeo GmbH 2018
DOC.EDO.000341.WORK.EN_LPR-1DHP-200_Product-Documentation.docx
Page 66 of 71
The data type 0x03 is typically used for sending relay switching commands to a LPR
®
-1D24
radar unit (with installed relays) or to a PLC. The default protocol frame length is 9 bytes.
Table 9.3
shows the structure of a 0x03 data packet.
Content
Length (byte)
Value
Data Type
START
1
0x7E
unsigned integer
TYPE
1
0x03
unsigned integer
Destination (LPR
®
-1D24 address)
2
0x####
See chapter 9.2.3
Relay Selection (Bitmask) (Bit
1..4
Relay 1..4)
Bit significance 0-7 starting with 0
as the lowest (set) Bit value.
1
0x##
unsigned integer
Relay Switch (Bitmask)
1
0x##
unsigned integer
CRC
2
0x####
unsigned integer
END
1
0x7F
unsigned integer
Table 9.3: Data Type 0x03 - Relays Switching Command (9 bytes)
With the relay selection (bitmask) the relays which shall be controlled are selected. 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.