Exclusive-OR Multistate switch?

Exclusive-OR Multistate switch? https://forum.weintekusa.com/uploads/db0776/optimized/2X/e/e45cc45e754e5534f92f0437e8951a74b64a2edf_2_1024x575.png
none 0.0 0
  • HMI Model: MT8072iP
  • EasyBuilder Pro Version: latest

I need an operator to make some selections - in one case pick 1 of a possible 2 (eg Lead or Lag) and the other (eg Mode 1 / Off/ Mode 2). The selections to be sent as bits to PLC for action.

Using old-fashioned physical switches, I would use a 2-pole, 2 or 3 position selector switch. The exclusive-OR function is achieved by the mechanism - the switch can only be in 1 position at any time.

As a beginner to EasyBuilder, I dont know what my options are to achieve this with my HMI.

Various computer applications - including EB Pro - require a single choice between limited options. Often this is done with Radio-style buttons where only 1 button can be selected. Selecting 1 button “unselects” any other buttons selected. (The on-screen equivalent to old-fashioned piano-key switches.)

I found a brief forum post ( How to replicate 'radio button' functionality on the HMI - #3 by EngIndSys ) about setting up radio buttons using a Combo Button. However I am not sure this is applicable to my iP model. The User Manual doesnt list iP for the Combo button, although the option is available when I click it.

I do not understand how to use the 4 actions available (Delay, Set Bit, Set Word, Change Window) to achieve what I need.
Would you please give me some tips how to start - or perhaps there is a post on this.

I have also tried a multistate switch using a 3-state selector switch picture. The MSS tag selection shows DINT data type - see screenshot

The data to PLC needs to be either of 2 different bits.

Hi @BrianF_NZ ,

We would recommend using a combo button like in the post your found on how to replicate “radio button” functionality. Below I have link a video that explains our combo buttons at around the 6 min mark. The UI may look a bit different but it should still be feasible.

As for the 4 actions available:

  • Delay: Pauses the sequence for a specified time (ms).
  • Set Bit: Writes a single bit (0 or 1) to a target address (PLC tag or local HMI bit).
  • Set Word: Writes a numeric value to a memory register
  • Change Window: Navigates the HMI to a different window or popup.

Please let me know if you have any further questions.

After some trial and error I now have my radio-buttons working. Thanks for your help

1 Like

Hi @BrianF_NZ ,

That is great to hear. Please let us know if you have any other questions!