jonfarrugia
Member
Normally when we program control logix with a panelview plus hmi we create a ToHMI[50] Dint and a FromHMI[50] Dint. This allows the HMI to read and write in single data blocks making the update rates faster.
I hate working with bits cause I can never remember which bit I used for each functional. Therefore, I'm always looking at the bit descriptions to determine what I am using each one for.
I got thinking...
If I create a UDT with all the required bool tags, Dint tags, and Real tags needed for the HMI, one UDT for "ToHMI" and another UDT for "FromHMI". Would I get the same performance from using a UDT like this compared to using a Dint[50]?
This way I can create a tag name for each function and I dont need to use bit and try to remember which one is which. I know the draw back from using UDT's is that you can modify them online.
I hate working with bits cause I can never remember which bit I used for each functional. Therefore, I'm always looking at the bit descriptions to determine what I am using each one for.
I got thinking...
If I create a UDT with all the required bool tags, Dint tags, and Real tags needed for the HMI, one UDT for "ToHMI" and another UDT for "FromHMI". Would I get the same performance from using a UDT like this compared to using a Dint[50]?
This way I can create a tag name for each function and I dont need to use bit and try to remember which one is which. I know the draw back from using UDT's is that you can modify them online.