Announcement

Collapse
No announcement yet.

instruction to dissable plc if hmi is disconnected

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Todd Dice
    replied
    Originally posted by Kp386 View Post
    Ha, it worked! its these simple things that trip me up lol.

    Thank you!
    Kewakl is one of the experts on use of the PxK.

    Leave a comment:


  • Kp386
    replied
    Ha, it worked! its these simple things that trip me up lol.

    Thank you!

    Leave a comment:


  • kewakl
    replied
    In the PAC, pick the boolean you want to use. Make note of its system ID. C-nnnnnnn
    In the HMI go to the Panel to PLC section. Locate the Good Communication Toggle. Make your tagname in the dialog. When you leave that field, the software will prompt you to define this tag. In the popup (Tag Database Editor) dialog, ensure the datatype is DISCRETE (it should default to this because of the field topic)
    Enter the target PLC --- your PAC device.
    Put a C in the Memory Type field and the number of the bit in the Address field.
    Acknowledge the changes.
    (Save)
    Dump the edited programs - in the PAC, watch the new tag for a 5-second toggle.

    Leave a comment:


  • Kp386
    replied
    P2-550
    EA9-T10WC

    This tag is located in the HMI? If so I imagine I would need to export the tags from the HMI and imort them into the PLC, is that correct?

    Leave a comment:


  • kewakl
    replied
    What PLC and what HMI?
    Model numbers please.

    If a full CMore, you can use the Good Communication Toggle bit. It toggles on a 5-second interval.(in PLC<->Panel..Panel to PLC)
    You can watch this bit in the PLC and take whatever measures you need in the event of a disconnect.

    If it is a CMore Micro, try ZEROING the Current Screen tag value and watch for the panel to repopulate it. -- I HAVE NOT TRIED THIS and do not know how this may affect any existing code.
    Last edited by kewakl; 01-15-2020, 10:13 AM.

    Leave a comment:


  • Kp386
    started a topic instruction to dissable plc if hmi is disconnected

    instruction to dissable plc if hmi is disconnected

    Currently if I disconnect my hmi from my plc the plc will continue to operate normally . What I want is some kind of NO contact I can put into my "control power" logic line that will open when I disconnect the hmi from the plc. I am communicating from hmi to plc via a single direct ethernet cable. seems like this should be easy... just not sure what to use.

    thanks
Working...
X