Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 11 of 12

Telegram Listing: Telegrams for Configuring and Operating the NAV200 Laser Positioning System, Firmware Version from V4.4.X: 5 Diagnosis functions

Pages 79 to 87 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 79

Diagnosis functions

Telegram Listing

Chapter 5

NAV200

5

Diagnosis functions 5.1

Introduction

For each position request, the "positioning" mode (determining position) delivers the position data of the NAV200 in an absolute co-ordinate system. The system output of a moving AGV with a NAV200 is influenced by three main factors: •

Reflector influences: – Positioning of the reflectors and visibility conditions in the environment – Measurement precision and also subsequent shifting – Balanced distribution of reflectors along the guide path

•

Performance and properties of the NAV200 – Precisions and possible ageing – Possible defects

•

System dynamics and features of the AGV – Speed, particularly for turning movements – Precision and time needed for information on movement (speed, angular velocity) made available to the NAV200 by the AGV

In order to facilitate commissioning a plant or any troubleshooting, e.g. on the route, the NAV200 can deliver diagnosis data in addition to the position data. This diagnosis data constitutes measuring data and interim calculations based on the determination of position. There are two methods of accessing the NAV200 diagnosis data: •

Online in the positioning mode, in each case as a set of additional diagnosis data in an extended NAV200 response for each position request. The commands specified in chapter 4.4 "Positioning" mode (determining position"), page 45 are extended in order to request diagnosis data.

•

Offline in the positioning mode once a number of data sets have been recorded in the post-trigger memory. Once recording has commenced, the NAV200 does not release diagnosis data for each position request; it files them instead as a set of data in the memory. Retrieving the (selectable) sets of data with a command.

5.1.1

Purpose of an online diagnosis data output

The online output of diagnosis data is an extension of the position response of the NAV200 with additional information. This information enables the NAV200response to be precisely and consistently analysed. Various parameters are important in accordance with the main focus of an analysis. The amount of additional data which may be added to the position response is limited. This means that it is essential to select required data by means of setting a parameter prior to initialising the positioning mode with an extended data output Failure to do so would result in excessively long NAV200 response times. Important

8009595/TK80/2009-10-29

For the purpose of retrieving additional diagnosis data it must be ensured that the data transfer rate of the NAV200 is sufficient. If may be advisable to select a higher transfer rate (see here chapter 4.2.2 Command SB: Select the transfer rate of the data interface closest", page 19).

© SICK AG · Division Auto Ident · Germany · All rights reserved

79

Page 80

Diagnosis functions

Chapter 5

Telegram Listing Laser Positioning System NAV200

5.1.2

Purpose of an offline diagnosis data output (post-trigger memory)

After a request in the positioning mode, the NAV200 records sets of diagnosis data and stores these in its internal post-trigger memory. The max. recording time for a sequence of data sets is 10 s (approx. 80 sets of data). The data buffer used is in the form of a circular buffer. After startup, the NAV200 continuously stores one set of data after another for each position request. After 10 seconds it begins to overwrite the existing sets of data again, beginning with the oldest set of data. This method has the advantage that after a request, the output of diagnosis data sets will be far greater than the online outpu in the positioning mode. The internal organisation of the NAV200 has no influence on the cycle time in the positioning mode during the recording process. The vehicle processor can use commands to start and stop the recording of diagnosis data and also to read data for the purpose of further analysis via the data interface.

5.2

Overview: Data formats of the diagnosis data per set (Number of) BYTES

Format

(4) BYTES

UINT32 u32TimeDiff_ms

Time difference in ms in terms of the point in time of the receipt of a (2) BYTES command to request a position

UINT16 u16TimeDiff_ms

Description Time stamp Online mode with a time stamp Time difference in ms in relation to the start of the positioning mode

Post-trigger recording Time difference in ms in relation to the start of data recording in the buffer

(2) BYTES

UINT16 u16TimeDiff_ms

Identifica- Number of co-ordinates tion

BYTES

Mnum ( 0 ... 27)

0

Valid, measured reflector positions in absolute co-ordinates (mm)

max. (225) BYTES

Mnum * (INT32 MaX_mm, INT32 MaY_mm)

1

Valid, used reflector positions in absolute co-ordinates (mm)

max. (225) BYTES

Mnum * (INT32 MuX_mm, INT32 MuY_mm)

2

Reflector positions expected in QUIVKMAP in absolute co-ordinates (mm)

max. (225) BYTES

Mnum * (INT32 MeX_mm, INT32 MeY_mm)

Current layer

BYTES

BYTE layer

Current "N closest" parameter

BYTES

BYTE nClosest

Current operation radius

(4) BYTES

INT16 OpRadFr_mm INT16 OpRadTo_mm

Current mode: QUICKMAP (0) / FULLMAP (1)

BYTES

BYTE IsQuickmap (0 or 1)

Absolute X position in co-ordinates (mm)

INT32

INT32 X_mm

Absolute Y position in co-ordinates (mm)

Reflector measurement

Parameters for determining position

Position data INT32

INT32 Y_mm

Richtung in the absolute co-ordinate system in binary degrees (bdeg) INT16

INT16 A_bdeg

Type (–2, –1, 0)

BYTES

BYTE Q

Number of used reflector measurements

BYTES

NUsed

Tab. 5-1:

80

Data formats of diagnosis data for online output in the positioning mode and for requesting data from the post-trigger memory

© SICK AG · Division Auto Ident · Germany · All rights reserved

8009595/TK80/2009-10-29

Page 81

Telegram Listing

Diagnosis functions

Chapter 5

NAV200

5.3

Online output of diagnosis data

The output of additional diagnosis data per position request is initialised simultaneously with the start of the positioning mode. For the purpose of requesting the additional data, commands PA and PN were extended by the M byte (add.mode) for which a value is to be selected in accordance with the required type of data. 5.3.1

Command PA M: Activate determining position mode of the NAV200 inlcuding diagnosis data output

Mode

P Determining position

Function

A Activate mode M Specify type of diagnosis data (reflector positions)

Command PA M to NAV200: STX

6

P

A

M

BCC

Time stamp

M

Denotation

No time stamp

00h

Display all the valid, measured reflector positions in absolute co-ordinates (mm)

01h

Display all the valid reflector positions used for determining position in absolute co-ordinates (mm)

02h

Display all the expected reflector positions in aboslute co-ordinates (mm). These reflector positions are calculated from the previous position on application of the velocity information entered and transfered to the absolute co-ordinate system. The expected reflector positions facilitate a rapid detection of reflectors in Quickmap.

With a time stamp 80h

Display time information + all the valid, measured reflector positions in absolute co-ordinates (mm)

Tab. 5-2:

81h

Display time information + all the valid reflector positions used for determining position in absolute co-ordinates (mm)

82h

Display time information + all the expected reflector positions in absolute co-ordinates (mm)

Extended PA M command: Denotation of parameter M in the add. mode

NAV200 response (acknowledgement): STX

5

P

A

BCC

The positioning mode (determining position) is active.

8009595/TK80/2009-10-29

© SICK AG · Division Auto Ident · Germany · All rights reserved

81

Page 82

Chapter 5

Diagnosis functions

Telegram Listing Laser Positioning System NAV200

5.3.2

Command PN M: Activate determining the NAV200 position with a diagnosis data output on specification of the max. profile peak

Mode

P Determining position

Function

N Activate a mode on entering the max. profile peak M Specify type of diagnosis data (reflector positions)

Command PN M to NAV200: STX

7

Block

Denotation

Range

Default setting

S

Number of measurements for a gliding medium

1 ... 63

4

M

See Tab. 5-2, page 81

Tab. 5-3:

P

N

S

M

BCC

–

Extended command PN: Denotation of blocks S and M in the add. mode

NAV200 response (acknowledgement): STX

5

P

A

BCC

The positioning mode (determining position) is active.

82

© SICK AG · Division Auto Ident · Germany · All rights reserved

8009595/TK80/2009-10-29

Page 83

Diagnosis functions

Telegram Listing

Chapter 5

NAV200

5.3.3

Structure of NAV200 responses in the positioning mode

The responses to a position request are extended in accordance with the diagnosis data selected for output as described below. a) Diagnosis data, no time stamp M

Denotation

00h

Display all the valid, measured reflector positions in absolute co-ordinates (mm)

01h

Display all the valid reflector positions used for determining position in absolute co-ordinates (mm)

02h

Display all the expected reflector positions in aboslute co-ordinates (mm). These reflector positions are calculated from the previous position on application of the velocity information entered and transfered to the absolute co-ordinate system. The expected reflector positions facilitate a rapid detection of reflectors in Quickmap.

Tab. 5-4:

Denotation of diagnosis data without the use of a time stamp

NAV200 response (acknowledgement): STX Len P

X0

X1

X2

X3

Y0

Y1

Y2

Y3

A0

A1

G

Nm {RC} BCC

Block

Denotation

Len

Number of bytes in a datastring

17 + (Nm * 8)

X0 to X3

X position of the NAV200 (4 bytes, LSB to MSB)

–8,380,000 ... 8,380,000 mm

Y0 to Y3

Y position of the NAV200 (4 bytes, LSB to MSB)

–8,380,000 ... 8,380,000 mm

A0, A1

Orientation of the NAV200 (LSB, MSB)

0000h ... FFFFh bdeg

G

Quality of position determination

0 ... 100, –1, –2

Nm

Number of reflector co-ordinates transfer- 1 ... 30 (max. 256 bytes) red (type of reflectors selectable, see identification in Tab. 5-4)

{RC}

Set of Nm reflector co-ordinates

Tab. 5-5:

Important

P

Range

N * {Rx0 Rx1 Rx2 Rx3, Ry0 Ry1 Ry2 Ry3 }

Command PP: Structure of the NAV200 response without the use of a time stamp

For the output of position data in the positioning mode without additional diagnosis data, N will always be the number of reflectors used for determining position. This information is replaced on the output of the additional diagnosis data by the reflector co-ordinates (RC) selected for output. b) Diagnosis data with a time stamp M

Denotation

80h

Display time information + all the valid, measured reflector positions in absolute co-ordinates (mm)

81h

Display time information + all the valid reflector positions used for determining position in absolute co-ordinates (mm)

82h

Display time information + all the expected reflector positions in aboslute co-ordinates (mm).

Tab. 5-6:

8009595/TK80/2009-10-29

Denotation of diagnosis data on using a time stamp

© SICK AG · Division Auto Ident · Germany · All rights reserved

83

Page 84

Diagnosis functions

Chapter 5

Telegram Listing Laser Positioning System NAV200

NAV200 response (acknowledgement): STX Len P P X0 X1 X2 X3 Y0 Y1 Y2 Y3 A0 A1 G

84

M

TS0 TS1 TS2 TS3 TD0 TD1 Nm {RC} BCC

Block

Denotation

Range

Len

Number of bytes in a datastring

25 + (Nm * 8)

X0 to X3

X position of the NAV200 (4 bytes, LSB to MSB)

–8,380,000 ... 8,380,000 mm

Y0 to Y3

Y position of the NAV200 (4 bytes, LSB to MSB)

–8,380,000 ... 8,380,000 mm

A0, A1

Orientation of the NAV200 (LSB, MSB)

0000h ... FFFFh bdeg

G

Quality of position determination

0 ... 100, –1, –2

N

Number of reflector co-ordinates used for determining position

0 ... 30 (max. 256 bytes)

M

Type of diagnosis data with a time stamp

80h, 81h or 82h

TS0 to TS3

Time difference in ms in relation to the start of the positioning mode by command PA or PN

0 ... 66,536 ms (then overrun, counting commences again at 0 ms)

TD0, TD1

Time difference in ms in terms of the point in time of the receipt of a command to request a position

0 ... 232 ms

Nm

Number of reflector co-ordinates trans- 1 ... 29 (max. 255 bytes) ferred (type of reflectors selectable, see identification in Tab. 5-1, page 80)

{RC}

Set of Nm reflector co-ordinates

Tab. 5-7:

Important

N

N * {Rx0 Rx1 Rx2 Rx3, Ry0 Ry1 Ry2 Ry3 }

Command PP: Structure of the NAV200 response on using a time stamp

For the output of position data in the positioning mode without additional diagnosis data, N will always be the number of reflectors used for determining position. This information is not overwritten on the output of additional diagnosis data with a time stamp. Nm, the number of reflector co-ordinates (RC), may deviate accordingly from N, depending on the type of reflector co-ordinate selected.

© SICK AG · Division Auto Ident · Germany · All rights reserved

8009595/TK80/2009-10-29

Page 85

Diagnosis functions

Telegram Listing

Chapter 5

NAV200

5.4

Offline diagnosis data output (post-trigger store)

The circular buffer has a maximum length of 80 data sets. Command P? can be used to request the number Z of the most recent data sets from this circular buffer individually. The index I of the 80. data set is N – 1 = 79, Imin = 0. If, for example, the NAV200 is to display the 5. data set, the reqest is to be made with command P? and index I = 4. The command for reading the content of the memory also contains the number of data sets of an index for selecting the data. (Tab. 5-8). 5.4.1

Command Pd M: Initialise and start up recording of the diagnosis data

Command Pd M to NAV200: STX

6

P d

M

BCC

M

Denotation

0

Record time information + positioning parameters + positioning data + all the valid, measured reflector positions in absolute co-ordinates (mm)

1

Record time information + positioning parameters + positioning data + all the valid reflector positions used for measuring position in absolute co-ordinates (mm)

2

Record time information + positioning parameters + positioning data + all the expected reflector positions in absolute co-ordinates (mm)

Tab. 5-8:

Command Pd M: Denotation of parameter M

NAV200 response (acknowledgement): STX

5.4.2

6

P d

M

BCC

Command Ps: Stop diagnosis data recording

STX

5

P s

BCC

NAV200 response (acknowledgement): STX

Important

8009595/TK80/2009-10-29

8

P s

M

N0

Block

Denotation

M

Type of diagnosis data with a time stamp, see Tab. 5-8

N0, N1

Number of data sets in the circular buffer (INT16)

Tab. 5-9:

Command Ps: Structure of the NAV200response

N1

BCC

The response contains the number N of available data sets. The oldest stored data set is indicated by the number (index) 0 and the last, most recent data set by the number (index) N-1. The number N of the latest data sets is available.

© SICK AG · Division Auto Ident · Germany · All rights reserved

85

Page 86

Diagnosis functions

Chapter 5

Telegram Listing Laser Positioning System NAV200

5.4.3

Command P?: Display recording of diagnosis data

STX

Block M N0, N1

8

P

?

M

N0

N1

BCC

Denotation Type of diagnosis data with a time stamp, see Tab. 5-8, page 85 Index for data sets in the circular buffer (INT16)

Tab. 5-10: Command P?: Denotation of blocks M and N0, N1

NAV200 response (acknowledgement): STX

Data + 7

P

?

M

N0

N1

Data

BCC

10, 11

12

Reflector positions (absolute co-ordinates in mm) (i = (0 ... Nrefs) – 1))

Positioning data

Positioning parameters 13

14, 15

16, 17

18

19 ... 22

23 ... 26

27, 28

29

30

(8 * i ) (8 * i ) +32 + +36 + (0...3) (0...3)

31

INT32 INT32

MaY_mm

Nrefs

NUsed

Q

A_bdeg

Y_mm

X_mm

IsQuickmap

OpRadTo

OpRadFr

NClosest

Nrefs

Layer

TimeStamp_ms

DiagMode*)

INT16 BYTES INT16 BYTES BYTES INT16 INT16 BYTES INT32 INT32 INT16 BYTES BYTES BYTES

MaX_mm

Identification for the recorded reflector types 9

Time difference in ms

Buffer no. since commencement of recording 7,8

NPufferNo

Value

Type Bytes in the output Type of data area

Composition of the recorded data sets

*) Identification see Tab. 5-8, page 85

Tab. 5-11: Overview: Structure of the recorded data sets

5.5

Parallel operation of online output and recording diagnosis data for offline output

It is possible to operate the online output and the recording of diagnosis data for offline output at the same time. For example, with each position request, the NAV200 can release all the valid measured reflector positions required for this determination of position online (with or without a time stamp) and at the same time it can also internally record the data

86

© SICK AG · Division Auto Ident · Germany · All rights reserved

8009595/TK80/2009-10-29

Page 87

Telegram Listing

Diagnosis functions

Chapter 5

NAV200 sets of all the reflector positions used for determining position (with or without a time stamp).

8009595/TK80/2009-10-29

© SICK AG · Division Auto Ident · Germany · All rights reserved

87