Writing a program but not on the Cobot

Hi, is it possible to write a program using something other than the Cobot or a Virtual Machine?

Can I write in a text file and then transfer it to the Cobot to run?
I have to write a program that requires a lot of copying and pasting of large large sections of code.

Thanks.

Yes, you can access the controller files via SFTP. Then you have two ways to do it:

  • Either you generate a URScript file (.script file) that you overwrite on the controller and you have a static .urp program that calls this script file (node code)
  • Or you generate dynamically a .urp file, but you need a library able to compile this format (for example this one)