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.4K RobotStudio
- 384 UpFeed
- 14 Tutorials
- 12 RobotApps
- 291 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 247 ScreenMaker
- 2.7K Robot Controller
- 279 IRC5
- 46 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 736 RAPID Programming
- 15 Wizard Easy Programming
- 105 Collaborative Robots
- 3 Job listings