Change registers of fanuc robot with C# application

  • Hello


    Has anyone here used C# application to modify/read registers of a fanuc robot.

    I'm looking into the option , and would be really happy if someone has done it and can give out some advises/examples of how they did it.


    Regards

    Fannar

  • We are doing that using Python in one application and VB.net in another application. We use the pyModbusTCP library for Python and Easy Modbus for VB. You should be able to use Easy Modbus for C#, see the website for samples and the library. http://easymodbustcp.net/en/
    We have the HMI option in the robot so we can set up the $SNPX_ASG settings for the register transfer to the Python/VB programs. The HMI option allows us to use Modbus TCP to get the data without needing to purchase the Modbus TCP option for the robot.

  • Do you have any example codes in C# that you have used or you know that works ?


    And do you guys know if you can write C# application for windows 10 , if i go with PCDK ?

    I read somewhere that it had to be 32bit and only for winxp ....


    Thanks!

  • The programmer here used VB.net but the library is the same for all the .net languages I believe. He used the sample code from the website for testing to develop his programs. I can't post his code. I don't have any experience with PCDK.

  • Would you mind directing me towards where I could find more info on this?

    There is no documentation.


    On a real or simulated robot, take a look at http://[YOUR ROBOT IP HERE]/frs/klserver.js. That builds the URL calls for all the text boxes in the comment tool. It gets called by on change events in the comment tool webpage.

    Check out the Fanuc position converter I wrote here! Now open source!

    Check out my example Fanuc Ethernet/IP Explicit Messaging program here!

Advertising from our partners