Home› Programming
Discussion
Back to discussions page
koyalov
Partner Posts: 7 Apprentice
Offline programming |
2.5K views
|
Answered | |
/ Most recent by Albert
in Programming
|
8 comments |

in Programming
Hallo everyone.I have one question: how you doing offline programming? I mean that I want to do my program on my laptop and after that load it on the robot controller from usb.I find 3 file in program: .txt file, .urp file .script file. I modify .script file with Notepad++,but if I load it on robot it's don't do everythink
If you have created a script function in the .script file you can use the following method :
Add a "BeforeStart" section to your robot program. From here you can add a script file in your BeforeStart section, select "File" and then choose the .script file that you want to use.
When you want to use the function that you have defined in the .script file, you can call the function in the robot program by using a script code, (example : ScriptFunction(). )
Robotiq Integration Coach
[email protected]
1-418-380-2788, option 3
Also, make sure that you are using compatible versions of the simulator and robot polyscope version, ideally you would use the same version so that you have access to the same API at the program level.
The other option is to use another computer as a server and serve that file to the robot for execution.
I want to know about ,how to send a xml rpc request to Polyscope UR3 using java commands..
Is it possible to show some kind of example code?
Thanks in advance
From the robot you simply define your xmlrpc factory and then you simply make procedure calls to the server using dot notation with the functions that you are calling being whatever functions are available on the server.
One common use case is string concatenation. You can pass a set of strings to the server and get back a single string. This is great for combining text with variable data that can then be used in a pop up message to the operator using the script pop up command for instance.
I wrote this blog post with more detailed information:
https://robodk.com/blog/robot-programming-urp/