The text of a manual · part 12 of 12
Telegram Listing: Telegrams for Configuring and Operating the NAV200 Laser Positioning System, Firmware Version from V4.4.X, pages 88 to 96
Pages 88 to 96 of 96: 6 Error messages; 7 Appendix
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 88
Chapter 6
Error messages
Telegram Listing Laser Positioning System NAV200
6
Error messages Each NAV200 response to a command entry may be an error message, either due to a syntax error in the command or to indicate an applicance error which has occurred. Error messages begin with an "E" instead of the second byte (function byte) and each comprises 4 bytes. The content of error bytes is supplemented by the bytes relevant to the reflector interface.
6.1
Error bytes
The 4 error bytes F0 to F3 contain the following entries: F0 (error byte 0) Entry of the function byte of the last command. F1 (error byte 1) Entry of the error class. The error class indicates the position in the NAV200 system at which an error has occurred. Error class
Denotation
Error
1
Software
Content error in the software protocol (commands) of the customer's driver. See error specification in error byte 3
2
Transputer not used
3
Sensor link (raw data interface)
Error on the internal measurement data interface of the NAV200
4
End-to-end measurement
Faulty measurement
5
Rotation and angle measurement
Angle measurement error
6
EEPROM link
Error on the reflector memory connector
7
User link
Error on the link between the vehicle processor/PC and NAV200 (RS232 data interface)
Tab. 6-1:
Error byte 1: Error class denotation
F2 (error byte 2) Error group entry. The error group specifies in which mode an error has occurred. Error group
Denotation
1
Input/output, telegram traffic
2
Standby
3
Reflector memory
4
Download
5
Upload
6
Mapping
7
Positioning mode (determining position")
8
Test
9
Navigation mode general
10
Reflector co-ordinators (measuring mode)
Tab. 6-2:
88
Error byte 2: Error group denotation
© SICK AG · Division Auto Ident · Germany · All rights reserved
8009595/TK80/2009-10-29
Page 89
Telegram Listing
Error messages
Chapter 6
NAV200
F3 (error byte 3) Error specification entry. An error specification describes an error in more detail and is to be viewed in conjunction with error bytes F1 and F2. Error specification
Denotation
1
Unknown command
2
Command (function) not implemented in this mode
3
Incorrect command
4
No reflector
5
Incorrect reflector number
6
Incorrect data block
7
Adding not possible
8
Invalid layer
9
No reflectors in the layer
10:
Reflectors all transferred
11:
Communication error (BCC error)
12:
Impermissible number of reflectors in the current layer (< 3)
13
Incorrect radii for information on the range of operation
14
Flash EPROM defect
15
Incorrect reflector radius
16
Invalid parameter
17
Error in the check total on the raw data interface
18
Error message by the raw data interface
19
Incomplete scan
20
Timeout exceeded on the raw data interface
21
Scan faulty
Tab. 6-3:
Error byte 3: Error specification denotation
6.2
Example of an error message
STX
9
P
E v
7
9
11
F0
F1
F2
F3
Byte
Denotation
P
"Positioning" mode (determining position")
E
Identification "error" v
Position function v, the most recent command was a Pv command
7
Error byte 1: User link error
9
Error byte 2: Navigation mode general
11
Error byte 3: Communication error (BCC error)
Tab. 6-4:
BCC
Example of an error message
Result: Data interface (RS-232) communication error while determining position with command Pv. This error is usually caused by electrical faults or a megative block check.
8009595/TK80/2009-10-29
© SICK AG · Division Auto Ident · Germany · All rights reserved
89
Page 90
Appendix
Chapter 7
Telegram Listing Laser Positioning System NAV200
7
Appendix 7.1
Overview: NAV200 commands and response times
7.1.1
Principle
The NAV200 protocol is a request and response protocol (Master/Slave). Each request forwarded to the NAV200 generates a response after the request has been processed. If the NAV200 is not able to carry out the requested operation, it will respond with an error message. A response may fail to appear if the power supply or the data link is cut off or if the system develops a fault. This is to be backed up by a corresponding timeout mechanism of the vehicle processor. No response is generated by the NAV200 after timeout. 7.1.2
Response times
Please note the following concerning the analysis times shown in the tables below: •
The NAV200 is activated with commands in various modes. In the case of some of the commands for NAV200 the response time will depend on the current mode and the preceding functions. The following tables have hence been structured according to the various modes.
•
The response time is contingent on the reflector layout and the operating status in the positioning mode.
•
The first command in the positioning mode and the PA and PN commands for determining the first position or a new position in the full map may differ considerably in terms of response time, while determining position in Quickmap will depend on the reflector layout and the connection between measured and stored reflectors. The response times depend on the number of stored reflectors in a layer, the number of detected reflectors and the number of detected lreflectors that do not belong to a layer. Long response times result from measuring numerous reflectors that do not belong to the selected layer. The response time may exceed 120 seconds in a few situations.
•
90
The response times listed are intended for the first byte transmitted by the NAV200. The coordinated byte timeout for data transmission by the NAV200 should be >3 ms.
© SICK AG · Division Auto Ident · Germany · All rights reserved
8009595/TK80/2009-10-29
Page 91
Appendix
Telegram Listing
Chapter 7
NAV200
Commands in the "standby" mode Operation
Command to NAV200
NAV200 response
"Standby" mode Activate
SA
Display the Firmware version number
NAV200 response time Typical
Recomm. timeout
SA
5 ms
100 ms
SV
SV V0 V1 V2
5 ms
Display the version string
ST
ST version string
5 ms
Display the identification string
St
St version string
5 ms
Serial no. output
SS
SS S0 S1
5 ms
Direction of rotation input
SU C
SU C
5 ms
Display the SR E Nr reflector position Change reflector position
SR Nr X0 X1 X2 X3 Y0 1. Request: Y1 Y2 Y3 2s SC E Nr X0 X1 X2 X3 SC E Nr X0 X1 X2 X3 All the following: 50 ms Y0 Y1 Y2 Y3 Y0 Y1 Y2 Y3
Add new reflector position
SI E Nr X0 X1 X2 X3 Y0 Y1 Y2 Y3
Delete reflector position
SD E Nr X0 X1 X2 X3 SD E Nr X0 X1 X2 X3 Y0 Y1 Y2 Y3 Y0 Y1 Y2 Y3
Enter reflector radius of a layer
RS E R
RS E R
Reflector radius of a layer output
RG E
RG E
Start mapping mode
MA
MA
Start determining position
PA
PA PN S
Activate upload mode
UA
UA
Activate download mode
DA
DA
Select the transmission rate of the data interface
SB
SB
Tab. 7-1:
5s
The respective reflector level in the EEPROM of the NAV200 must be read for the first request for reflector data. This results in delays of 2 seconds at the most. For changing, deleting or adding a reflector position the entire reflector level to the EEPROM of the NAV200 is written and read again from there.
New mode: 4s or: 50 ms
10 s
The NAV200 reads all the reflector levels which have not been read yet for switching to the mapping or positioning mode (detecting position). This results in a delay of 4 seconds at the most.
50 ms
100 ms
5 ms
10 ms
SI E Nr X0 X1 X2 X3 Y0 Y1 Y2 Y3
PN S Start position determination and enter the max. profile peak height
Comment
Commands and response times in the "standby" mode
8009595/TK80/2009-10-29
© SICK AG · Division Auto Ident · Germany · All rights reserved
91
Page 92
Appendix
Chapter 7
Telegram Listing Laser Positioning System NAV200
Commands in the "rmapping" mode Operation
Command to NAV200
NAV200 response
NAV200 response time Recomm. timeout
14 s
15 s
The NAV200 carries out 100 scans and stores the reflector positions. These are then available in the main memory to be retrieved with the MR command The NAV200 carries out the number S of scans and stores the reflector positions. These are then available in the main memory to be retrieved with the MR command
Start mapping
MS E X0 X1 X2 X3 Y0 MS E N Y1 Y2 Y3 R
Start "negative mapping with averaging"
MN E S X0 X1 X2 X3 Y0 Y1 Y2 Y3 R
Start "mapping with averaging"
MM E S X0 X1 X2 X3 MS E N Y0 Y1 Y2 Y3 R
S * 14 s
S * 1.5 s
Display a mapping reflector position
MR E Nr
MR E Nr X0 X1 X2 X3 Y0 Y1 Y2 Y3
10 ms
100 ms
Change to the "standby" mode
SA
SA
50 ms
200 ms
Set layer bank
BS
BS actBankNr
895 ms
Read the num- BR ber of the active layer bank
BR actBankNr
10 ms
Tab. 7-2:
92
Comment
Typical
MS E N
The appropriate bank is loaded in the operating memory of the NAV200 during selction of a layer bank. This process takes up to 895 ms.
Commands and response times in the "mapping" mode
© SICK AG · Division Auto Ident · Germany · All rights reserved
8009595/TK80/2009-10-29
Page 93
Appendix
Telegram Listing
Chapter 7
NAV200
Commands in the "positioning" mode Operation
Command to NAV200
Select current layer PL E
NAV200 response
Typical PL E
Select current layer PM E X0 X1 X2 X3 PM E X0 X1 X2 X3 Y0 on external input of Y0 Y1 Y2 Y3 A0 A1 Y1 Y2 Y3 A0 A1 the NAV200 position Select the operating radii of the NAV200
PO Rfr0 Rfr1 Rfr2 Rfr3 Rto0 Rto1 Rto2 Rto3
PC N
Display position on PP internal determination of velocity
PP X0 X1 X2 X3 Y0 Y1 Y2 Y3 A0 A1 N
Display position on Pv VX0 VX1 VY0 VY1 ext. input of velocity in the local coordinate system of the NAV200
PP X0 X1 X2 X3 Y0 Y1 Y2 Y3 A0 A1 N
Display position on Pw VXL0 VXL1 ext. input of veloVYL0 VYL1 VA0 city and angular VA1 velocity in the local co-ordinate system of the NAV200
PP X0 X1 X2 X3 Y0 Y1 Y2 Y3 A0 A1 N
Display position on PV VX0 VX1 VY0 ext. input of veloVY1 city and angular velocity in the absolute co-ordinate system of the vehicle
PP X0 X1 X2 X3 Y0 Y1 Y2 Y3 A0 A1 N
Reactivate reflec- PA tor detection in the determining position mode (full map)
PA
Activate position PN S determination and enter the max. profile peak height
PN S
Change to the "standby" mode
If 1. command in 120 s a layer > 0: 5s or: 90 ms
Full map: 5s Quickmap: 60 ms
120 s
1. Command: 120 s Other commands: 300 ms
Full map: 5s Quickmap: 60 ms
120 s
SA
50 ms
120 s
Mute sectors
PS
PS
135 ms
300 ms
Define Quickmap identification window
PF
PF
135 ms
300 ms
Tab. 7-3:
Comment
Recomm. timeout
PO Rfr0 Rfr1 Rfr2 Rfr3 Rto0 Rto1 Rto2 Rto3
Select number N of PC N closest reflectors
SA
NAV200 response time
If no layer was selected by these commands, the NAV200 will attempt to find its position in layer 0. If this layer is not the right one, a response time of 60 s and longer will result. The first position request in the positioning mode is carried out by the NAV200 in the full map mode. When positioning in Quickmap the response time will be shorter or the same 300 ms
The largest time limit applies for operation in an incorrect layer.
Commands and response times in the "positioning" mode
8009595/TK80/2009-10-29
© SICK AG · Division Auto Ident · Germany · All rights reserved
93
Page 94
Appendix
Chapter 7
Telegram Listing Laser Positioning System NAV200
Commands in the "upload" mode Operation
NAV200 response time
Command to NAV200
NAV200 response
Display the next reflector position
UR E
UR E Nr X0 X1 X2 X3 2 s Y0 Y1 Y2 Y3
5s
Display reflector radius of a layer
RG E
RG E R
50 ms
200 ms
Change to the "standby" mode
SA
SA
50 ms
200 ms
Tab. 7-4:
Typical
Comment
Recomm. timeout On first request the NAV200 will read data from the EEPROM. This may take up to 5 seconds.
Commands/response times in the "upload" mode
Commands in the "download" mode Operation
Command to NAV200
NAV200 response
NAV200 response time Typical
Deliver the next reflector position
DR E NR X0 X1 X2 DR E NR X0 X1 X2 X3 2 s X3 Y0 Y1 Y2 Y3 Y0 Y1 Y2 Y3
5s
Enter reflector radius of a layer
RS E R
RG E R
90 ms
200 ms
Change to the "standby" mode
SA
SA
50 ms
200 ms
Tab. 7-5:
94
Comment
Recomm. timeout The response time depends on the active layer. On completing a download, the NAV200 writes the data into the EEPROM. This may take up to 5 seconds.
Commands/response times in the "download" mode
© SICK AG · Division Auto Ident · Germany · All rights reserved
8009595/TK80/2009-10-29
Page 95
Telegram Listing
Appendix
Chapter 7
NAV200
8009595/TK80/2009-10-29
© SICK AG · Division Auto Ident · Germany · All rights reserved
95
Page 96
8009595/TK80/2009-10-29 ∙ 5M/TR/IBEO <PM6.5/FM7.0/PDF>/VD ∙ Printed in Germany ∙ Subject to change without notice ∙ The specified product features and technical data do not represent any guarantee ∙ A4 4c int34
Australia Phone +61 3 9497 4100 1800 33 48 02 – tollfree E-Mail sales@sick.com.au Belgium/Luxembourg Phone +32 (0)2 466 55 66 E-Mail info@sick.be Brasil Phone +55 11 3215-4900 E-Mail sac@sick.com.br Ceská Republika Phone +420 2 57 91 18 50 E-Mail sick@sick.cz China Phone +852-2763 6966 E-Mail ghk@sick.com.hk Danmark Phone +45 45 82 64 00 E-Mail sick@sick.dk Deutschland Phone +49 211 5301-301 E-Mail kundenservice@sick.de España Phone +34 93 480 31 00 E-Mail info@sick.es France Phone +33 1 64 62 35 00 E-Mail info@sick.fr Great Britain Phone +44 (0)1727 831121 E-Mail info@sick.co.uk India Phone +91–22–4033 8333 E-Mail info@sick-india.com Israel Phone +972-4-999-0590 E-Mail info@sick-sensors.com Italia Phone +39 02 27 43 41 E-Mail info@sick.it Japan Phone +81 (0)3 3358 1341 E-Mail support@sick.jp
Österreich Phone +43 (0)22 36 62 28 8-0 E-Mail office@sick.at Polska Phone +48 22 837 40 50 E-Mail info@sick.pl Republic of Korea Phone +82-2 786 6321/4 E-Mail kang@sickkorea.net Republika Slovenija Phone +386 (0)1-47 69 990 E-Mail office@sick.si România Phone +40 356 171 120 E-Mail office@sick.ro Russia Phone +7 495 775 05 34 E-Mail info@sick-automation.ru Schweiz Phone +41 41 619 29 39 E-Mail contact@sick.ch Singapore Phone +65 6744 3732 E-Mail admin@sicksgp.com.sg Suomi Phone +358-9-25 15 800 E-Mail sick@sick.fi Sverige Phone +46 10 110 10 00 E-Mail info@sick.se Taiwan Phone +886 2 2375-6288 E-Mail sales@sick.com.tw Türkiye Phone +90 216 587 74 00 E-Mail info@sick.com.tr United Arab Emirates Phone +971 4 8865 878 E-Mail info@sick.ae USA/Canada/México Phone +1(952) 941-6780 1 800-325-7425 – tollfree E-Mail info@sickusa.com
Nederlands Phone +31 (0)30 229 25 44 E-Mail info@sick.nl Norge Phone +47 67 81 50 00 E-Mail austefjord@sick.no
SICK AG | Waldkirch | Germany | www.sick.com
More representatives and agencies in all major industrial nations at www.sick.com