I have two DINTS
lets call them Trim_Selection1 and Trim_Selection2
If a bit of Trim_Selection1 is set by the HMI all other bits must be cleared
If a bit of Trim_Selection2 is set by the HMI all other bits must be cleared
If a bit of Trim_Seletcion1 is set by the HMI all bits in Trim_Seletion2 are cleared
If a bit of Trim_Selection2 is set by the HMI all bits in Trim_Seletion1 are cleared
Simply put only one bit in either word can be set at a time