We are in the process of installing a robot we inherited from a sister company. This robot has a lot of KAREL programs in it. The biggest question I face is how can I view these KAREL programs? Once I am able too is it true that you cant edit them directly as you would a common TP program? I just don't want to use something without knowing more about it, and they are in the TP programs we are about to use. Any additional questions you may have or guidance is much appreciated.
Puzzle?!? KAREL Question
-
Foxtrot2050 -
November 7, 2023 at 8:54 PM -
Thread is marked as Resolved.
-
-
You need the KAREL source code which is a *.KL file. If you don't have the original source file it is not possible to see the code.
PostRE: How to view Karel/.PC logic?
[…]
KAREL is a compiled language and is similar to Pascal. The *.KL source file must be translated into p-code before it can be executed on a robot controller. Once the file ist translated to a *.PC file it is no longer human readable. It is then kind of a "black box". Having the *.KL file is the only way to get an insight into the source code.DS186July 6, 2023 at 11:16 PM -
You need the KAREL source code which is a *.KL file. If you don't have the original source file it is not possible to see the code.
PostRE: How to view Karel/.PC logic?
[…]
KAREL is a compiled language and is similar to Pascal. The *.KL source file must be translated into p-code before it can be executed on a robot controller. Once the file ist translated to a *.PC file it is no longer human readable. It is then kind of a "black box". Having the *.KL file is the only way to get an insight into the source code.DS186July 6, 2023 at 11:16 PM So when I see it in the TP and inside the program, where would the source be located?
-
You should ask the programmers from your sister company to provide the *.KL source files. You will only find the compiled *.PC files on your controller.
-
You should ask the programmers from your sister company to provide the *.KL source files. You will only find the compiled *.PC files on your controller.
And depending on how old the controller is, you may not even be able to backup the .pc files.
-
I'll give you some advice scrap them. Save yourself a massive headache and learning curve.