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.

  • 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)

Advertising from our partners