When you have finished your program and checked the simulation for any errors in grasshopper you can then export your file. Furobot will export a .SCRIPT file to the file path where the grasshopper script is located. On the robotcore component click on the file button to grey and then back to green and it will save the latest version of the .SCRIPT to your file path. Load this file onto a USB.
Note : Make sure to use a UNIQUE NAME each time you load to the controller as it will not overwrite the previous file if it has the same name.
Once you have the file on a USB it can be loaded onto the Teach Pendant:
Click on an empty program in the program tab on the left, click on the subtabs “structure” this is where all the commands are. There are basic, advanced, wizards and URCAPS. The .SCRIPT code command is under advance, click on the .SCRIPTCODE button to add it to the program tree.
Figure 3 - Box on the left is the program tree, small box at the top of the image identifies the structure tab that holds all the commands, the smaller bottom box highlights where you can find the .SCRIPTCODE command
When the script command is in the program tree – click on the block and then change from the structure tab to the command tab. This is where we can edit and modify any of our commands. Here we can then use the dropdown box to change from a line of code to a file and this will help us navigate to the USB.
Tip: Always clear any of the previous work as sometimes it will run the old program not load the new one.
Figure 4 - The script code Button - this will be added to the program tree on the left hand side
Figure 5 - What the script code command page looks like. This is set to line where you can add a line of code or in the drop down box change it to a file which opens up a directory to the USB.