Universal Robots+

How to use .script file


My question is how can I use a .script file in my URCap? What I mean is that I want to record TCP positions, but it’s much easier using URScript than Java, so I would write a .script file, but I don’t know ho to integraate it into my URCap. Any help is much appreciated.


would it be possible for you to put the needed script lines into the Scriptwriter method in your URCap installation node and call the function in your URCap Program node?

If you want to write the Script-Code in a separate file directly, I would suggest you taking a look at the Script Wrapper URCap example: