RobotStudio event

Error when writing IO signal

Options
Hi,

I am trying to write an IO signal using RAB 5.11, and I get the following error:

ABB.Robotics.GenericControllerException:  Write of unblocked in-signal not allowed.

Any ideas what this means?

Thanks.

Comments

  • Hello,
     

    As for input signals, you can only write to simulated (blocked) signals.
    Best regards,

    Ingela Brorsson
    Software Engineer
    ABB Robotics, Sweden
  • Ok, that makes sense that it would be that way.

    I changed it so it writes to an output that is cross connected to the input, and it works now.

    Just out of curiosity, is there any way to change the simulated (blocked) status of a signal from a PC application?

  • RussD
    Options
    You can do it from Robot Studio Online if your access levels permit, but it doesn't appear to be supported in the public API.
    Russell Drown
  • Mats W.
    Options
    I wonder if there is no way to set the simulated flag to a signal.
    In the reference manual regarding the grant type "Grant.WriteIO", it says:
    "Gives access to perform the following: Set I/O signal value,
    Set signal as simulated and remove simulation, Set I/O unit and bus as
    enabled/disable
    "
    That tells me that is should be possible to change the simulated flag.

    /Mats


    /Mats
  • Hello,
     

    No, it is not implemented to change simulated via the PC SDK. What you refer to is a general description of the UAS grant WriteIO, i e if the user has the WriteIO grant (implemented in the controller) he is allowed to do these things, but today it is only possible for him to do the first thing (Set I/O signal value) via the PC SDK.
    Best regards,

    Ingela Brorsson
    Software Engineer
    ABB Robotics, Sweden