2 HMIs using the same tags

Is this common practice, having 2 HMI at different locations using the same tags? As long as you need the HMIs to do the same functions.

Of course this way they could not be enabled and disabled individually.
If one wanted to enable and disable individually you would use independent tags for each HMI, am I correct?

I have not setup a new system with multiple HMIs but from the ones I have worked on it looks like those have only 1 tag for each button, light, actuation, alarm ect..
Is it correct or should they be separated for any networking reason?

Thanks,
 
It depends on the type of controls whether interlocking and unique tags are required. The type of HMI may also require extra precautions to ensure that if a setpoint is edited on one of them, the other one reflects that change.
 
No different than physical buttons, albeit with more options. Often there's multiple E-stop buttons, start/stop stations, all controlling the same equipment.
 
It depends on the type of controls whether interlocking and unique tags are required. The type of HMI may also require extra precautions to ensure that if a setpoint is edited on one of them, the other one reflects that change.
Ok, I get what you are saying.
But having the tag (HMIPB_Start) assigned to 2 different HMIs would not cause network issues?
I know that's the simplest example.
 
No different than physical buttons, albeit with more options. Often there's multiple E-stop buttons, start/stop stations, all controlling the same equipment.
Ok, so to understand the tags within the PLC and where they are going, it would be better practice to seperate the tags/names if I could?
HMI1PB_Start from HMI 1
HMI2PB_Start from HMI 2

Then just parellel them in the logic..
Assuming we are just focused on the start tags and no other machine functions for this example.
 
If they are pushbuttons, the HMI will not write to them until they are pressed. If they're momentary, the HMI will wait the prescribed time after the button is pressed, then write to it again. The HMI will not constantly write to them, unless you're doing something weird.

If they are maintained buttons, then make sure your HMI's will both display the state of the PLC tag itself which seems like common sense, but PainelViews don't always behave consistently with common sense. You have to force them not to lie to you. It has been a while but I think the choice in a PV+ was something like "last value" or "tag value", where "last value" is what the HMI is basing an assumption of the last value it had for the tag and could be a falsehood.

Using separate tags can provide more flexibility if, for example, in the future you add some means to disable buttons from one of the HMIs.
 
No, it makes sense to have two HMIs accessing the same bit in the PLC.
They are programmed to do this.

Tags in the HMI are read continuously and only written when changed. So there is no potential collision or conflicting commands regardless of how many HMIs you have.

It's the equivalent of setting a value on a flank in the PLC and only once.

Like this:
Code:
  StartHMI                  Motor
---|↑|----------------------(L)---

  StopHMI                   Motor
---|↑|----------------------(U)---

Where
  • StartHMI is when you press the start button on the HMI
  • StopHMI is when you press the stop button on the HMI.
  • ---|↑|--- Edge/flank/One shot
  • ---(L)--- Latch output (set output)
  • ---(U)--- Unlatch output (reset output)
 
If both HMI's have the same or similar program, but same tags (like a modified version of one to reduce items on the other), with the exception of a Toggle on either or both, should be fine.
 
Another example is when you have both physical push buttons and several HMIs and they all use the same logic bit in the PLC.
In this example a physical illuminated toggle button.

PLC code:
Code:
  Toggle     Motor            Motor
---|↑|--------|/|--------------(L)---

  Toggle     Motor            Motor
---|↑|--------| |--------------(U)---

  Motor                       ToggleLED
---| |-------------------------( )---
 
Another example is when you have both physical push buttons and several HMIs and they all use the same logic bit in the PLC.
In this example a physical illuminated toggle button.

PLC code:
Code:
  Toggle     Motor            Motor
---|↑|--------|/|--------------(L)---

  Toggle     Motor            Motor
---|↑|--------| |--------------(U)---

  Motor                       ToggleLED
---| |-------------------------( )---
Yes the same logic bit in the PLC. Great thanks
 
If they are pushbuttons, the HMI will not write to them until they are pressed. If they're momentary, the HMI will wait the prescribed time after the button is pressed, then write to it again. The HMI will not constantly write to them, unless you're doing something weird.

If they are maintained buttons, then make sure your HMI's will both display the state of the PLC tag itself which seems like common sense, but PainelViews don't always behave consistently with common sense. You have to force them not to lie to you. It has been a while but I think the choice in a PV+ was something like "last value" or "tag value", where "last value" is what the HMI is basing an assumption of the last value it had for the tag and could be a falsehood.

Using separate tags can provide more flexibility if, for example, in the future you add some means to disable buttons from one of the HMIs.
Just simple pushbuttons, no latched or maintained buttons. I'll keep that in the back of my mind for the last value/tag value for sure. Thanks
 
It depends on the type of controls whether interlocking and unique tags are required. The type of HMI may also require extra precautions to ensure that if a setpoint is edited on one of them, the other one reflects that change.
Agree here. Shared tags might be OK for "most" PLCs and "most" HMIs. I'm sure there's SOME combination of devices out there that works weird, but it's fine for the majority.

That said, many of the more robust HMI templates I've seen have separate tags for each HMI, and then each operator locks out the section of the machine they are operating to only be changed by that HMI.

For simple logic, the nature of HMI comms means that sharing data CAN be OK. Reading data via shared tags should almost always OK.

Writing to shared tags could get tricky, and it generally relates to issues where "what if an operator on one HMI starts doing something while another operator starts messing with the same subsystem". As an example, if both operators are trying to jog the same motor, they would be fighting each other. Or what if one operator starts the manual jog at the same time the other operator tries to start the sequence in auto mode? You don't want a situation where the motor is moving and somehow due to a wierd combination of button presses at exactly the wrong time, no one can stop the motor.

If there's only 1 operator between 2 HMIs, then writing to shared tags is probably fine, but that's hard to gaurantee.
 

Similar Topics

Going to a free training class on Tuesday. Just wondering if anyone is using this. Pros? Cons?
11
Replies
6,588
Views
Hi everyone, I’m a junior automation engineer working for a small firm that handles projects in highly regulated industries. I am currently...
0
Replies
250
Views
We have several Mitsubishi PLCs and hmis in our facility and they want a backup of them, what software do I need for Mitsubishi GS 2107-WTBD-N...
2
Replies
563
Views
Is it possible to hook up a siemens hmi and interface with a cgm9090 plc? Maybe by using converters? The cgm9090 is on BACnet. Is there some of...
7
Replies
546
Views
Hello, is it possible to have server tags for 2 HMIs running on EmbeddedView runtime? My HMIs have Windows IOT and I'm using Indusoft Web Studio...
0
Replies
461
Views
Top