Skip to content

kyjanond/kukavarproxy-msg-format

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

kukavarproxy Message Format

1. Description

kukavarproxy is an TCP/IP interface to Kuka robots that allows for reading and writing variables and data structures of the controlled manipulators.

2. How it works

The kukavarproxy is a TCP/IP server that listens for network messages on the TCP port 7000, the reads and writes data to the KRC system variables. kukavarproxy message format is

  • msg ID in HEX 2 bytes
  • msg length in HEX 2 bytes
  • read (0) or write (1) 1 byte
  • variable name length in HEX 2 bytes
  • variable name in ASCII # bytes
  • variable value length in HEX 2 bytes
  • variable value in ASCII # bytes

3. Usage

The KRC robot controller runs the Microsoft Windows operating system. The teach pendant shows an “HMI” which is a program that KUKA developed to run on Windows and it is the interface that the robot user has to manipulate the robot through. In order to establish an Ethernet (TCP/IP) connection, you first need to run kukavarproxy on the controllers operating system, then configure the network connection from KUKA "HMI".

3.1. Copying kukavarproxy to the operating system on the KRC:

3.2. HMI Network Configuration:

  • Connect the robot to a network. (private one is recommended)
  • Configure the KRC IP. For KR C4: KUKA Menu -> Startup -> Network Configuration
  • Unlock port 7000. For KR C4: KUKA Menu -> Startup -> Network Configuration -> Advanced
  • NAT -> Add Port -> Port number 7000
  • Set permitted protocols: tcp/udp

4. Resources

About

A class that can send and receive messages from KUKAVARPROXY throught Python or CPP.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 71.2%
  • C++ 28.8%