Welcome, Guest. Please login or register.
Did you miss your activation email?
November 21, 2008, 11:09:19 PM
Home Help Search Calendar Login Register
News: Any Problems or Experience with Industrial Robots ?
Register and place your Question to worldwide Robotexperts right here !

+  Robotforum | Support for Robotprogrammer and Users
|-+  Robot Help and Discussion Center
| |-+  Fanuc Robots (Moderators: Sven Weyer, Jim Tyrer)
| | |-+  Robot moving system variable
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Robot moving system variable  (Read 369 times)
asimo
Full Member
***
Offline Offline

Posts: 166


« on: September 22, 2008, 10:22:19 PM »

Does anybody knows if there is a system variable or something else which could tell me that the robot is moving? The best that I've come up with is by using UO[3: Prg running], but I can only detect when a program is running. I want to be able to detect when the robot is moving (in a program or by jogging it with the teach pendant).

Thanks.
Logged
regaleira
Newbie
*
Offline Offline

Posts: 34


« Reply #1 on: September 26, 2008, 03:27:52 AM »

The best way to see if the Robot is moving is by looking at it biggrins lol
Logged
Professor_J
Jr. Member
**
Offline Offline

Gender: Male
Posts: 76



« Reply #2 on: October 01, 2008, 02:00:15 AM »

I imagine there would be a system variable that could be used to signal when the robot is moving... I'm not sure which one though....

However one that might be useful is the variable $WAIT_ACTIVE .... If this variable is false and the "Program Running" output is on, then the robot must be doing something other that waiting for an input etc, so presumably it's moving? Probably depends on your program/application.. But if all your robot does when it's running is wait or move, then this will probably do the trick..

This obviously won't help you detect jogging..
« Last Edit: October 01, 2008, 02:02:02 AM by Professor_J » Logged
asimo
Full Member
***
Offline Offline

Posts: 166


« Reply #3 on: October 01, 2008, 02:14:09 AM »

Thank you for your answer Professor_J. But I would really like to know if a program is running as well as if somebody is jogging it, so every case where the robot is moving even if the solution is a combination of variables.
Logged
stefanm
Newbie
*
Offline Offline

Posts: 32


« Reply #4 on: October 01, 2008, 03:08:19 PM »


$pro_move, it is also true while jog.

Edit: wrong robot - actually kuka
« Last Edit: October 01, 2008, 03:12:34 PM by stefanm » Logged
asimo
Full Member
***
Offline Offline

Posts: 166


« Reply #5 on: October 02, 2008, 01:49:27 AM »

Hahaha, this is actually what I am using also for a Kuka robot. So I can ask my question the other way: is there a variable like the Kuka $PRO_MOVE with FANUC which tells if the robot is moving?
Logged
murrellr
Newbie
*
Offline Offline

Posts: 42



« Reply #6 on: October 02, 2008, 05:13:15 PM »

This is some really obscure information that took me some time to find the expert.  Look at the system variable $MOR_GRP
  • .$FILTER_EMPT, where 'x' is the group number.  If this goes FALSE, then the robot is moving.  I don't know how far back version-wise this variable exists.  I know it is in V7.xx.
Logged

The future isn't what it used to be.
murrellr
Newbie
*
Offline Offline

Posts: 42



« Reply #7 on: October 02, 2008, 07:01:31 PM »

That should be '$MOR_GRP left-bracket x right-bracket.$FILTER_EMPT'.  I'm not sure how to escape the bracket symbol.
Logged

The future isn't what it used to be.
asimo
Full Member
***
Offline Offline

Posts: 166


« Reply #8 on: October 02, 2008, 07:31:50 PM »

Thanks a lot murrellr, I will try it and let you know if this works.

Note: To use brackets, the only way I found is to put a space character before and after the variable, like this: [ x ]
Logged
asimo
Full Member
***
Offline Offline

Posts: 166


« Reply #9 on: October 07, 2008, 01:33:21 AM »

Thank you murrellr, it is working!
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.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!