KST_VisionTech_21_en.pdf

(3999 KB) Pobierz
KUKA System Technology
KUKA Roboter GmbH
KUKA.VisionTech 2.1
For KUKA System Software 8.2
For VW System Software 8.2
Issued: 16.01.2014
Version: KST VisionTech 2.1 V2
1283703865.010.png 1283703865.011.png 1283703865.012.png 1283703865.013.png
KUKA.VisionTech 2.1
© Copyright 2014
KUKA Roboter GmbH
Zugspitzstraße 140
D-86165 Augsburg
Germany
This documentation or excerpts therefrom may not be reproduced or disclosed to third parties without
the express permission of KUKA Roboter GmbH.
Other functions not described in this documentation may be operable in the controller. The user has
no claims to these functions, however, in the case of a replacement or service work.
We have checked the content of this documentation for conformity with the hardware and software
described. Nevertheless, discrepancies cannot be precluded, for which reason we are not able to
guarantee total conformity. The information in this documentation is checked on a regular basis, how-
ever, and necessary corrections will be incorporated in the subsequent edition.
Subject to technical alterations without an effect on the function.
Translation of the original documentation
KIM-PS5-DOC
Publication:
Pub KST VisionTech 2.1 (PDF) en
Book structure:
KST VisionTech 2.1 V2.1
Version:
KST VisionTech 2.1 V2
2 / 131
Issued: 16.01.2014 Version: KST VisionTech 2.1 V2
1283703865.001.png 1283703865.002.png 1283703865.003.png
Contents
Contents
1
Introduction ..................................................................................................
7
1.1
Industrial robot documentation ...................................................................................
7
1.2
Representation of warnings and notes ......................................................................
7
1.3
Trademarks ................................................................................................................
7
1.4
Terms used ................................................................................................................
8
2
Purpose ........................................................................................................
9
2.1
Target group ..............................................................................................................
9
2.2
Intended use ..............................................................................................................
9
3
Product description .....................................................................................
11
3.1
Overview of VisionTech .............................................................................................
11
3.2
Hardware components ...............................................................................................
12
3.2.1
KUKA GigE switch ................................................................................................
12
3.2.2
KUKA MXG20 camera ..........................................................................................
16
3.2.3
Connecting cables ................................................................................................
17
3.2.4
Calibration plates ..................................................................................................
17
4
Technical data ..............................................................................................
19
4.1
KUKA MXG20 camera ...............................................................................................
19
4.2
KUKA GigE switch .....................................................................................................
20
4.3
Connecting cables .....................................................................................................
21
4.3.1
Connecting cables, KR C4 ....................................................................................
21
4.3.2
Connecting cables, KR C4 compact .....................................................................
22
4.4
Dimensions of the camera .........................................................................................
23
4.5
Dimensions of the extension ......................................................................................
24
4.6
Plates and labels ........................................................................................................
24
5
Safety ............................................................................................................
27
5.1
General safety measures ...........................................................................................
27
5.2
Standards and regulations .........................................................................................
27
6
Planning .......................................................................................................
29
6.1
Connecting cables and interfaces ..............................................................................
29
7
Transportation .............................................................................................
31
7.1
Transportation ............................................................................................................
31
8
Installation and licensing ............................................................................
33
8.1
System requirements .................................................................................................
33
8.2
Installing or updating VisionTech ...............................................................................
33
8.3
Uninstalling VisionTech ..............................................................................................
34
8.4
Licensing VisionTech .................................................................................................
34
8.4.1
Activating the license ............................................................................................
34
8.4.2
Repairing the license ............................................................................................
35
8.4.3
Activating an emergency license ..........................................................................
35
9
Start-up and recommissioning ...................................................................
37
9.1
Start-up for a stationary camera - overview ...............................................................
37
Issued: 16.01.2014 Version: KST VisionTech 2.1 V2
3 / 131
1283703865.004.png 1283703865.005.png
KUKA.VisionTech 2.1
9.2
Start-up for moving cameras - overview ....................................................................
37
9.3
Connecting cameras to the robot controller ...............................................................
38
9.3.1
Networking KR C4 with interface X64, stationary .................................................
38
9.3.2
Networking KR C4 with cable inlet, stationary ......................................................
38
9.3.3
Networking KR C4 compact, stationary ................................................................
39
9.3.4
Networking KR C4 with interface X64, robot-guided ............................................
39
9.3.5
Networking KR C4 with cable inlet, robot-guided .................................................
40
9.3.6
Description of the connecting cables ....................................................................
40
9.4
Configuring the Ethernet KRL interface .....................................................................
43
9.5
Configuring the camera network ................................................................................
43
9.6
Configuring cameras .................................................................................................
44
9.7
Aligning camera (stationary) ......................................................................................
45
9.8
Aligning cameras (moving) ........................................................................................
45
9.9
Calibrating camera (stationary) .................................................................................
46
9.9.1
Deleting a calibration plane ..................................................................................
48
9.10
Calibrating cameras (moving) ....................................................................................
48
9.11
Configuring verification of the calibration ...................................................................
49
9.11.1
Configuring the verification task ...........................................................................
50
9.11.2
Determining the reference position .......................................................................
52
10
Configuration ...............................................................................................
55
10.1
Configuring a 2D measurement task - overview ........................................................
55
10.2
Configuring a 3D measurement task - overview ........................................................
55
10.3
Creating a task and taking images (stationary) .........................................................
55
10.4
Creating a task and taking images (moving) .............................................................
56
10.5
Setting up an image processing task in WorkVisual ..................................................
56
10.5.1
Uninstalling the image processing environment ...................................................
57
10.5.2
Installing the image processing environment .......................................................
57
10.5.3
Licensing the image processing environment in WorkVisual ...............................
57
10.5.3.1
Activating the license .......................................................................................
57
10.5.3.2
Repairing the license .......................................................................................
58
10.5.3.3
Activating an emergency license .....................................................................
58
10.5.4
Creating a tool block file in WorkVisual ...............................................................
58
10.6
Configuring a 2D task ................................................................................................
59
10.7
Generating a 2D model .............................................................................................
62
10.7.1
2D model with a stationary camera ......................................................................
62
10.7.2
2D model with a moving camera ..........................................................................
63
10.8
Testing a 2D task .......................................................................................................
64
10.9
Configuring a 3D task ................................................................................................
65
10.10 Generating a 3D model .............................................................................................
67
10.11 Testing a 3D task .......................................................................................................
68
11
Programming ...............................................................................................
71
11.1
Note on programming ................................................................................................
71
11.2
Subprogram VT_INIT ................................................................................................
71
11.3
Subprogram VT_OPENCONNECTION .....................................................................
71
11.4
Subprogram VT_TASKTRIGGER .............................................................................
71
11.5
Subprogram VT_TASKTRIGGER_REFBASE ...........................................................
72
11.6
Subprogram GET_VTRESULT ..................................................................................
72
4 / 131
Issued: 16.01.2014 Version: KST VisionTech 2.1 V2
1283703865.006.png 1283703865.007.png
Contents
11.7
Subprogram GET_VTCORRECTIONFRAME ...........................................................
72
11.7.1
Structure of VTRESULT .......................................................................................
73
11.8
Subprogram VTRESULT_CHECK .............................................................................
73
11.9
Subprogram VT_RESULTCHECK2 ...........................................................................
74
11.10 Subprogram VT_WAIT ...............................................................................................
74
11.11 Subprogram VT_CLOSECONNECTION ...................................................................
75
11.12 Subprogram VT_CLEAR ............................................................................................
75
11.13 Subprogram VT_CHECKPOSELIMIT ........................................................................
75
11.14 Subprogram VT_CHECKPOSE .................................................................................
76
11.14.1
Defining the points on the robot ............................................................................
78
11.15 Subprogram GET_VTUSERDATA .............................................................................
79
11.16 Subprogram DO_GETVTRESULT .............................................................................
79
11.17 Subprogram DO_GETVTRESULTS ..........................................................................
80
11.18 Subprogram VT_DIRECT ..........................................................................................
81
11.19 Subprogram VT_VERIFTRIGGER .............................................................................
81
11.20 Subprogram VT_GETRESULTS ................................................................................
82
11.20.1
Structure of VTVERIFYRESULT ..........................................................................
82
11.21 Subprogram VT_CLEARBUFFER .............................................................................
83
12
Example programs ......................................................................................
85
12.1
Example program for component detection ...............................................................
85
12.2
Example program for verification of the calibration ....................................................
87
13
Messages .....................................................................................................
89
14
Maintenance .................................................................................................
97
14.1
Maintenance symbols ................................................................................................
97
15
Repair ...........................................................................................................
99
15.1
Exchanging the switch ...............................................................................................
99
15.2
Exchanging the camera .............................................................................................
99
15.3
Exchanging the motherboard .....................................................................................
99
16
Troubleshooting ..........................................................................................
101
17
Decommissioning, storage and disposal ..................................................
103
17.1
Decommissioning .......................................................................................................
103
17.2
Storage ......................................................................................................................
103
17.3
Disposal .....................................................................................................................
103
18
Appendix ......................................................................................................
105
18.1
Tightening torques .....................................................................................................
105
18.2
Tool block templates ..................................................................................................
105
18.2.1
LocatePartsKnownPosition ...................................................................................
106
18.2.2
LocatePartsOneStage ..........................................................................................
106
18.2.3
Snippets ................................................................................................................
107
18.2.3.1
LoopLocatedParts ...........................................................................................
107
18.2.3.2
LoopFineLocateParts .......................................................................................
108
18.2.3.3
LoopPickZoneCheck ........................................................................................
109
18.2.3.4
LoopPresenceCheck .......................................................................................
110
18.2.3.5
LocateSingleCircle ...........................................................................................
111
Issued: 16.01.2014 Version: KST VisionTech 2.1 V2
5 / 131
1283703865.008.png 1283703865.009.png
Zgłoś jeśli naruszono regulamin