EthernetKRL

  • So I have been looking through old a recent posts, and cant seem to find the answer.


    I have a KRC4 that we are trying to setup to run in Auto External and change specific variables.
    We have the EthernetKRL option package installed and running. I have successfully loaded the EthernetKRL_Server.exe onto my PC, and moved the XML example files to the correct spots on the KRC4.
    I can run XMLTransmit.src on the controller and get it to output the values in the EthernetKRL_Server on the PC.


    I am wondering if it is possible to do the reverse, change the XML code for XMLTansmit.xml/XMLTransmit.src (Currently sending back some random/fake sensor data) to send back varibles to be changed.
    In particular, I am looking to change the PGNO value so I can choose different programs form the Cell.src.


    Would it be be beneficial to call the XMLTansmit.src in the sps.sub?



    Any help to this issue would be very much appreciated. Thank you

  • Sorry for the delay.


    So I am able to get the xmltransmit.src to run on its own now, and able to use it to change a global variable, but I attempted to embed it into the sps.sub. When I then tried to turn the Interpreter on I receive the error that ("$ACC_xxx" in the bas.src file is not writable). Have I overlooked something in the EKI manual here?


    I am stuck on this, because I got the xmltransmit.src to run on its own, but not in the sps.sub


    Again, sorry for the delay and thank you for the help.

  • some things cannot be used in SPS, this includes robot motion instructions (PTP, LIN, CIRC), INI fold, tool and base assessments, Wait instructions etc.
    in other words you should have started with expert module, rather than standard program module or you need to remove offending code. Another thing is that if you are planing to use this in SPS, consider using ENVIRONMENT variable (it is in the manual).

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

Advertising from our partners