I use this library, but when I connect to K-Roset, it shows me login failures. I need help. Thank U.
Does anyone know the Kawasaki Robot Control Class
-
AL9501 -
March 9, 2019 at 2:29 PM -
Thread is marked as Resolved.
-
-
Either in KROSET or the live Controller, always requires a login password which is 'as' (without the accents).
If you are using KROSET, then you have to use:
- IP 127.0.0.1 and Port 9105 (for the 1st Robot)If you are connecting to a live controller you have to use:
- IP (Controller IP) and Port 23 where the default IP is 192.168.0.2 unless different.I have tested it with KROSET, by just creating a project in KROSET with 'any robot' and then using the following code in Visual Studio to create a full controller file save example from the help file you should have with the KRCC:
C#
Display Moreusing System; public class KRccsave { static void Main() { KRcc.Commu com = new KRcc.Commu("TCP as@127.0.0.1 9105"); com.progress = delegate (int val, int total) { Console.WriteLine(val + " / " + total); }; com.asInquiry = delegate (string as_msg) { Console.WriteLine(as_msg); return null; }; com.save("foo.as", ""); com.disconnect(); } }
Hope this helps..............
-
Either in KROSET or the live Controller, always requires a login password which is 'as' (without the accents).If you are using KROSET, then you have to use:
- IP 127.0.0.1 and Port 9105 (for the 1st Robot)If you are connecting to a live controller you have to use:
- IP (Controller IP) and Port 23 where the default IP is 192.168.0.2 unless different.I have tested it with KROSET, by just creating a project in KROSET with 'any robot' and then using the following code in Visual Studio to create a full controller file save example from the help file you should have with the KRCC:
C#
Display Moreusing System; public class KRccsave { static void Main() { KRcc.Commu com = new KRcc.Commu("TCP as@127.0.0.1 9105"); com.progress = delegate (int val, int total) { Console.WriteLine(val + " / " + total); }; com.asInquiry = delegate (string as_msg) { Console.WriteLine(as_msg); return null; }; com.save("foo.as", ""); com.disconnect(); } }
Hope this helps..............
Thank you so much. In my help file, the example is
I know the port is 9105 and the login password is as, but I don't know how to add it in the construct function.
You give me the answer. Thank you so much. You are so great. -
Glad I could help..........
Yes, it could be your using an older version, I have attached a zipped folder which contains the version I have. -
Glad I could help..........
Yes, it could be your using an older version, I have attached a zipped folder which contains the version I have.
Yeah your version is newer. My version is KRcc-r918, your version is KRcc-947. Thank you for your help.