Universal Robots Forum

Accessing GP Boolean registers

How do you do this in Java? It looks like Java can only see NAMED GP_Bools? Is this correct? If so, is there some way to name them programmatically so they can be seen? I’d really like to be able to write values to them through my CAP.

I have the same issue, I want to rename the general purpose register from my Installation, but only renamed register are accessibly by IOModel.getIOs() form the installation contribution.

The name of the IOs is saved in the .installation file (default.installation). You could unzip the file, change the names and then zip the file, but i dont think that is a good approach.

Also, it is not possible to change the value of the IOs directly from a UrCap, you have to implement an RTDE Interface to do that.