KAREL send system var

  • Hello there,

    I have created a socket server (Fanuc robot LR Mate 200iC/5L with R30iA controller) and client on Pc with python.

    $SCR_GRP[1].$m_pos_enb = True

    The server code looks like this:

    I am stuck on the following code below. I am trying to send a system variable to the client.

    -- Write 4 bytes (REAL)
    my_real = get_real('*SYSTEM*','SCR_GRP[1].$MCH_POS_X')    <<               
    WRITE file_var (my_real::9::2)

    Can someone help me, please?

  • Place your Ad here!

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