Jump to content

Boolean to HMI


MWD

Recommended Posts

I have a table that I store the current Boolean state of inputs 0-7.  My table updates fine with the date, time, input name and Boolean state of all inputs.  I can't figure out how to display the Boolean results in the table in a 00000000 format on the HMI.  

I am doing a table read from row 0 moving the Boolean field to MI15. In the HMI display, the start of the vector is MI 15 for 8 and I get no results on the display.

What am I missing?

Thanks in advance for your help.

Link to comment
Share on other sites

  • 1 month later...

Hello,

Basically you can first use Bit to Num ladder element to store the inputs array into a integer register.

Then write the value of the register to the data table.

Now in the data table you can right click on the cell of the integer column - select format:

image.png

Then choose Binary:

image.png

Now your column will be shown as Binary format on the HMI.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.