How to use a Multi-state Switch


In this post, we will explore the functionality of the “Multi-State Switch” and how to effectively use it in your project.

Software Version:

EasyBuilder Pro


  1. The “Multi-State Switch” can be found in the “Object” tab within the “Button/Switch” section:

  2. One of the first choices to make in the creation of this object is if you would like the “Multistate Switch” to change states based on “Value” or “LSB”. The “Value” option lets your states be connected to regular integer values. You can also select an “Offset” of values, which will increment the states by the offset value. “LSB” stands for least significant bit and converts your integer values to binary. Then depending on the least significant bit, that number reflects the state of the object. In this section you can also customize the write function to “Write when the button is released” and if you would like to add a write address:

  3. In the next section, you will find your read address, and your write address if you select the “Read/Write use different addresses” option. Please select a memory address that doesn’t overlap with other objects. Go to the “View” tab and select “Address Grid” to get a visualization of your memory:

  4. If you select the “Error Handling…” box, it will give you an option on how to handle invalid input to the object. It also gives you the option to save an “Error Notification” at a memory address to be displayed within the project:


  5. Within the “Attribute” section (A) “Switch style” gives you the option of “JOG-“ or “JOG+”. When “JOG+” is chosen, every time the button is interacted with, it will increment the state by one. “JOG-“ is the opposite, where the state will decrement by one with each interaction with the object. (B) “No. of state” is where you can modify the number of states in your object. (C) “Cyclical” gives you the power to return the number zero when the last state is reached. Lastly (D) “User-defined mapping” allows you to associate a value with the state of your object if the box is selected. The value will be set in the “Write” register:

  6. Lastly, select “Send notification after writing successfully” if you would like to do so. Then select an empty memory address to hold the notification and display later on:

  7. Within the “Shape” tab of the object, select a picture or shape for each state. To navigate to each state, select the desired state from the drop-down menu or click on the corresponding numbered box:

  8. Within the “Label” tab, the same concepts are used as you can add a label to each state. The label is written within the “Content” box and modified within the “Attribute” section. You can navigate to each label with the arrows or corresponding numbered box: