x-axis robot Position data over Socket Server

  • Hello everyone,

    Currently, I have established a connection between robot and pc by means of sockets. A python application runs a socket server, and on the Fanuc robot the client.

    However, I have two additional questions I would like to ask you.

    1) How can I send position data from the robot (for example x-axis) from the client to the server? I assume putting the script in BG-logic and refresh the variable constantly. However, how will the script look like? An example would be nice.


    2) Do I need to open and close the server every time I want to send data to the server? Or just loop forever in a while loop?

    Thanks in advance. Below my code.

  • Place your Ad here!
  • RoboticsLan

    Changed the title of the thread from “x-axis robot Position data Socket Server” to “x-axis robot Position data over Socket Server”.

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

Advertising from our partners