adccommunitymod (AutomationDirect) asked a question.

Single button object to toggle multiple discrete inputs

Created Date: October 13,2017

Created By: SoilTech

**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****

I have a group of button objects on my C-more panel spread across several screens which I can toggle on/off independently, but I'd also like to give the user a single button which will toggle all of the button objects to the on or off state as well. I'm not sure how to accomplish this so that I can toggle all the discrete inputs on my Productivity 2000 as a group or independently from the HMI. Any suggestions would be appreciated. Thanks in advance.


  • adccommunitymod (AutomationDirect)

    Created Date: October 13,2017

    Created by: SoilTech

    I have a group of button objects on my C-more panel spread across several screens which I can toggle on/off independently, but I'd also like to give the user a single button which will toggle all of the button objects to the on or off state as well. I'm not sure how to accomplish this so that I can toggle all the discrete inputs on my Productivity 2000 as a group or independently from the HMI.

    Any suggestions would be appreciated. Thanks in advance.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: October 13,2017

    Created by: RogerR

    In DoMore, the Copy Data command works for this function.

    If the buttons are tied to C-bits in the Productivity 2000, the CPD Copy Data command should work.

    Use a one shot pulse in the ladder line to copy a zero or one to the C-bit, which should change its state.

    The screens then should update their status with the new PLC status.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: October 13,2017

    Created by: SoilTech

    The tagnames for the buttons are discrete inputs on the PLC and have system ID C-0000XX. When I try to use a CPD instruction, it will not allow me to choose any of these tagnames for the destination. Should I have created the project with the tagnames designated as Boolean instead of discrete input?

  • adccommunitymod (AutomationDirect)

    Created Date: October 13,2017

    Created by: SoilTech

    I should add that these buttons are used to enable PID loops on multiple micro diaphragm DC pumps for air sampling. The pumps use a 0-5VDC signal to control speed (0V = OFF) via the PID instruction on my ladder.

  • adccommunitymod (AutomationDirect)

    Created Date: October 13,2017

    Created by: RogerR

    The tags that I have always used on the screen buttons are Boolean. When the tag appears on the Cmore screen picklist at the button object, popup appears that says "Address C012032 Data Type Discrete ".

    Attaching a couple of pics showing a Cmore button with the popup and the Pac CPD command of the button.

    { "data-align ": "none ", "data-size ": "large ", "data-attachmentid ":108423}

    { "data-align ": "none ", "data-size ": "large ", "data-attachmentid ":108424}

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: October 13,2017

    Created by: kewakl

    RogerR , I cannot make out the text of your pics.

    SoilTech , can you clarify what you need to happen with the toggling? Do you really mean to toggle PHYSICAL DISCRETE INPUTS with the HMI?

  • adccommunitymod (AutomationDirect)

    Created Date: October 13,2017

    Created by: RogerR

    A little better picture of the address and data type shown in the Cmore screen when the mouse is passed over the field for the tag.

    { "data-align ": "none ", "data-size ": "full ", "data-attachmentid ":108447}

  • adccommunitymod (AutomationDirect)

    Created Date: October 14,2017

    Created by: CuttingEdgeElec

    If you would like to keep your solution HMI based you could use the event manager to toggle tags. Simple but tedious.

  • adccommunitymod (AutomationDirect)

    Created Date: October 16,2017

    Created by: SoilTech

    kewakl I am toggling tagnames in my Productivity 2000 that are set up as discrete inputs but they are not physical discrete inputs, they are just "ON/OFF " toggles used as NO contacts in my ladder rungs, not physical contacts. I see this was probably a poor decision in my design as I should have created them as booleans.

    CuttingEdgeElec I have not looked at the event manager. I will check it out. This is my first ever PLC project & first time programming an HMI.

    RogerR Thanks for the screenshots. I have the same sort of information upon mouseover of the tag name. Address=C000001; DataType=Discrete. The tagnames are defined as Discrete Inputs in the tagname database imported from my PLC.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: October 27,2017

    Created by: SoilTech

    In the end I have solved this issue using the event manager as CuttingEdgeElec had suggested. It was a simple, clean solution. Thanks!