Command Structure; Definition; Message Format - Safran LRF 6019 Manual

Table of Contents

Advertisement

LRF 6019 Integrator Manual

6.3 Command structure

6.3.1

Definition

A message is defined as a complete command frame to the LRF module or an answer from the LRF
module to the host system.
6.3.2

Message format

The structure of the message frame is depicted by Figure 29. The message is an ASCII string. The ASCII
code used is UTF- 8 as shown in chapter 9.5 UTF-8 ASCII Table
SOM
Product ID
Example:
Host  LRF Module
Command frame:
LRF Module  Host
Acknowledge frame:
Response frame:
Prompt:
 SOM (Start of Message):
The character ">" (ASCII 0x3E) acts as Start of Message. The SOM is used for message
frame synchronization
 Product ID:
The product ID for LRF modules is LM (ASCII 0x4C followed by 0x4D).
 Message ID:
The message ID represents a command (Mnemonic). It is composed of an upper case letter
followed by a lower case letter (example: Md).
 Parameters, if required, can be of different types:
o
Decimal: The ASCII values of the integer digits range from 0 to 9.
Hex: Digits can be 0, 1,....9, A, B, C, D, E, F.
o
Char: any ASCII character in the range of 0x20 to 0x7E except 0x2A ('*'), 0x2C (','), 0x3E
o
('>'), 0x3C ('<') and 0x21 ('!').
o
String: A couple of characters without ending with \0. Within the string, only the characters
32 (0x20) ... 126 (0x7E) except 0x2A ('*'), 0x2C (','), 0x3C ('<'), 0x21 ('!') and 0x3E ('>') are
allowed.
914928_TML_LRF6019_en_Version C
Confidential & Proprietary  Safran Vectronix AG – All rights reserved
Checksum Range
>xx,<msg id>,<param 0>,....,<param N>*<chk sum><CR>
Parameter 0
Message ID
Figure 29: Message frame format
>LM,Md,3*D5<0D>
>AC*84<0D>
>LM,Md,v0006091,R000E301,R000E301*46<0D>
<
EOM
Checksum
Parameter N
Public: 04.2019
Page: 38/70

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents