Is there a way to do something like this.
PortB.w0 = Coilstate
Yes

PortB.0[W0] = Coilstate


Cheers

Al.