Impossible to test program?
JonasC
✭
Hello,
I'm a student from Belgium and got an assignment to make a program in the RAPID programming environment.
Part of this program has to measure the height of an object.
We do this by hovering over the object and then lowering the arm until a sensor that is mounted to the robot reads a distance below 40mm.
So i made said program (attached below) and wanted to see if i could make sure it was going to work when i get to test it on the robot itself.
This is however were the fun begins. If i just open the program and check it for syntax errors in RAPID it says its all good.
If i then try and simulate said program it will start giving me an error at line 29 around the first "test teller" part.
I was wondering if this was because as far as i'm aware there's no way to simulate the sensor to measure the distance at the end of the robot (or at least not achievable within a reasonable amount of time).
And because the sensor will never be simulated it will stay in the loop forever and that is what is really causing the error.
I would love to know why you guys think i'm getting this error.
Greetings,
Jonas
I'm a student from Belgium and got an assignment to make a program in the RAPID programming environment.
Part of this program has to measure the height of an object.
We do this by hovering over the object and then lowering the arm until a sensor that is mounted to the robot reads a distance below 40mm.
So i made said program (attached below) and wanted to see if i could make sure it was going to work when i get to test it on the robot itself.
This is however were the fun begins. If i just open the program and check it for syntax errors in RAPID it says its all good.
If i then try and simulate said program it will start giving me an error at line 29 around the first "test teller" part.
I was wondering if this was because as far as i'm aware there's no way to simulate the sensor to measure the distance at the end of the robot (or at least not achievable within a reasonable amount of time).
And because the sensor will never be simulated it will stay in the loop forever and that is what is really causing the error.
I would love to know why you guys think i'm getting this error.
Greetings,
Jonas
0
Comments
-
Hi, just remove your comments inside both Test instructions.0
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)
- 799 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings