KL LS Translation
KL LS Translation
First of all, you need to make sure that you have a virtual robot that has the same options
loaded as the one you want to transfer the translated .PC / .TP files
For this you have the utility called FRAddRobot.exe which is located in
PATH_TO_ROBOGUIDE\FANUC\Shared\Utilities.
Select Virtual robot and choose the workcell (Browse) path for that robot and click Add.
If you do not have a workcell you can create a new robot from an FTP backup taken
before. Just follow the steps below:
a) Click Create.
b) A new window will appear. Select a new virtual robot and From a backup.
c) Click Next and go to your backup directory and select it.
d) Select the options for your virtual robot.
e) Click Finish.
You will now have a robot in the Robot Neighborhood.
Make a new directory which will be your working directory. Copy setrobot.exe, ktrans.exe and
maketp.exe from C:\Program Files\FANUC\WinOLPC\bin to your new directory. Copy
the .kl files and .ls files to that directory also.
Open a new command prompt (cmd) and go to your directory (cd, cd.. etc..).
Call setrobot.exe for making the robot.ini which is a configuration file. When setrobot is called
a new window will appear and you have to select the desired virtual robot. After you have
robot.ini you can use ktrans and maketp for translating the source code.
1. Translate .KL files to .PC
Usage: ktrans infile.kl outfile.pc
If no outfile.pc is specified the default will be infile.pc.
Transfer the file using FTP or MC to the robot and load it.
2. Translate .LS file to .TP
Usage: maketp infile.ls outfile.tp
Note! Your virtual robot has to have the same options loaded as you are using in your
code.