The text of a manual · part 3 of 12
Telegram Listing: Telegrams for Configuring and Operating the NAV200 Laser Positioning System, Firmware Version from V4.4.X: 3 Introduction
Pages 10 to 14 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 10
Introduction
Chapter 3
Telegram Listing Laser Positioning System NAV200
3
Introduction 3.1
Position of determining position
The NAV200 positioning system is a laser measurement system. The system scans its environment two-dimensionally with a continuous 360° rotational movement and detects specifically defined reflector marks. In the positioning mode (determining position) the NAV200 continuously calculates its own position and direction from the known position of the reflectors in an absolute co-ordinate system (termed "world co-ordinate system" in a previous version of this document). This position data is made available for transmission. On doing so, the NAV200 takes account of its own onward movement by means of consistently using the velocity vector, i.e. the system delivers its position and direction extrapolated at the point in time of data transmission. The NAV200 only transmits its data on request. The reflector sets of data of a plant measured in absolute co-ordinates are transferred to the NAV200 from the outside to be permanently stored in its reflector memory (see the "download" mode). The "mapping" mode enables reflector positions to be measured with the NAV200 itself and to be stored as temporary sets of data for subsequent transfer to the NAV200 e.g. to be processed on a PC. An arrangement of several reflectors is termed a layer (level) for the purpose of organisation. These layers each represent a defined leg of the course and may comprise up to 32 reflectors each; they must, however, comprise at least three reflectors. The NAV200 can be programmed with a total of 320 different layers for the route, distributed amongst two banks (Bank0 and Bank1). Current determination of position is always carried out within a defined, current layer. The NAV200 can change layers during operation. Layers and/or the bank are changed by a vehicle processor command. The NAV200 has a data interface (RS-232/422) with a compact command format for connection to the vehicle processor of an automated guided vehicle (AGV) or a PC for the purpose of configuration and testing. The protocol is the master slave, i.e. the NAV200 delivers exactly one response for each command. A standard proof total (XOR) is used throughout the telegram for the purpose of fault detection in telegram traffic. The "NAV200 setup" configuration software is available for commissioning and for testing (can be loaded onto a PC/laptop).
10
© SICK AG · Division Auto Ident · Germany · All rights reserved
8009595/TK80/2009-10-29
Page 11
Telegram Listing
Introduction
Chapter 3
NAV200
3.2
Command formats
Telegram traffic and the exchange of data are carried out in blocks on application of the following format: BYTES
BYTES
BYTES
BYTES
BYTES
BYTES
STX
No. of bytes
Mode
Function
Data block
BCC (block check)
BYTES
Description
STX
Start value (02 h)
No. of bytes
No. of BYTES in a whole telegram including STX and BCC
Mode*)
Letter (ASCII) as identification for the individual modes
Function*)
Letter (ASCII) as identification for the individual functions in a mode
Data block
Byte string of the length (number of bytes less 5) contains the data to be Data
BCC (block check)
Result of byte-oriented XOR operation throughout the telegram, including STX
*) In the telegram listing semi-bold is highlighted Tab. 3-1:
Telegram component denotation
The content of the telegram is transferred binarily.
3.3
Data interface
The NAV200 makes a serial data interface (RS-232/422) available. None of the communication paraments can be adjusted, with the exception of the data transfer rate: Parameter
Value
Data transfer rate
19,200 Bd (default setting)
Start bits
1
Data bits
8
Stop bits
1
Parity
Straight
Tab. 3-2:
Communication parameters of the data interface (RS-232/422)
The RTS and CTS handshake signals are not used. To change the data transfer rate see chapter 4.2.2 Command SB: Select the transfer rate of the data interface closest", page 19.
3.4
Co-ordinates
The co-ordinates are signed values denoted in mm and refer to a rectangular and plane cartesian system of co-ordinates. The NAV200 uses four bytes (INT32) to transmit the data of a co-ordinate: BYTE0
BYTE1
BYTE2
LSB
BYTE3 MSB
Example: Hex
CFh
Value
34h
F9h
FFh
–445233
LSB = least significant byte MSB = most significant byte
8009595/TK80/2009-10-29
© SICK AG · Division Auto Ident · Germany · All rights reserved
11
Page 12
Chapter 3
Introduction
Telegram Listing Laser Positioning System NAV200
In this case the NAV200 transmits the LSB first. This results in a theoretical range of: 8000 0000h (–2,147,483,648 dec.) to 7FFF FFFFh (+2,147,483,647 dec.). The permissible range for absolute co-ordinates is: –8,380,000 mm ≤ X ≤ 8,380,000 mm –8,380,000 mm ≤ X ≤ 8,380,000 mm
3.5
Angle
Angle data also refers to a rectangular cartesian system of co-ordinates (Fig. 3-1). The x-axis direction is 0°and the y-axis direction 90° (mathematical system). A 2-byte format (INT16) (bdeg) is used as a unit of measurement containing the highest possible splitting of the full circle in 16 bits: 1 bdeg =
(90/16384)°
90°=
16,384 bdeg dec. (4,000h) BYTE0
BYTE1
LSB
MSB
Example: Hex
00h
Value
Fig. 3-1:
12
60h 6,000h = 135°
Cartesian co-ordinate system
© SICK AG · Division Auto Ident · Germany · All rights reserved
8009595/TK80/2009-10-29
Page 13
Telegram Listing
Introduction
Chapter 3
NAV200
3.6
Co-ordinate systems
The NAV200 local co-ordinate system is within the range of the absolute co-ordinate system of the vehicle (the plant) defined by the user:
Y y x
V
X, Y = absolute co-ordinate system of the plant x, y = local co-ordinate system of the NAV200
α X Fig. 3-2:
Co-ordinate system of the NAV200
X, Y = absolute co-ordinate system of the plant x,y = local co-ordinate system of the NAV200 α = Direction of the NAV200 in the absolute co-ordinate system v = Velocity vector Example: Transformation of the velocity vector from the local co-ordinate system to the absolute coordinate system: VX = (Vx * cos α) – (Vy * sin α) VY = (Vx * sin α) + (Vy * cos α)
3.7
X/Y co-ordinates in the "reflector co-ordinate" mode
The x/y co-ordinates in the "reflector co-ordinate" mode are signed values denoted in mm and refer to the local cartesian co-ordinate system of the NAV200. The NAV200 uses two bytes (INT16) to transmit the data of a co-ordinate: BYTE0
BYTE1
LSB
MSB
Examples: Hex
47h
Value (mm) Hex
18h 18200
F0h
Value (mm)
D8h –10000
In this case the NAV200 transmits the LSB first.
8009595/TK80/2009-10-29
© SICK AG · Division Auto Ident · Germany · All rights reserved
13
Page 14
Chapter 3
Introduction
Telegram Listing Laser Positioning System NAV200
This results in a theoretical range of: 8,000h (–32,768 dec.) to 7FFFh (+32,768 dec.). The range for NAV200 measurements in local co-ordinates is: –30,000 mm ≤ x ≤ 30,000 mm –30,000 mm ≤ y ≤ 30,000 mm
3.8
Polar co-ordinates in the "reflector co-ordinate" mode
The distances in the "reflector co-ordinate" mode are unsigned values denoted in mm and refer to the centre of the scanner head. The NAV200 uses two bytes (INT16) to transmit the data of a distance: BYTE0
BYTE1
LSB
MSB
Example: Hex
56h
Value (mm)
02h 598
In this case the NAV200 transmits the LSB first. This results in a theoretical range of: 0 to +65,536 dec. (0000h ... FFFFh) The range for distances D of the NAV200 is: 100 mm ≤ D ≤ 30,000 mm Angle data refers to the NAV200local co-ordinate system. The x-axis points from the scanner head to the connectors. Anti-clockwise values are positive (mathematical system). The unit of measurement used is the 2-byte format (INT16) (bdeg) described in chapter 3.5 Angle, page 12.
14
1 bdeg =
(90/16384)°
90°=
16,384 bdeg dec. (4,000h)
© SICK AG · Division Auto Ident · Germany · All rights reserved
8009595/TK80/2009-10-29