May 20, 2019, 06:59:55 AM
Robotforum | Industrial Robots Community

 Does anyone know the Kawasaki Robot Control Class

normal_post Author Topic:  Does anyone know the Kawasaki Robot Control Class  (Read 462 times)

0 Members and 1 Guest are viewing this topic.

March 09, 2019, 01:29:05 PM
Read 462 times
Offline

AL9501


I use this library, but when I connect to K-Roset, it shows me  login failures. I need help. Thank U.

Today at 06:59:55 AM
Reply #1

Advertisement

Guest

March 12, 2019, 10:33:31 PM
Reply #1
Offline

kwakisaki

Global Moderator
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)

Code: [Select]
KRcc.Commu com = new KRcc.Commu("TCP as@127.0.0.1 9105");
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.

Code: [Select]
KRcc.Commu com = new KRcc.Commu("TCP as@192.168.0.2 23");
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:

Code: [Select]
using 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..............
« Last Edit: March 12, 2019, 10:40:49 PM by kwakisaki »

March 13, 2019, 01:16:49 AM
Reply #2
Offline

AL9501


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)

Code: [Select]
KRcc.Commu com = new KRcc.Commu("TCP as@127.0.0.1 9105");
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.

Code: [Select]
KRcc.Commu com = new KRcc.Commu("TCP as@192.168.0.2 23");
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:

Code: [Select]
using 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..............
Code: [Select]
KRcc.Commu com = new KRcc.Commu("TCP as@127.0.0.1 9105");
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.

Code: [Select]
KRcc.Commu com = new KRcc.Commu("TCP as@192.168.0.2 23");
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:

Code: [Select]
using 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..............
[/quote]
Thank you so much. In my help file, the example is
Code: [Select]
KRcc.Commu com = new KRcc.Commu("TCP 127.0.0.1 9105");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.

March 13, 2019, 05:19:49 AM
Reply #3
Offline

kwakisaki

Global Moderator
Glad I could help.......... :top:
Yes, it could be your using an older version, I have attached a zipped folder which contains the version I have.

March 13, 2019, 06:24:27 AM
Reply #4
Offline

AL9501


Yeah your version is newer. My version is  KRcc-r918, your version is KRcc-947. Thank you for your help.


Share via facebook Share via linkedin Share via pinterest Share via reddit Share via twitter

xx
denso robot c# class

Started by zeev on Denso Robot Forum

4 Replies
12632 Views
Last post May 11, 2019, 09:36:30 PM
by Serviceyzc
xx
External control panels for Kawasaki

Started by Zerych on Kawasaki Robot Support Forum

3 Replies
1086 Views
Last post March 16, 2018, 09:05:41 PM
by kwakisaki
xx
JointLimits Class - How to set it / apply it?

Started by OlivierRMD on KUKA LBR IIWA

7 Replies
593 Views
Last post September 12, 2018, 05:05:46 PM
by NullReference
xx
TxRobotSimulationEngine Class Access

Started by Ruaan.Holtzhausen on eM-Workplace / Robcad

0 Replies
1808 Views
Last post November 12, 2014, 08:01:43 AM
by Ruaan.Holtzhausen