Hi everyone,
I'm trying to run a simple PTP command to test our robot's functionality, and I'm getting a 2138 error when compiling the code on the KCP that states "Name invalid for this type of constant". The error occurs on line 16: BAS(#PTP_PARAMS,45)
I attached the .src file, the Grasshopper file, and the bas and $config files that are located in our R1 > System folder.
I'm running a KR200-2 (from a GM factory) with a KRC2 controller, and a v1 pendant, with KSS v4.1.6.
Any help is greatly appreciated!
- Dante
Hello Dante,
Try ticking the "Improved Compatibility with older KRC Controllers" box in the Code settings!
That should fix the issue!
Best,
Johannes
Thanks, problem solved!