Universal Robots Forum

GPIO Boolean Registers vs Flags

I was wondering if the only difference is the accessibility from the outside (flags are internal boolean registers) or if flags are going to become something more related to these GPIO registers or even deprecated.

Alessandro Tondo @qbrobotics

The GPIO boolean registers are part of the RTDE and Fieldbus interface.
Hence these are mainly targeted external interfaces for handshaking.

The flags in URScript found at set_flag(n, b) and get_flag(n) are working like internal digital signals.
They will keep the value between program runs.

I do not expect these to be deprecated, as this might break compatibility to old programs.

1 Like