Why does a DINT suddenly become negative?
A signed 32-bit DINT uses the highest bit as the sign bit. When bit 31 is set, the same pattern is interpreted as a negative two's-complement value even though an unsigned display would show a large positive number.