• ADC Community_02 (Automationdirect.com)

    This indicates bit of word designation for a tag. Example: Conveyorcount:1 indicates bit 1 of tag(word) Conveyor count. More details are explained in help topics P040 & P032.

  • Durallymax (Customer)

    Bit of word, lets you use an individual bit of an integer as a bool (useful for something like the shift reg example Garry had below and other types of sequencing). Important note, Psuite starts its counting at 1 NOT at 0, so you'll have to keep reminding yourself of that annoyance.

    • kewakl (Customer)

      Another important note: you cannot tag that bit. HARD-CODED values only -- at least in the the current and older releases.

      If future releases, there may be a way to tag the BitOfWord.

      • Durallymax (Customer)

        Is this what you're referring to?

        IntTag:5

        IntTag:BOW

        Where BOW is an int with value 5

        Another note to OP. If you plan on using Cmore, you'll have to create all BOW tags manually.

        To avoid that, and the hard coded limitations, I use arrays of bools where possible instead but not always the proper approach, still a few times BoW is best.

        Expand Post
      • kewakl (Customer)

        Is this what you're referring to?

         

        Yes

      • kewakl (Customer)

        In cmore, you can create BitOfWord tags like this:BitofWord-Cmore_01

      • Durallymax (Customer)

        Have you had any luck creating them in the TagDB in Excel? I've tried editing the Psuite tag DB and also tried Exporting and Importing Cmore TagDB but anytime I add a tag into the DB externally the file will show up as empty when trying to import.

         

        Going through this process manually is tedious, make one, copy paste as many needed then go through and adjust them. It's not terrible, but only would only be a few seconds in Excel.

         

        Screenshot 2022-02-08 102147

        Expand Post
      • kewakl (Customer)

        Just did this. I usually only do the first of a progression (array/BoW)

        Then I export, edit and then import the new tags.

        That is what I did with the Bit of Word for S32-000001BoW Export-edit-import

        Expand Post
      • kewakl (Customer)

        I RARELY import the PAC tag database into CMore software.

        The PAC tag database is too bulky.

        The 'Basic' database is 181 rows (19KB)

        The 'Extended' database is 181 rows (22KB)

         

        --EDIT for tags That I will likely never use and just delete later.

      • kewakl (Customer)

        Oh, almost forgot, this is the excel file (image) for the earlier postBitofWord-EXCEL

10 of 11