Its hard to say for sure if this will work for your application. That being said the command you have will listen to the one-wire line and recieve one byte of data.

You may want to make sure you are specifing the pin the one wire is connected to.

OWIN Pin, Mode,[ Item... ]

IE: owin PortB.2,1,[value]