Vision Sensor give wrong variable type

As you can see in the screenshots i use OPC client and the vision sensor even if I set it as all numbers and put int32 in the device, it connects only with booleans. is there a fix?

Hi @hellocicco,

When using the Vision Sensor configuration All Numerical, you should use DINT as the data type in Codesys. However, if you assign the tag Vision Sensor (Value) to a Boolean node (OPC) the value of the tag will be cast to a Boolean (0 = FALSE, greater than 0 = TRUE).