Welcome, Guest. Please login or register.
Did you miss your activation email?
February 09, 2012, 06:53:46 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)
| | |-+  Connect IRC5 to PLC and exchange data in real time...what am I missing?
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Connect IRC5 to PLC and exchange data in real time...what am I missing?  (Read 700 times)
foilman8
Guest
« on: March 02, 2010, 02:28:09 AM »

 
I am a 30-year PLC programmer, working with a 10-year robot programmer.
We are really stuck, attempting to marry a PLC (Rockwell) to an IRC5/IRB360.
The data connection is fieldbus (DeviceNet).
What appears to be happening is that the data is not properly in time with each end.
The robot appears to be answering questions about future events sometimes, and present events sometimes.
As you might expect, this drives the PLC nuts.

So, the question is:
How can data exchange with an external device be synchronized in real time, so as to avoid all this 'future thinking' that the ABB seems to be doing?  We simply can't be the first people to do this!

Oh, BTW, this is a highspeed picking application, so milliseconds matter, and are the reason we need to exchange data in the first place.

Thanks in advance.
Logged
Fabian Munoz
Global Moderator
*****
Offline Offline

Gender: Male
Posts: 862


Uruguay Campeon de America 2011 !!!!!!!!!!


« Reply #1 on: March 02, 2010, 02:49:43 AM »

Hi:

I dont know how or what kind of data you're sending BUT is this transfering done while the robot is moving ?

You know robots are smarter now and they read ahead, can you as a test run the robot slower and see what happens OR make the zone points FINE so the robot has to pay more attention to the encoder than the communication.

I dont know if ABB has a parameter to force the robot to process one step at a time

That same issue happened to me before and the way I fixed it (your robot programmer is going to hate me) is to read twice and compare, basically loop the communication until robot confirms itself.

I hate milliseconds !!!!!
Logged

somar
luetin
Jr. Member
**
Offline Offline

Posts: 93


« Reply #2 on: March 02, 2010, 06:32:15 AM »

Yeah, try fine points like Somar said and if that works you can exchange those to MoveLSync/MoveJSync to speed things up.
I usually put communication tasks in a background task as well if doing pick and place applications.

If those suggestions don't work I think we need to see some code to help further.
Logged
RobotBoy
Newbie
*
Offline Offline

Posts: 7


« Reply #3 on: March 02, 2010, 09:49:26 AM »

It might be a good idea to also post this question in the ABB RobotStudio forum. That forum also deals with other ABB Software issues like RobotWare & PickMaster. I know the ABB experts monitor this one quite closely.

You need the Robot Controller/RobotWare section at the link below
http://www.robotstudio.com/forum/default.asp
Logged
tony gast
Hero Member
*****
Offline Offline

Gender: Male
Posts: 700


Can I barrow a cup of robots?


« Reply #4 on: March 02, 2010, 05:24:39 PM »

I had an IRC5 talking to 8 PLCs and had timing issues that I only was able to resolve by using "ECHO" loops to send info ....... DO UNTIL the echo matched the sent. also watch the cpu usage while looping....some times this made the IRC unstable.....
Logged

Oh, well
Fabian Munoz
Global Moderator
*****
Offline Offline

Gender: Male
Posts: 862


Uruguay Campeon de America 2011 !!!!!!!!!!


« Reply #5 on: March 02, 2010, 06:00:29 PM »

This is interesting, everybody is trying to make very fast motherboards and We, the robots programmers, are doing the imposible to slow them down using software
Logged

somar
foilman8
Guest
« Reply #6 on: March 04, 2010, 01:34:50 AM »

Actually, the hardest part is not having a real-time tool to datalog variables.
The robot guy wrote a 'write raw data to a line of text in a text file' function, and I used a Trend feature in the PLC...and then we played like real geeks, comparing our excel spreadsheets.
It actually worked, but is a little funky, since the PLC time stamp is in milliseconds, and the IRC 5 is in microseconds.
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!