Copying .PC files

  • I'm trying to run a program in ROBOguide and keep getting a "Call fail" program does not exist.


    I serialized the robot off a recent backup. The .VR files of the programs I need are there but the .PC versions are not. Did I miss a step?


    Also, I went out the controller (R30ia) and tried to "PRINT" or "COPY" that .PC file to UD1 just to grab it real quick and it says "invaild program selected". Can you not copy them that way?

    &quot;This is one of those industries where the tech level is very high and so are the expectations of our customers(Bosses).&quot; ---&nbsp; RacerMike123<br /><br />R2000ib-165F - R30iA

  • CALL MOVEAWAY


    The name is there in the main program but the moveaway.pc is missing. the .vr is there though. And this is off of a backup all.


    I got it working with some old copies of the files I needed from our implementation company. But I want to know how to do it should this come up in the future.

    &quot;This is one of those industries where the tech level is very high and so are the expectations of our customers(Bosses).&quot; ---&nbsp; RacerMike123<br /><br />R2000ib-165F - R30iA

  • Unfortunatly this is a problem with Karel. If you don't get the copies of the PC and KL files you could be in trouble.
    What machine was the back up from and can you get the files from your integrator?
    I don't program with Karel so I really can't offer you any real help.

  • I only have 1 bot. I added it in my forum sig because I know I will forget to mention it one of these times.


    I have all the files now. And they are on the controller itself. Its just that I did a "BACKUP ALL" and serialized my simulated robot in roboguide and the .pc's weren't there. Hope that makes sense?


    I do have all the files now. I'm just trying to figure out how to pull all those .PC files I need off the controller with a backup so everything runs smooth when I make workcells on the computer. Would these be in an IMAGE backup and can you load and IMAGE in ROBOGUIDE?

    &quot;This is one of those industries where the tech level is very high and so are the expectations of our customers(Bosses).&quot; ---&nbsp; RacerMike123<br /><br />R2000ib-165F - R30iA

  • A FILE > Backup All should save all your KAREL PC files just fine. My guess is it was an issue with the ROBOGUIDE serialization from backup process. You can check this by simply verifying the PC files exist in the backup you took from the physical robot.


    If there is an issue with ROBOGUIDE, you may just have to manually load the PC files after your workcell is created as an extra step.


    You cannot create a ROBOGUIDE workcell from an image backup, and I'm also fairly certain you can't do an image backup restore in ROBOGUIDE either.

  • the .PC files in question are NOT in the backup.


    Could this be a write protection issue? The FILE > BACKUP has several .PC's in it. Just some are missing but the .VR's are there.

    &quot;This is one of those industries where the tech level is very high and so are the expectations of our customers(Bosses).&quot; ---&nbsp; RacerMike123<br /><br />R2000ib-165F - R30iA

  • I've never had a problem backing up the KAREL translated binary PC files. The .KL source files will generally not be present on the robot, and I'm pretty sure you can't upload them to MD:, so they will not come down in a file backup.


    Creating a simulation from an image must be a new feature... glad to hear it's been added.

  • I guess I could be wrong. Let me say it like this. I have never been able to backup these types of files. There may be certian software versions and different configurstions where you may be able to. If you can, please share your specific configs so we can learn something :yesyesyes:

  • From my experience, when a karel program is loaded (different from copied), it goes into the robots operating memory in a sort of inflated manner. What i'm trying to say is that the file doesn't get copied into , say, FR:, MD: RD: etc...it gets loaded into the operating memory portion of the robot. The .vr file is created at the time you run the .PC program. This 'is' an actual file that can be copied, but the .pc file may have never been copied, only loaded. If you don't have the .KL source file, then this program can never be modified or recreated into a PC file. If you don't have a physical copy of the PC file, then you never will get it from the robot. As standard practice, we ALWAYS keep a local copy of the .PC and corresponding .KL file on the robot. We feel that unless it was a proprietary , turn-key project, and if the customer paid for the software engineering time..its theirs and they can do what they need to with it.

  • You can get all the*.PC files from the robot. You just need to have an image backup. FROM Image backup is a just an archive which can be unziped.


    1. Take an image backup

    2. All FROM files rename like:

    FROM00.IMG -> FROM.7z.001

    FROM01.IMG -> FROM.7z.002

    and so on.

    3. You can now unzip the FROM and inside you will find the directory OS\FRS\ here you can find all the *.PC files


    Yet I didn't discovered how to get into SRAM files because this is not an archive. If somebody found a way I would appreciate if he could share the knwoledge.


    If you want to load the PC into FRS of a robot you can create a command file:

    example: LOAD_MYPCFILE.CM


    FRCLRPR

    FRCOPY .\DIR_WHERE_PC_FILE_IS\MYPCFILE.PC frs:MYPCFILE.pc

    PCLOAD FRS:MYPCFILE

    PRINT "MYPCFILE file is loaded"

  • Which program did you use to unzip the files?

    The FROMxx.IMG aren't an archive. They are just a 1:1 image of the robot internal FROM that's arranged like a harddisk. You can copy all those files to one great file. Then mount it on a linux system as FAT drive, or you can use an imager to write it to an usb stick.

    May be you used an unzipper that can handle images :hmmm:

  • Nope, tried with 7zip (my highly preferred zipper, and nearly the only one I use) , doesn't work. But as said, handling it as drive image works. A very long time ago someone described that already here in the forum.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account
Sign up for a new account in our community. It's easy!
Register a new account
Sign in
Already have an account? Sign in here.
Sign in Now