Welcome, Guest. Please login or register.
Did you miss your activation email?
February 09, 2012, 04:10: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)
| | |-+  Monitoring robot position in IRC5 (with Multitasking)
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Monitoring robot position in IRC5 (with Multitasking)  (Read 399 times)
raulrbs
Newbie
*
Offline Offline

Posts: 2


« on: September 01, 2010, 12:23:47 AM »

Hello.
I want to set an output whenever the robot is at certain positon. I can't use WorldZones  because I will use more than 20 zones (20 outputs).

So I don't know if I can use a SemiStatic Background Task that continually gets the position by cPos or cRobT, and then compare it to some position constants. If the position is within a desired limit, then set an output.

Is this possible or am I missing something? Any ideas?

Thanks for your help.

Raul R.
Logged
luetin
Jr. Member
**
Offline Offline

Posts: 93


« Reply #1 on: September 01, 2010, 06:47:10 AM »

That could work, but I don't know how accurate it would be, you'll have to test that. CPU load could probably be pretty high as well if you do the position check often.

Can you set position flags in the main program instead? Like position:="zone1" and then just monitor that variable from a background task and set outputs accordingly?

Logged
SkyeFire
Global Moderator
*****
Offline Offline

Posts: 1627


« Reply #2 on: September 01, 2010, 05:17:29 PM »

I've tried something slightly similar to that in the past, but it didn't work too well -- CPos() and CRobT() seem to be vulnerable to the path planner look-ahead if you're trying to capture positioning on the fly.  However, I did not pursue the matter very far, so there may well be a solution. 
Logged
Midwest Tech
Full Member
***
Offline Offline

Posts: 128


Did you RTFM?


« Reply #3 on: September 01, 2010, 09:59:58 PM »

Does the output have to be set even if you're jogging the robot? If not, I would think MoveLDO/MoveJDO would work well for setting outputs while the program is running.
Logged

raulrbs
Newbie
*
Offline Offline

Posts: 2


« Reply #4 on: September 02, 2010, 04:28:58 PM »

Thank you very much for your help.

I don't have the system right now, so I can't test anything. But at least I want to have many ways to attack the problem.
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!