KST RSI 23 en
KST RSI 23 en
KST RSI 23 en
KUKA.RobotSensorInterface 2.3
For KUKA System Software 5.4, 5.5, 5.6, 7.0
Issued: 13.05.2009
KUKA.RobotSensorInterface 2.3
Copyright 2009 KUKA Roboter GmbH Zugspitzstrae 140 D-86165 Augsburg Germany This documentation or excerpts therefrom may not be reproduced or disclosed to third parties without the express permission of the 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, however, and necessary corrections will be incorporated in the subsequent edition. Subject to technical alterations without an effect on the function. Translation of the original operating instructions KIM-PS5-DOC
Publication: Label:
2 / 85
Contents
Contents
1
1.1 1.2 1.3 1.4 1.5
Introduction ..................................................................................................
Target group .............................................................................................................. Robot system documentation .................................................................................... Representation of warnings and notes ...................................................................... Trademarks ................................................................................................................ Terms used ................................................................................................................
5
5 5 5 5 6
2
2.1 2.2 2.3 2.3.1 2.3.2
7
7 8 9 9 9
3 4
4.1 4.1.1 4.2 4.2.1 4.2.2 4.3
11 13
13 14 14 15 15 15
5
5.1 5.2 5.3 5.4
Configuration ...............................................................................................
Units for signal processing ......................................................................................... Creating a new unit .................................................................................................... Configuring the RSI message display ........................................................................ Reconfiguring KRL resources ....................................................................................
17
17 18 19 19
6
6.1 6.1.1 6.1.2 6.1.3 6.1.4 6.1.5 6.1.6 6.1.7 6.1.8 6.1.9 6.2 6.2.1 6.2.2 6.2.3 6.2.4 6.2.5 6.2.6
Programming ...............................................................................................
Programming overview signal processing .............................................................. Declaring variables ............................................................................................... Creating RSI objects and containers .................................................................... Linking signals ...................................................................................................... Reading / setting object parameters ..................................................................... Activating/deactivating RSI objects or containers ................................................. Deleting RSI objects or containers ....................................................................... Overview of RSI motions ...................................................................................... Programming an RSI motion ................................................................................ Activating / deactivating signal processing ........................................................... Programming overview data exchange via Ethernet .............................................. Structure of the configuration file .......................................................................... Creating ST_ETHERNET ..................................................................................... Object parameters of ST_ETHERNET ................................................................. Communication parameters of ST_ETHERNET ................................................... Object inputs of ST_ETHERNET .......................................................................... Activating the internal read function ......................................................................
21
21 22 22 24 25 25 26 26 29 29 31 32 32 33 35 35 37
3 / 85
KUKA.RobotSensorInterface 2.3
6.2.7 6.2.8
Object outputs of ST_ETHERNET ....................................................................... Activating the internal write function .....................................................................
38 40
7
7.1 7.2 7.3 7.4 7.5 7.6 7.7 7.7.1 7.7.2 7.7.3 7.7.4
Example ........................................................................................................
Example program for RSI motions ............................................................................ Example program for sensor-guided motion ............................................................. Example program for path correction ........................................................................ Example program for adapting the maximum path correction ................................... Example program for transformation ......................................................................... Example of a sensor application ................................................................................ Example application for real-time communication ..................................................... Implementing the example application ................................................................. Server program ServerApplication.exe ................................................................. Configuration file RSIEthernet.xml ....................................................................... KRL program RSIEthernet.src .............................................................................. Structure of the XML string when sending data (KrcData.xml) ............................. Structure of the XML string when importing data (ExternalData.xml) ................... Sample source code C#_ServerApplication.cs ....................................................
43
43 44 45 46 46 50 57 57 58 60 60 60 62 64
8
8.1 8.2 8.2.1 8.2.2 8.2.3 8.2.4 8.2.5 8.2.6 8.2.7 8.3 8.3.1 8.3.2 8.4 8.5
Diagnosis ......................................................................................................
Overview of diagnosis ............................................................................................... Overview of signal display ......................................................................................... RSI monitor .......................................................................................................... Installing KUKA.Router ......................................................................................... Configuring KUKA.Router ..................................................................................... Configuring RSI monitor ....................................................................................... Displaying signals on the robot controller ............................................................. Displaying signals on external PC ........................................................................ Example program for displaying signals ............................................................... Overview of RSI information output on Telnet and/or in a LOG file .......................... Configuring filters for information output ............................................................... Opening Telnet ..................................................................................................... Displaying the IP address .......................................................................................... Checking communication via VxWorks .....................................................................
65
65 65 65 66 66 67 69 69 70 71 72 73 73 73
9
9.1
Messages ......................................................................................................
Error messages .........................................................................................................
75
75
10
77
77 77
Index .............................................................................................................
83
4 / 85
1. Introduction
1
1.1
Introduction
Target group
This documentation is aimed at users with the following knowledge and skills: