How can set gpio to output and How can set the value at TX2?

How can set gpio to output and How can set the value at TX2 R32.2?

for example ,now I need set S7 gpio to output ,and I need set the value to High or low ,How can I do it?

hello sensor_test,

please refer to Topic 1063749, for the GPIO changes.
thanks