PositionIn is a D location, and could be substituted for the encoder value directly or keep the D as an intermediate value and copy to it from the encoder. I like the latter personally, because I like keeping a layer between the program and the actual I/O.