Use the "displaymode" pragma with the "bin", "dec" or "hex" parameters to always display individual variables in binary, decimal or hexadecimal format.
CODESYS Clip: Monitoring in Hex/Dec/Bin display mode