Jump to content

Recommended Posts

Posted

I'd like to use a list in a combo box from a data table column on Unistream PLC.

Is it possible? If yes, which is the easiest way to realize this?

Thanks in advance for the help,

Posted

Hi,

Combo box has indirect option that you can use to import your combo box options from a file located in SD or disk on key.

Now, using the data table and converting it programmatically to the file  format needed for indirect combobox is another story.

If you have fix sets of data, you can prepare a few files and switch between them by modifying the tag containing path to the indirect combo box file.

Hope that helps

Posted

Finally, that should not be as complicated as that: the indirect combo box file format is pretty simple (one option item on each  line)

So using the "copy column to array in DTI" ladder function, then the "tag to buffer" function, then "append buffer to SD file" should make the trick. (or some other combination that will work)

Update us how it goes!

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.