Velset in background task
Hello,
I'm trying to make a background task which modifies the max speed using Velset by a variable sent via devicenet from a PLC.
I'm really trying everything i can but i can't find the way to do that.
Can anyone help, please?
I'm trying to make a background task which modifies the max speed using Velset by a variable sent via devicenet from a PLC.
I'm really trying everything i can but i can't find the way to do that.
Can anyone help, please?
0
Comments
-
This is the error I get. I guess I should configure the background task to control mechanical units, but I don't know how
0 -
Try setting it up like this, using SpeedRefresh
0 -
But where should i place that code? In a Motion task? In a semistatic task? How do I execute that Trap function?0
-
Study the Technical Reference Manual - Rapid Instructions, Functions and Data
Here is the page for SpeedRefresh
As you can see, it states "This Instruction can only be used in the main task T_ROB1 or, if in a MultiMove system, in any Motion tasks."0 -
Thanks, I'll work on it. By the way, the robotware I'm using is older than this one, I'm using 5.07 since I need it to program an old robot0
-
Looks like using this way I can't make it work like I would like to. I would like to set a % speed at anytime from PLC whenever I want, whatever the program is.
I've seen the console has an option to set a % speed. Is there anyway to write into that address via devicenet? (I have a PLC connected to the controller by devicenet).
Also a good alternative would be to activate or deactivate the variable SpeedLimit, which I already have it linked to a PLC variable. But I'd rather modify speed with different valors, not only one (like SpeedLimit).0 -
LimitSpeed was introduced in RobotWare 5.15, so it wouldn't work if you have 5.071
-
Update the robotware.Lee Justice1
-
Yes, I guess updating the real robot RW would be the best. Is there any limit or problem for updating it?
The robot is an IRB660 and controller is IRC5 M2004.
Also I should mention every test i did on robotstudio was using robotware 5.160 -
Since you are using 5.07 I would guess that the main CPU is the older type. It will not take the newest RW, but you ought to be able to go to 5.16.Lee Justice0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 801 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings