Read an Digital Input

Hallo

I have the task to program a URCap. A part of it is to read a digital Input from the Robot.

For example: When the digital Input goes High, then i would like to put out a text.

Does someone have an example?

Thanks for help

Hi Timo,

you can check the example of jbm
Sample: getRobotData Real Time Client reader URCap

add to RTinfo:


digital_in (86, 1),

digital_out (131, 1),

protocol documentation
=> last sheet in Client_InterfacesV3.14andV5.9.xlsx