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.
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.
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.
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.
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.
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.
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.
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.
Is this what you're referring to?
Yes
In cmore, you can create BitOfWord tags like this:
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.
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-000001
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.
Oh, almost forgot, this is the excel file (image) for the earlier post