Professional Documents
Culture Documents
ABSTRACT: In this paper two robot programming methods will be compared. The two methods are the PC SDK which uses ABB
.NET libraries to communicate with the IRC5 robot controller, the second methods will use the PC Interface option of the IRC5
robot controller.
KEY WORDS: ABB, IRC5, IRB 1600, C#, RAPID, LAN, socket, network, internet, communication.
1. INTRODUCTION
The system contains two IRB 1600 robots and one IRC5
controller from ABB.
The IRC5 is ABBs fifth generation robot controller. Its motion
control technology, TrueMove & QuickMove, is key to the
robots performance in terms of accuracy, speed, cycle-time,
programmability and synchronization with external devices.
27
2. PC SDK
Controllers
ConfigurationDomain
Discovery
EventLogDomain
FileSystemDomain
Hosting
IOSystemDomain
Messaging
MotionDomain
RapidDomain
UserAuthorizationManagement
28
ENDPROC
3. PC INTERFACE
PC Interface is used for communication between the controller
and a PC connected to an Ethernet network, and is required for
some software products from ABB, such as WebWare and
some functionality in RobotStudio.
Figure 7. Illustration of socket communication
29
begin
if Connected then Disconnect;
Host := '192.168.125.1';
Port := 65502;
Connect;
IOHandler.WriteLn('R2_coord');
memo_01.Lines.Add( IOHandler.ReadLn() );
IOHandler.WriteLn('847.92,9.45,749.22');
memo_01.Lines.Add( IOHandler.ReadLn() );
IOHandler.WriteLn('0.701172,0.0135639,0.712714,0.014585')
;
memo_01.Lines.Add( IOHandler.ReadLn() );
IOHandler.WriteLn('0,-1,0,1');
memo_01.Lines.Add( IOHandler.ReadLn() );
memo_01.Lines.Add( IOHandler.ReadLn() );
Disconnect;
end;
except
on E : Exception do
begin
ShowMessage(E.Message);
end;
end;
case 2:
echo "Connection refused\n";
break;
case 1:
echo "Connection accepted\n";
$conn = @socket_accept($socket);
break;
case 0:
echo "Connection timed out\n";
break;
}
if ($conn !== false) {
}
4. CONCLUSIONS
We demonstrated above that the use of the PC Interface
functions to control the IRB 1600 robots, are more versatile
than using the PC SDK. The PC SDK`s most restrictive part is
the need to use the .NET libraries. The .NET libraries can be
used only on Windows platforms and with only few
programming languages while with PC Interface almost any
language can communicate with the robots.
The coordinates for the IRB 1600 robot has to be sent in three
parts because the IRC5 robot controller cannot accept strings
with more than 60 characters.
5. ACKNOWLEDGEMENTS
This work was partially supported by the strategic grant
POSDRU/107/1.5/S/80272, inside POSDRU Romania 20072013 co-financed by the European Social Fund - Investing in
People.
6. REFERENCES
1.
2.
3.
4.
5.
Figure 8. PC application for socket messaging
6.
7.
8.
9.
10.
11.
12.
13.
$socket =
socket_create(AF_INET,SOCK_STREAM,SOL_TCP);
socket_bind($socket,$address,$port);
socket_listen($socket);
echo "Waiting for a connection\n";
$conn = false;
switch(@socket_select($r = array($socket), $w =
array($socket), $e = array($socket), 60)) {
14.
15.
30
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
31
en.wikipedia.org/wiki/Profibus. [Online]
en.wikipedia.org/wiki/PROFINET. [Online]
www.profibus.org. [Online]
www.ob121.com. [Online]
Ganea, M. Maini unelte i sisteme flexibile, Editura
Universitatii din Oradea, ISBN: 978-606-10-0020-3,
(2010).
Ganea,
M. Masini unelte flexibile si echipamente
tehnologice pentru prelucrarea pieselor prismatice,
Editura Universitatii din Oradea, ISBN:978-973-759-884,
(2009).
Ganea, C. Particularitati tehnologice privind prelucrarea
pieselor, Universitatea Tehnica Cluj-Napoca : s.n., (1998).
Andrea, Matta, Design of Advanced Manufacturing
Systems, Torino: Springer, ISBN-10 1-4020-2930-6 200,
(2005).
Altintas, Y. Manufacturing Automation, s.l. : Cambridge
University Press, ISBM:0-521-65973-6, (2000).
Barabas T., Vesselenyi T. Maini unelte i aggregate,
Editura Universitatii din Oradea, (1997).
Abrudan, I. Sisteme flexibile de fabricatie. Concepte de
proiectare si management, Editura Dacia, (1996).