Thank you Richard & Henrik for the tips!

I did try the code below without success. It display 00.00 for all sensors. Did I mistake something?

Code:
Dindex var byte
CIndex var byte


if CIndex = 1 Then Dindex = 5
if CIndex = 2 Then Dindex = 6
if CIndex = 3 Then Dindex = 7
 
owout PortB.0[Dindex],1,[$CC,$44]     
owout PortB.0[Dindex],1,[$CC,$BE]     
owin PortB.0[Dindex],0,[STR Dta\9]
Alberto