1. Home
    1. Dashboard
    2. Search
  2. Forum
    1. Unresolved Threads
    2. Members
      1. Recent Activities
      2. Users Online
      3. Team Members
      4. Search Members
      5. Trophys
  3. Articles
  4. Blog
  5. Videos
  6. Jobs
  7. Shop
    1. Orders
  • Login or register
  • Search
Everywhere
  • Everywhere
  • Articles
  • Pages
  • Forum
  • Blog Articles
  • Products
  • More Options
  1. Robotforum - Support and discussion community for industrial robots and cobots
  2. Members
  3. VinyVieira

Posts by VinyVieira

  • How to create custom HMI on KUKA KCP???

    • VinyVieira
    • March 22, 2020 at 11:48 AM
    Quote from panic mode

    as long and you have a plan. i am not sure what you are really after since your posts keep changing objective:

    1. create DLL

    2. edit existing DLL

    3. replace some picture

    and what the heck is KKK screen? :fearful_face:

    You’re right, I’m still a bit confused on the way to reach my goal, thanks for your patience,

    in fact I need to change the layout and some figures on the attached screen.

    Images

    • IMG_20200318_150141076_autoscaled.jpg
      • 157.4 kB
      • 899 × 1,200
      • 129
  • How to create custom HMI on KUKA KCP???

    • VinyVieira
    • March 21, 2020 at 9:52 PM
    Quote from panic mode

    programmer writes code in one or more files. this set is called source code. it is what programmer wants computer to do.

    but computers cannot execute source code. there are two basic ways to proceed:

    a) use special program called interpreter that will parse and process instructions in the source code one line at a time.

    b) use special program called compiler that will convert source code into executable file (which is in a binary format).

    compilation may take long time and multiple passes to get desired result. interpreting does not have that luxury so of course compiled programs are executed faster. also interpreters require distributing source code but most companies are interested to keep their effort protected. finally executing compiled programs is simpler. user can focus on use of application rather making adaptations, setting paths etc.

    DLL is a binary file created by compiler. it does not contain source code. analysing and making changes to such files is EXTREMELY difficult and requires very advanced and specialised knowledge. it is so hard that even in a rare case where modification is done, it is a hack at best a patch (replace couple of bytes with hexeditor). essentially there is no decompiler, at best you can try disassembler but any sybolic data, comments etc will be missing. also the code may not seem intuitive any more since compilers have optimised hell out of it, to work with thin one really need to know a lot, have tons of time and patience. which is not worth it.

    just to put it into perspective:

    if learning to program is like learning to drive a car,

    then developing apps is like being ale to repair cars for a living.

    then reverse engineering compiled DLL or EXE is more like finding charred remains of a crashed UFO then fixing it and then optimising its inner working. all because you really wanted the extra trunk space when doing grocery shopping (this is what i mean by not worth it).

    if you are really interested in doing something, you will have to develop it from scratch, not patch some binary file.

    Display More

    I just wanted to change the pictures on a kkk screen,

    now I understand that I will have to go a very long way.

    Starting again:

    </LegacyPlugIn>

    </KukaRoboter.SmartHMI.LegacyPlugIns>

    <KukaRoboter.SmartHMI.Menu type="KukaRoboter.SmartHMI.UIFramework.Menu.MenuRootImpl, SmartHMI">

    <MenuRoot SystemName="MainMenu">

    <MenuItem DisplayName="IHM">

    <CommandCall Target="LegacyLoader.OpenPlugIn">

    <Argument Name="PlugInName">HMI</Argument>

    </CommandCall>

    </MenuItem>

    </MenuRoot>


    this code creates the button in the main menu and calls HMI.dll

    I will follow your suggestion to create a new application.

    Thank you very much for your help

  • How to create custom HMI on KUKA KCP???

    • VinyVieira
    • March 21, 2020 at 4:13 PM
    Quote from panic mode

    considering fact that you are asking this, you should really think if you want to get involved at all. you have been warned.

    https://www.wikihow.com/Create-DLL-Files

    https://www.youtube.com/results?search…3F&search_type=


    any application development software targeting Windows can be used ot make DLL file.

    heck if you really wanted to, you can hand assemble it using hex editor :winking_face:

    one easy way to start is to get programming software from company thad made Windows itself.

    for example you can get VisualStudio of particular vintage or edition and get started. there is tons of tutorials on Youtube.

    for example VB.NEt or C# are some of languages available in VisualStudio.

    common path is to start with basics and adopt more as you go along.

    learn about forms and standard controls, declarations, properties, objects, classes, timers etc.

    then try something bigger like DataGridView etc.

    then add reference to external controls (OCX, ActiveX) and use them in your program (this opens up a world of possibilities).

    Dependencywalker is used to sniff out what they can do and what else they depend on.

    then learn communication (open close socket, etc.) and communicate with KRC4 for example.

    finally how to do the same but pack it into a DLL instead of EXE.

    now you need to figure out how to integrate it in KRC4 HMI so it can be loaded, and selected from menu.Thank you very much for your answer, I have an application that was created on the robot and I would like to change it, but I can't open the dll to analyze the code.

    Display More

    Thank you very much for your answer, I have an application that was created on the robot and I would like to change it, but I can't open the dll to analyze the code.

    I will follow the recommended study path.

    In attachment dll

    Files

    HMI.zip 1.45 MB – 181 Downloads
  • How to create custom HMI on KUKA KCP???

    • VinyVieira
    • March 20, 2020 at 6:52 PM

    Has anyone figured out how to generate the dll file?
    What software to use?

  • Kuka Interface XML files

    • VinyVieira
    • March 20, 2020 at 1:48 PM
    Quote from hermann


    You are on the wrong road.
    Fanuc has a webserver, and the HMI is based on that webserver, therefore You can configure the HMI with .XML files.
    Kuka has a Windows HMI, the HMI consists of several Windows programs/plugins. If You want to create Your own HMI You have to build Windows plugins, or buy an extension to configure Your own HMI. There are some commercial extensions on market (Kuka, OrangeApps). A search in the forum "kukavarproxy" will lead You to an open source utility to build Your own HMI.
    The only built-in possibility is the already mentioned "Display/variable/Overview".

    I would like to know more about developing my own plugin, where can I see some direction?

Advertising from our partners

IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Advertise in Robotics
Advertise in Robotics
  1. Privacy Policy
  2. Legal Notice
Powered by WoltLab Suite™
As a registered Member:
* You will see no Google advertising
* You can translate posts into your local language
* You can ask questions or help the community with your knowledge
* You can thank the authors for their help
* You can receive notifications of replies or new topics on request
* We do not sell your data - we promise

JOIN OUR GREAT ROBOTICS COMMUNITY.
Don’t have an account yet? Register yourself now and be a part of our community!
Register Yourself Lost Password
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on Google Play
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on the App Store
Download