The text of a manual · part 6 of 12
Telegram Listing: Telegrams for Configuring and Operating the NAV200 Laser Positioning System, Firmware Version from V4.4.X: 4 Modes, pages 35 to 44
Pages 35 to 44 of 96, from Telegram Listing: Telegrams for Configuring and Operating the NAV200 Laser Positioning System, Firmware Version from V4.4.X
The original document is the PDF (1.2 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Sick NAV 200
Page 35
Telegram Listing
Modes
Chapter 4
NAV200
Example of NAV200 response: Name
Start character
Length Command
Structure
STX
7
R
G
E
R
BCC
Byte position
1
2
3
4
5
6
7
Hex
02h
07h
52h
47h
0Ah
23h
39h
10
35 mm
Value
4.2.15
Data
RS
Block check
The BS command: Selecting a layer bank
The reflector storage plan is divided into two layer banks, Bank0 and Bank1. Each layer bank contains 160 layers (Layer 0 to Layer 159 each). Only one layer bank can be active at any time. The BS command can be used in the Standby, Mapping, Positioning, Upload, Download and Reflector Co-ordinates operating modes. Mode
B Layer Bank
Function
S Select Layer Bank
The BS command to the NAV200: STX
6
B
S newBankNr
Block
Meaning newBankNr
Number of the newly selected bank 0,1
BCC
Value range (dec.)
Tab. 4-22: The BS command: meaning of the newBankNr block
NAV200 response (acknowledgement): STX
6
B
S actBankNr
Block
Meaning
Value range (dec.)
actBankNr
Number of the current layer
0,1
BCC
Tab. 4-23: The BS command: Structure of the NAV200 response
The maximum response time of the NAV200 is 895 ms. 4.2.16
The BR command: read the active layer bank
The reflector storage plan is divided into two layer banks, Bank0 and Bank1. Each layer bank contains 160 layers (Layer 0 to Layer 159 each). Only one layer bank can be active at any time. The BR command can be used in the Standby, Mapping, Positioning, Upload, Download and Reflector Co-ordinates operating modes.
8009595/TK80/2009-10-29
Mode
B Layer Bank
Function
R Read the active Layer Bank
© SICK AG · Division Auto Ident · Germany · All rights reserved
35
Page 36
Chapter 4
Modes
Telegram Listing Laser Positioning System NAV200
The BR command to the NAV200: STX
5
B
R
BCC
Block
Meaning
Value range (dec.)
actBankNr
Read current Layer Bank
0,1
Tab. 4-24: The BR command: meaning of the actBankNr block
NAV200 response (acknowledgement): STX
6
B
R actBankNr
Block
Meaning
Value range (dec.)
actBankNr
Number of the current layer Bank
0,1
BCC
Tab. 4-25: The BR command: Structure of the NAV200 response
The maximum response time ot the NAV200 is 10 ms.
36
© SICK AG · Division Auto Ident · Germany · All rights reserved
8009595/TK80/2009-10-29
Page 37
Modes
Telegram Listing
Chapter 4
NAV200
4.3
"Mapping" mode
In the "Mapping" mode the NAV200 measures the reflector positions visible within its range in absolute co-ordinates. The measurings refer to one layer. To do so the NAV200 must be informed of the layer, its own position and direction in the absolute co-ordinate system and the radius of the reflectors. For reasons of compatability the radius is added at the end of the data string. Important
Mapping with the MS, MM or MN commands (see the following pages) makes recorded reflector positions temporarily available in the NAV200 main memory for the purpose of transfer with the MR command (see chapter 4.3.5 Command MR: Reflector position from conducted NAV200 mapping output, page 43). The data is however not permanently present in the NAV200 reflector memory. The MA command can only be executed in the "standby" mode. 4.3.1
Command MA: Activate mapping in the NAV200
Mode
M Mapping
Function
A Activate mode
Command MA to NAV200: STX
5
M
A
BCC
A
BCC
NAV200 response (acknowledgement): STX
5
M
The "mapping" mode is active. Now the recording of the reflector positions at individual points of the course can be effectively started. Example of command input/NAV200 response:
8009595/TK80/2009-10-29
Name
Start character Length
Command
Structure
STX
M
Byte position
1
2
3
4
5
Hex
02h
05h
4Dh
41h
0Bh
5
© SICK AG · Division Auto Ident · Germany · All rights reserved
Block check A
BCC
37
Page 38
Modes
Chapter 4
Telegram Listing Laser Positioning System NAV200
4.3.2
Command MS: Start mapping in the NAV200
Mode
M Mapping
Function
S
Start scanning
Command MS to NAV200: STX
17
Block
M
S
E
X0
X1
X2
X3
Y0
Y1
Y2
Y3
A0
A1
R
Denotation
Range
E
Number of the layer
0 ... 159
X0 to X3
X position of the NAV200 (4 bytes, LSB to MSB) –8,350,000 ... 8,350,000 mm
Y0 to Y3
Y position of the NAV200 (4 bytes, LSB to MSB) –8,350,000 ... 8,350,000 mm
A0, A1
Orientation of the NAV200 (LSB, MSB)
0000h .... FFFFh bdeg
R
Joint radius of the reflectors in a layer
0 ... 127 mm
BCC
Tab. 4-26: Command MS: Denotation of the blocks
Important
The NAV200 must conduct the measuring of the reflector positions from a defined position in the selected layer. NAV200 response (acknowledgement): STX
7
M
S
E
No.
Block
Denotation
Range
E
Number of the layer
0 ... 159
N
Number of detected reflectors
0 ... 31
BCC
Tab. 4-27: Command MS: Structure of the NAV200 response
After measurement the NAV200 displays the number of reflectors detected in the layer. Example of a command input: Mapping in layer 2 from position x = 1000 mm, Y = 2000 mm, A = 0°, R = 35 mm Name Structure Byte position Hex Value
Start charac. STX 1
Length Command
Data
17 2
M 3
S 4
E 5
X0 6
02h
11h
4Dh MS
53h
02h 2
F8h 03h 00h 00h D0h 07h 00h 00h 00h 00h 23h 10h 1,000 mm 2,000 mm 0 35
X1 7
X2 8
X3 9
Y0 10
Y1 11
Y2 12
Y3 13
A0 14
A1 15
Block check BCC 17
R 16
Example of NAV200 response: Name
Start character
Data
Block check
Structure
STX
7
M
S
E
N
BCC
Byte position
1
2
3
4
5
6
7
Hex
02h
07h
4Dh
53h
02h
07h
3Bh
2
7
Value
38
Length Command
MS
© SICK AG · Division Auto Ident · Germany · All rights reserved
8009595/TK80/2009-10-29
Page 39
Modes
Telegram Listing
Chapter 4
NAV200
4.3.3
Command MM: Start "Mapping with scan averaging" in the NAV200
Mode
M Mapping
Function
M Start scan with averaging
Command MM to NAV200: STX
18
M
M
E
S
X0
X1
X2
X3
Y0
Y1
Y2
Y3
A0
A1
R
BCC
Block
Denotation
Range
E
Number of the layer
0 ... 159
S
Number of rotations (scans) for averaging
1 ... 127
X0 to X3
X position of the NAV200 (4 bytes, LSB to MSB)
–8,350,000 ... 8,350,000 mm
Y0 to Y3
Y position of the NAV200 (4 bytes, LSB to MSB)
–8,350,000 ... 8,350,000 mm
A0, A1
Orientation of the NAV200 (LSB, MSB)
0000h .... FFFFh bdeg
R
Joint radius of the reflectors in a layer
0 ... 127 mm
Tab. 4-28: Command MM: Denotation of the blocks
The NAV200 conducts the measuring of the reflector positions from a defined position in the selected layer. The command is equivalent to command MS with the additional possibility of entering the number of scans for the purpose of averaging. NAV200 response (acknowledgement): STX
7
M
Block
Denotation
S
E
N
BCC
Range
E
Number of the layer
0 ... 159
N
Number of detected reflectors in the layer
0 ... 31
Tab. 4-29: Command MM: Structure of the NAV200response
After measurement the NAV200 displays the number of reflectors detected in the layer. Example of a command input: Mapping with a standard scan in Layer 0 from Position X= 10,000 mm, Y= 5,000 mm, α = 90° Name
Start ch.
Length Command
Data
Structure
STX
18
M
M
E
S
X0
X1
X2
X3
Y0
Y1
Y2
Y3
A0
A1
R
BCC
Byte position
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Hex
02h
12h
4Dh
4Dh
00h 64h 10h 27h 00h 00h 88h 13h 00h 00h 00h
40h
00h
FDh
Value
MM
8009595/TK80/2009-10-29
0
Block ch.
100 10,000 mm
5,000 mm
© SICK AG · Division Auto Ident · Germany · All rights reserved
4000h=90° 0
39
Page 40
Chapter 4
Modes
Telegram Listing Laser Positioning System NAV200
Example of NAV200 response: 4 reflectors detected Name
Start character
Length Command
Structure
STX
7
M
S
E
N
BCC
Byte position
1
2
3
4
5
6
7
Hex
02h
07h
4Dh
53h
00h
04h
1Fh
0
4
Value
40
Data
MS
© SICK AG · Division Auto Ident · Germany · All rights reserved
Block check
8009595/TK80/2009-10-29
Page 41
Modes
Telegram Listing
Chapter 4
NAV200
4.3.4
Command MN: Start "Negative mapping with scan averaging" in the NAV200
Mode
M Mapping
Function
N Start "negative mapping" with averaging
Command MN to NAV200: STX
18
M
N
E
S
X0
X1
X2
X3
Y0
Y1
Y2
Y3
A0
A1
R
BCC
Block
Denotation
Range
E
Number of the layer
0 ... 159
S
Number of rotations (scans) for averaging
1 ... 127
X0 to X3
X position of the NAV200 (4 bytes, LSB to MSB)
–8,350,000 ... 8,350,000 mm
Y0 to Y3
Y position of the NAV200 (4 bytes, LSB to MSB)
–8,350,000 ... 8,350,000 mm
A0, A1
Orientation of the NAV200 (LSB, MSB)
0000h .... FFFFh bdeg
R
Joint radius of the reflectors in a layer
0 ... 127 mm
Tab. 4-30: Command MN: Denotation of the blocks
The NAV200 conducts the measuring of the reflector positions from a defined position and orientation in the selected layer. It compares the relfector positions measured with the reflector positions in this layer already present in the reflector memory. The radius for negative mapping must be identical with the radius for the selected layer in this case. After measure the NAV200 displays the number of new reflectors detected in the layer. They are transferred to the NAV200 to be made available with command MR (see chapter 4.3.5 Command MR: Reflector position from conducted NAV200 mapping output, page 43). The formal response is identical to the response to command MS. NAV200 response (acknowledgement): STX
7
M
N
E
N
Block
Denotation
E
Number of the layer
N
Number of newly detected reflectors in the layer
BCC
Tab. 4-31: Command MN: Structure of the NAV200response
Example of a command input: Negative mapping in layer 19 (radius 30 mm), 50 revolutions Name
Start ch.
Length Command
Data
Structure
STX
18
M
N
E
S
X0
X1
X2
X3
Y0
Y1
Y2
Y3
A0
A1
R
BCC
Byte position
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Hex
02h
12h
4Dh
4Eh
13h 32h 00h 00h 00h 00h F0h
D8h FFh
FFh
00h 40h 1Eh 44h
Value
8009595/TK80/2009-10-29
MN
19
Block ch.
50
X = 0 mm
Y = -8,000 mm
© SICK AG · Division Auto Ident · Germany · All rights reserved
4,000h= 90°
30 mm
41
Page 42
Chapter 4
Modes
Telegram Listing Laser Positioning System NAV200
Example of NAV200 response: 3 new reflectors detected in layer 19 Name
Start character
Length Command
Structure
STX
7
M
S
E
N
BCC
Byte position
1
2
3
4
5
6
7
Hex
02h
07h
4Dh
4Eh
13h
03h
16h
19
3
Value
42
Data
MS
© SICK AG · Division Auto Ident · Germany · All rights reserved
Block check
8009595/TK80/2009-10-29
Page 43
Telegram Listing
Modes
Chapter 4
NAV200
4.3.5
Command MR: Reflector position from conducted NAV200 mapping output
The MR command is used to read the reflector positions previously measured with commands MS, MM or MN out of NAV200 main memory. Mode
M Mapping
Function
R Display a reflector position (after mapping)
Command MR to NAV200: STX
7
M
R
E
No.
Block
Denotation
Range
E
Number of the layer
0 ... 159
No.
Number of the reflector in the layer
0 ... 31
BCC
Tab. 4-32: Command MR: Denotation of blocks E and No.
Request for position data output for reflector no. in layer E. NAV200 response (acknowledgement): STX
15
M
R
E
No.
X0
X1
X2
X3
Y0
Y1
Y2
Y3
Block
Denotation
E
Number of the layer
0 ... 159
No.
Number of the reflector in the layer
0 ... 31
X0 to X3
X position of the reflector (LSB to MSB)
–8,380,000 ... 8,380,000 mm
Y0 to Y3
Y position of the reflector (LSB to MSB)
–8,380,000 ... 8,380,000 mm
BCC
Range
Tab. 4-33: Command MR: Structure of the NAV200 response
Position of reflector no. in layer E. In the case of –1 as a reflector number, the NAV200 will have transferred all the reflectors of a layer. This will, for example, occur when 3 reflectors (numbers 0, 1 and 2) were mapped and the position of No. 3 is requested. Example of a command input: Request for reflector 2 in layer 19 Name
Start character
Length Command
Structure
STX
7
M
R
E
N
BCC
Byte position
1
2
3
4
5
6
7
Hex
02h
07h
4Dh
52h
13h
02h
0Bh
19
2
Value
8009595/TK80/2009-10-29
Data
MR
© SICK AG · Division Auto Ident · Germany · All rights reserved
Block check
43
Page 44
Modes
Chapter 4
Telegram Listing Laser Positioning System NAV200
Example of NAV200 response: Name
Start character
Lengt Command h
Data
Structure
STX
15
M
R
E
No.
X0
X1
X2
X3
Y0
Y1
Y2
Y3
BCC
Byte position 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Hex
0Fh
4Dh
52h
13h
02h
5Eh FBh FFh
FFh
54h DAh FFh
FFh
28h
19
2
X = -1,186 mm
Value
44
02h
MR
Block check
© SICK AG · Division Auto Ident · Germany · All rights reserved
Y = -9,644 mm
8009595/TK80/2009-10-29