April 24, 2019, 10:11:23 PM
Robotforum | Industrial Robots Community

 How to config EtherNetKRL in OfficeLite ?

Author Topic:  How to config EtherNetKRL in OfficeLite ?  (Read 356 times)

0 Members and 1 Guest are viewing this topic.

January 29, 2019, 03:01:37 PM
Read 356 times


I need to use EtherNetKRL  in OfficeLite.

My steps are as follows:

1、Copy "BinaryFixed.xml" to  the  directory:
"C:\Documents and Settings\Administrator\Desktop\ETHERNETKRL\DOC\Example\Config".

2、Copy  "src" and "dat"  to Robot

3、The network adapter  "VMware Network Adapter VMnet8"  of Vmware is in NAT mode,I set the IP fixed as ""

4、 Set the IP of "BinaryFixed.xml" as , Port as 59153           

 After deploying this, I run the program in smartHMI,it showed an error saying "Ethernet connection to external system failed".

After searching,I found following things:
1、 I need use KUKA-router to Port forwarding.But no one showed details. I added  two nodes in KUKA-router as follows:
   Target  Host      Source Port     Target  Port        59153            59153        (same as VMnet8 and BinaryFixed.xml  )        59154            59154        (the IP config in smartHMI,the Port is Written at random)

  But it is useless.....

2、Someone said make the Vmware port to Vxworks,but where is the Vxworks IP?

Forgive me for my bad English and description. Thanks any suggestion!!! :  :help: :help: :help:

« Last Edit: January 29, 2019, 03:03:22 PM by 349516385 »

Today at 10:11:23 PM
Reply #1



January 31, 2019, 01:51:45 PM
Reply #1

panic mode

Global Moderator
read EthernetKRL manual

placing XML file in that path (or whatever random folder) does not do anything. configuration file MUST be placed in a very specific folder as per manual.

"communication" means there need to be TWO sides talking to each other.

In case of Ethernet exchange using TCP, one of them is a CLIENT and the other is a SERVER:
1. KRL program is one of them (can be either CLIENT or SERVER).
2. Another is external device or application (can be either CLIENT or SERVER)

Note, role of both sides must be complementary, cannot have both sides acting as SERVER or both sides acting as CLIENT.

Until that external application is created, you can use demo server (.EXE) to test communication. Since this is a SERVER, it means that KRL program MUST be acting as a CLIENT.

Server MUST be running BEFORE clients attempt to connect to it. Website is a server. Website must be up and running before your browser (client) tries to connect to it.

Server does not need to respond with an actual message (ACK is send anyway) so just to test connection, server only need to be running and reachable. so network settings need to be correct. but using port forwarding is generally not needed. using router is generally not needed.

« Last Edit: January 31, 2019, 02:44:54 PM by SkyeFire »
1) http://www.robot-forum.com/robotforum/kuka-robot-forum/read-first/
2) if you want reply about robot, post it in forum
3) read 1 and 2

February 02, 2019, 04:36:28 AM
Reply #2


Thanks very much for reply.I did follow the help documentation in EthernetKRL.I put the file -"BinaryFixed.xml" in the correct directory.Sorry for that the content in my  previous post is wrong.

And I run "BinaryFixed.exe" befor I run the program in KUKA.And I configed the server well as the document said ,I can ping server from OfficeLite.But I can not ping KUKA in my host pc,even though I chang the ip and submask to make them in one subnet.

"EKI_Init" is OK.The program stop at "EKI_Open",the HMI showed "Ethernet connection to external system failed".And the log file showed that "Can't connect to IP and port 59152 Errornumber(-1)"。

I think  the problem is KUKA can not connect the host pc.In physical world,I must plug in wire to KUKA KLI,but in simulation,I did nothing.Should I do something?And where is wrong?Thank you again.
« Last Edit: February 02, 2019, 04:38:36 AM by 349516385 »

February 02, 2019, 11:56:23 AM
Reply #3

panic mode

Global Moderator

February 06, 2019, 03:28:19 AM
Reply #4


“BinaryFixed.exe” is the server program of EthernetKRL, it is running in the host,and it is communicating with the program in KUKA which is in a virtual machine.“BinaryFixed.exe” is an example  of  EthernetKRL.

February 06, 2019, 11:29:06 AM
Reply #5

panic mode

Global Moderator
never heard of "BinaryFixed.exe"
what is the exact version of KSS and EthernetKRL?

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


Started by Vlad222 on KUKA Robot Forum

8 Replies
Last post November 27, 2018, 07:40:20 AM
by a363866443

Started by RoboticlyChallenged on KUKA Robot Forum

3 Replies
Last post May 20, 2016, 10:45:54 PM
by panic mode
EthernetKRL 2.2

Started by Vlad222 on KUKA Robot Forum

1 Replies
Last post October 31, 2014, 04:34:05 PM
by Vlad222

Started by Vladimir on KUKA Robot Forum

3 Replies
Last post April 16, 2019, 12:14:03 PM
by panic mode