Hi! I'm a newbie and I have the possibility to make some practice an a KR16 - KRC1 standalone Robot. What i'm doing is to make programs offline to learn the KRL language than trasfer them into the robot. Wich is the fastest way to do it? Because for any changes I have to tranfer the .SRC .DAT files and than reboot the machine. Is there another workflow to edit the program offline and tranfer is to the machine to see it running? I'm connected to the Robot via the ethernet port behind the teach pendant.
BETTER WORKFLOW EDIT OFFLINE THAN TRASFER CHANGES KRC1
-
IlFincoITA -
March 14, 2013 at 9:10 AM -
Thread is marked as Resolved.
-
-
Hi,
what you can do:
transfer your programs to a transfer directory on the robt control
switch to expert mode
copy the programs from the transfer directory
paste them into the R1 directory of the robot control (this must be done within the BOF)regards MOM
-
Briefly: on the KRC1 and KRC2, when you look at the Navigator/Explorer display, the directory /R1 where the /PowerOn and /Programs directories reside is actually a virtual RAMdrive. This drive is not accessible via the network.
However, when you log in as Expert, the robot's actual hard drives will become visible in the Navigator display on the KCP.
So, the way I have usually done this in the past is:
Create a new "transfer" directory on the D:\ drive (generally avoid doing things like this to the C:\ drive).
Make the transfer directory read/write accessible from the network.
Write/edit my programs on a remote computer using my favorite ASCII text editor.
Push them to the Transfer directory.
Go to the KCP, log in as Expert, and navigate to the Transfer directory.
Select the program files and use EDIT>COPY.
Go to the /R1/PowerOn or /R1/Programs directory (it varies depending on the age of the robot), and use EDIT>PASTE.
When the Paste is performed, the compiler will perform a first-pass check for syntax errors and other obvious bugs. Some more subtle errors will only reveal themselves when you run the program, however. -
Thanks a lot guys! It works great... to me it is to difficult edit programs with BOF. I'm using OrangeEdit or Notepad++
Another issue... if possible. When I select a program sometimes it says that it is incorrect... (it contain some sintax errors for example). Is there a way to find these errors. I mean the KRC1 compiler has some tools to do it?
Thanks a lot for your help...
-
Hm... it's been quite a while since I used a KRC1, but if I recall correctly, a compile failure would produce a .err file for that module (so you would have three files with the same name: ModuleName.SRC, ModuleName.DAT, and ModuleName.ERR). The .ERR file should have the details of the syntax errors, although it can be a bit cryptic. Also, you have to be careful of the line numbers -- the .ERR file will number lines the same way that NotePad++ would, but that's not quite the way the line numbering works on the KCP display, given how Folds work.
-
what version of KRC1 is it because iirc they changed the whole ram deal halfway thru. I remember a customer i was working with was all confused because they would make changes and then after rebooting the robot it didnt take. later on they had the software updated and it worked correctly.
-
Well here there is a very old version 2.2.8 patch P maybe the oldes version i ever seen. Aniway the above procedure seem to work for me. More updates today...
Thanks a lot. -
OK i'm convinced that all this walkaraund is too tricky. Even when you send the program the .err file is generated into the RAM so new errors files are not accessable from the LAN. I'm forced to use the BOF. I will let this and the editor process for major changes or for the first drafting of the program when you have a lot of things to write...
-
Remember, as mentioned, you need to load/save the files as with older versions of KSS the files are held in RAM and not read off the disc.
Sent using Tapatalk 2.