Code Monkey home page Code Monkey logo

c3bridge-server's Introduction

C3 Bridge Interface

C3 Bridge Interface Server

The C3 Bridge Interface Server is a lightweight network application that allows remote clients to execute requests to the KUKA Cross 3 subsystem and return responses. The application provides advanced functionality and high performance.

Features

  • Well-documented application protocol. It is fully compatible with KukavarProxy protocol, which means that existing client solutions (RoboDK, ROS) can be used.
  • Executes more functions of the KUKA Cross 3 subsystem (in the future we hope to implement all available functions).
  • Controls the execution of a KRL program.
  • High performance. The software is written in C++ and can be compiled using both modern development tools and development tools of the past years (like Visual C++ 6.0).
  • It does not require additional software libraries to be installed in the control system.
  • It starts minimized to tray and does not take up any space on the screen.
  • There are no limits on the number of simultaneous network connections and idle time.
  • It provides the Discovery Protocol for easy identification of the control system in the network.

Changelog

See the document for more information.

Website

HTTP://C3.ULSU.TECH/

License

Copyright (c) 2020-2022 Dmitry Lavygin ([email protected])

S.P. Kapitsa Research Institute of Technology of Ulyanovsk State University.

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Donate

If you found this software useful, you can thank the author with donations via

PayPal Yoo Money

c3bridge-server's People

Contributors

vdm-dev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

c3bridge-server's Issues

HELP: Compiling source code to run over WIN95 Kuka controller

Hello,

I'm looking for some help to compile this software to run over the WIN95 controller.
My main goal is create a version that could use Serial Ports to implement the comunication protocol, making easier in some of the very old controllers, Idk if you guys would like this as MR in this project.

If this is interesting for this project and willing to have me some tips about this compiling issue. I think everyone could have enjoy this feature.

Best regards,
Henrique.

MESSAGE #10. PROGRAM CONTROL (SUBTYPE II) Not Working

Below is my python code.

    name = "/R1/Program/RoboDKsync543"
    name_len = len(name)
    msg_id = random.randint(1, 100)
    params = ""
    param_len = len(params)
    req_len = 9 + name_len + param_len
    msg_type = 10
    command_code = 5
    interpreter_type = 1
    force = False

    request = struct.pack(
        '!HHBBHH'+str(name_len)+'s'+'H'+str(param_len)+'s' + '?',
        msg_id,
        req_len,
        msg_type,
        command_code,
        interpreter_type,
        name_len,
        name.encode('UTF-8'),
        param_len,
        params.encode('UTF-8'),
        force
        )

And the response I get back is (1, 5, 10, 5, 9, False). The Error Code 9 indicates ErrorProtocol but I cant figure out what is wrong. Any advice on where to look? Thanks!

Reading/Writing of (multiple) variables is very slow

Hello, I programmed an application to test your c3bridge server in ordner to get a feelding for the communication performance and the depending roundtrip. I did this because the KUKAVARPROXY is to slow for my application - therefore, i searched for a faster variante and found your software.

Basically, the reading and writing works good without any errors. In my test, i wrote 79 variables (inputs) to the controller and read 61 variables from the controller.

In my first approach, i sent single "Read/Write" requests to the controller - therefore, i measured roundtrip times around 700 ms for all those variables (the duration time while sending a variable to the controller and reading the variable from the controller).

I saw that there is a possibility to send "MultipleRequests" (a list of variables) to the controller to read/write variables. Unfortunately, i noticed that this method was slower than the single read/write before - i thought, it must be faster because there are less calls on the interface than before.

I measured 735 ms to write those 79 variables to the controller and 335 ms to read those 61 variables from the controller.

2022-10-18 07:18:15.7711 | INFO | C3BridgeClient | C3BridgeClient.WriteVariables | Send writing request took '735'ms |
2022-10-18 07:18:16.1071 | INFO | C3BridgeClient | C3BridgeClient.ReadVariables | Send reading request took '335'ms |

Do you have any idea, why this is so slow? If not, do you plan a performance update in the near future?

If you need something, don't hesitate to ask.

Thanks in adavance,
Dominik

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.