I am reading through backed-up LS program files written by someone else in the past. I am using this as a guide, since I am setting up a new robot for similar tasks.
I am trying to figure out these calls:
"`
CALL FCMPSTRT(1,1,200) ;
.
.
CALL FCMPEND ;
"`
When I look in the backup of the old example robot, I do not see these files included in the backup. However, I do see reference to them in the prgstate.dg file:
"`
FCMPSTRT PC
Program name: PCMPSTRT
Source file: PRODUCT\CLLB\FCMPSTRT.PC
"`
In the backup from the old example robot, the only file appearing in the CLLB directory is CRDATA1.VR
When I look in the brand new out-of-the-box robot, I see that FCMPSTRT.PC and FCMPEND.PC files already exist by default, as they are listed when I press the SELECT key on the teach pendant. However, these .PC files don't get included when I do a file backup of the controller. Although the prgstate.dg file on the new controller does make mention of them, too. I set up an FTP connection to the controller and I can access many of the files, but these .PC files don't appear there either. I have not purchased the Karel option, in case that makes a difference.
And even if I could get the .PC files, I doubt I'd be able to decompile them to see what's inside.
It appears that these p-code files come default on these robots, but I don't know whether the versions on the old example robot had been edited or not.
Do any of you know what happens when the default versions of these files are called and what are the meanings of the 3 arguments of FCMPSTRT?
I couldn't find any documentation regarding how or when to use PCMPSTART or PCMPEND. But maybe I've been looking in the wrong places.
Setup:
CRX-10iA robot with R-30iB Mini Plus controller
And thanks to all of you for the many questions and answers posted on this forum. I have learned a lot from you guys.