Welcome, Guest. Please login or register.
Did you miss your activation email?
May 22, 2012, 05:04:34 AM
Home Help Login Register
News: Any Problems or Experience with Industrial Robots ?
Register and place your Question / Answer to worldwide Robotexperts right here !

+  Robotforum | Support for Robotprogrammer and Users
|-+  Industrial Robot Help and Discussion Center
| |-+  ABB Robot Forum (Moderators: Werner Hampel, Sven Weyer, Jim Tyrer, Napierian)
| | |-+  Help on Rapid
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Help on Rapid  (Read 1656 times)
aminabadi
Guest
« on: August 05, 2008, 01:26:36 PM »

Hi

I have a problem with rapid language. I want to make relation between labview and this language for a subject.

Or if there is any other software like Matlab I can make relation between it by rapid.
Logged
Zoli
Guest
« Reply #1 on: October 30, 2010, 12:01:26 PM »

Hi, everyone!

My question is the same as the one above. I would like to control an ABB IRB 120 robot with an IRC 5 Controller using LabVIEW. The preferable connection would be a serial line. I have problems witch the basic understanding of the process. Is it possible to control the robot only with LabVIEW or should I program the robot using a RAPID editor and then send this RAPID code via LabVIEW to the controller?
If you could help in that or just say a few words how you controlled your ABB robot I would thank you for that.

Zoli
Logged
ABB robter
Sr. Member
****
Offline Offline

Gender: Male
Posts: 267


« Reply #2 on: November 01, 2010, 04:16:32 AM »

I am not familiar with labview but I assume that it generates positions that you want the robot to follow. You can read serial data via com1 and write it to pos data.

EXAMPLE

VAR string value1

pers pos trans_pos

VAR bool ok;

open "sio1:",channel\Read;
!!tell PLC Ok to send translational data

value1 := ReadStr(channel);

close "sio1:"

!!tell PLC info was sent

!!If type1 string is correct continue or signal PLC that wrong info send and then retry

ok := StrToVal(value1, trans_pos);
!!if 'ok' false error occured and retry




SETUP OF THE SERIAL NULL MODEL CABLE COMUNICATIONS

BAUD       9600
Data Bits    8
Parity      None
Stop Bits   1
Flow Control   None

String consists of ASCII caracters
End of string should have a Line Feed character
   EX. string<LF>
Logged
Zoli
Guest
« Reply #3 on: November 01, 2010, 01:43:02 PM »

Thanks for the answer, yes LabVIEW is mainly for having a User Interface and to create the positions I want my robot to follow. I think I have to write these positions into a txt file, then read this file with a RAPID editor and then send the RAPID code to the controller using your code for example. Correct me if i'm wrong.

Another question: I can edit RAPID codes with PSPad editor and now I would like to debug it to see whether my code is ok or not. Do you know a compiler or smthg to do that?
Logged
charon.82
Newbie
*
Offline Offline

Gender: Male
Posts: 35


« Reply #4 on: November 01, 2010, 02:41:23 PM »

Hi,

You can use RobotStudio for syntax check of your RAPID code. It can be downloaded from robotstudio community page. First month is free of charge.(evaluation period)

BR.
Logged

Erdem
Zoli
Guest
« Reply #5 on: November 02, 2010, 12:52:54 PM »

Thanks I have been using that but my license ended. Now I have found another programme, called robEdit which can check syntaxes.
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!