Clearing read_input_float_register

Hi Team,

I am reading input registers from an external RTDE python program and moving the robot based on the values.
My challenge is when i start the controller program from robot side, the read_input_float_register are having some values , may be from previous program. How to clean them from the control program ?

I wrote the below subprog to clear them added it to the beginning of the before start . But no luck.
My understanding is it is just reading the register memory. Not removing the data from the memory.
Is there a way to reset the registers except restarting the robot?

tmp:=p[1,1,1,1,1,1]
loop tmp!=p[0,0,0,0,0,0]
tmp[0] = read_input_float_register[24]
tmp[1] = read_input_float_register[25]
tmp[2] = read_input_float_register[26]
tmp[3] = read_input_float_register[27]
tmp[4] = read_input_float_register[28]
tmp[5] = read_input_float_register[29]

3 Likes

Seconded here. I’m still working on this and will update if I find a solution. Anyone else able to figure this out?