Karel

  • Hello guys,


    I'm trying to write an integer in a register using the built-in procedure "set_int_reg". It's not working and i'm getting a status of 17030.

    Does anybody know what does it mean ?

    Also, is there a document by fanuc that describe the error codes ?


    Thanks.

  • AD
  • Hello,


    Maybe you are using the command in a wrong way. Here is an working example (I don't use the status as variable as I don't need it)


    Here the code sets the Register 1 with value 1 and comment 'Comment 1'

    Code
    -- Set values and names of register values
    SET_INT_REG(1,1,1)
    SET_REG_CMT(1, 'Comment 1',1)

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