Bugs in Smart Components?
pplg
✭
Hello everyone,
This is my first post here and I'm new at RobotStudio. I'm facing some trouble when starting and stopping the simulation using smart components. At first everything works fine and it's all behaving "logically correct" but at some point (maybe if I stop it, back and play again) I start seeing some smart components not acting as supposed to (receiving "1" at Execute but not executing, etc.). It feels like a bug or something but it's weird. I usually force their signals manually and after stopping and starting again it works fine. It's a little bit frustrating because that way I can not trust the logic to work when designing.
May I be doing something wrong? Is there any way to completely reset all the smart components or the entire NET just after "Play" from simulation?
Thanks in advance!
This is an example of the "Bug":
This is my first post here and I'm new at RobotStudio. I'm facing some trouble when starting and stopping the simulation using smart components. At first everything works fine and it's all behaving "logically correct" but at some point (maybe if I stop it, back and play again) I start seeing some smart components not acting as supposed to (receiving "1" at Execute but not executing, etc.). It feels like a bug or something but it's weird. I usually force their signals manually and after stopping and starting again it works fine. It's a little bit frustrating because that way I can not trust the logic to work when designing.
May I be doing something wrong? Is there any way to completely reset all the smart components or the entire NET just after "Play" from simulation?
Thanks in advance!
This is an example of the "Bug":
Post edited by pplg on
0
Comments
-
You can save the simulation state in simulation logic as below.
In simulation setup you can choose which saved state to us reset to upon starting a simulation.
You can also manual reset to a saved state using the arrow below the reset button.
All accessed from the simulation tab to the left hand side - as shown below.
0 -
Hey there,
Thank you for your quick reply! Althought it helps, I have already found another way to solve that problem. By default all sensor have its "Active" input set to "1". I created a "SimulationEvent" and a"LogicSRLatch" smart component and what I ended up doing was triggering the "set" with "play" and the "reset" with "stop". Then the output of the "LogicSRLatch" is what activates ALL the sensors used. This way only when I start the simulation all the sensors get activated and the system is "refreshed", so to say.
Hope it helps anyone. Thanks again!
0
Categories
- All Categories
- 5.5K RobotStudio
- 395 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings