Roboguide saving found coordinate to a text file

  • Hi experts,

    I am new to FANUC, wondering if I use roboguide to simulate the vision process and find the coordinates of the parts, instead of displaying the coordinates in roboguide, is there a way to automatically save them to a text file so I can analyze those coordinates in other softwares?

    Thanks for any related advice.


  • There are probably better solutions than what I'm writing below. At least this method works without any special options installed.

    The robot webserver is accessible on the PC when using roboguide. (localhost) for most setups.
    When you go to this address in your browser, look for the POSREG file.

    This file shows the current values of all the position registers.

    You could create a script to periodically request this page and read off the coordinates and save them to file.

    I've successfully used this method for debugging before.

  • After trying a few options, the below little Python code is able to read all the position register. Testing the real robot IP too (Ethernet connection), also works!

    import urllib2

    link = ''
    response = urllib2.urlopen(link)
    webContent =

    file = open('position_register.txt', 'w')

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account
Sign up for a new account in our community. It's easy!
Register a new account
Sign in
Already have an account? Sign in here.
Sign in Now