Reading robots register values from python via profinet

I have UR 10 CB series model of the robot
I need to read the values of the robots registers from python, and all these are connected via profinet.

Could anyone guide me what is the syntax or any documentation regarding how to read the robots register values from PYTHON?
I am able to connect with the robot from python, but just unable to read the register values.

I need to know the values of General purpose boolean registers, whether they are high or low?, but I want to read this values from Python file

Hello @aniket.naik

the RTDE - Interface may be the fitting tool for your task.
You can find further information on this topic here.

/Stefan