Execute an string
Hello,
I need an RAPID instruction for execute an string.
For example: EXECUTE "Stop;";
The EXECUTE instruction must interpret the text like an RAPID instruction.
Thanks to all,
Damia
Comments
-
It sounds like you want to use RAPID late binding. You can search the RAPID help for more information, but the general syntax is:
%"routine_x"%;
where the information between the % % can be a string variable or a string literal.
Russell Drown0 -
I guess he (or she?) wants to execute an aribitrary RAPID statement including all parameters and semicolon, like a kind of command line interpreter.
For example: EXECUTE "MoveL rTmp, spd, z0, tool0 WObj:=woTable;"
AFAIK no such instruction exists and the needed functionality is far beyond what late binding can do.
I'am sure you can easily build you own EXECUTE proc like PROC EXECUTE(STRING sCmd)... calling some basic commands, but parsing/analyzing of parameters would be an awful lot of work.
regards, addi
0
Categories
- All Categories
- 5.5K RobotStudio
- 397 UpFeed
- 18 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 319 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 804 RAPID Programming
- 4 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings