Int4 vs Boolean

Sometimes we have found that OPC boolean tags are reading True, but when you switch the datatype to integer the value in the tag browser then reads 0.

We’ve typically rectified this by not using boolean tags because we thought there was sort of decoding that must be happening in the background that we didn’t understand - a ‘true’ bool vs a ‘true’ integer.

Oddly enough I just was debugging this on a boolean opc tag which’s value was True, and thhen switched the datatype to int4,long,double,binary, and alll the values were zero 0, then when I switched the datatype back to bool and it read False.

It really looks like to me sometimes boolean tags are getting stuck high and are problematic to simplify the transformation between 0 and 1 and True and False?

Is this something you can reproduce readily?