Panelview plus Data blocks

jonfarrugia

Member
Join Date
Mar 2008
Location
London
Posts
130
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'm thinking we are not on the same page with how to use an alias in this situation...

For example:

Declare an alias Pump101_Start for FromHMI[12].0.
Declare an alias Pump101_Stop for FromHMI[12].1.
Use Pump101_Start and Pump101_Stop in the ME application instead of FromHMI[12].0 and 1.
The data is still in the same place in the controllogix memory, you just access it by a different name.

All that being said, the value of grouping all your HMI tags into an array may not be as much as you think.

Back in the PLC5 and SLC500 days, blocking your addresses had a straightforward benefit for comms.
For example, if you had a bunch of references in the range N7:0 to N7:99, you would only need 1 packet for your comms. If you had N7:12, N7:142, N7:201, that would take 3 packets for only 3 references.

The controllogix is not so simple. There is still benefit to blocking HMI tags, but it's not as much as it was for PLC5. It all comes down to "make it easy to follow" vs. "make it as fast as possible". You have to decide which is more important.


P.S. Typing a long response sometimes means the conversation moves ahead while you are responding.
 

Similar Topics

If I have a PanelView Plus, is it possible to show historical data via historian on it? I have the application all setup in FT Studio Machine...
Replies
3
Views
498
Hello, I have followed the "On_board Audit Demo" sample in FactoryTalk View Studio ME to add the functionality of exporting the Audit, Alarm, and...
Replies
3
Views
1,139
I am stuck on something, and would appreciate if someone might have a suggestion to help me. I need to automatically email CSV log data from...
Replies
2
Views
1,785
Hello everyone. I would like to set up data logging to an SD card so that my data for a couple of trends is stored even when the screen is...
Replies
2
Views
2,343
Newbie so sorry if this question is very general or has been discussed elsewhere already. We have a R/O system installed presently and I am...
Replies
1
Views
2,555
Back
Top Bottom