Automatic Control Module Channel Data (NO) trigger

Forum Home Forums Understanding the Software Automatic Control Module Channel Data (NO) trigger

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #11705
    ptrenta
    Participant

    Hello,
    i need to set value giving command on a group of device OPC UA, when push button:

    Button ON – send value 1 to command 1 to device (211,212,213 )
    Button OFF – send value 0 to the same group

    i have channel 30010 connected to button OFF and channel 30011 connected to button ON
    OUTPUT CHANNEL
    30010 -> SetVal(20011,0)
    30011 -> SetVal(20011,1)
    in this way the buttons change value of input 20011 (Calculated Discrete)

    channles

    With Automatic Control Module i can trigger the input and send the commands to devices.

    The problem is that if i push 2 times button ON, the 2th time the action is not executed, seem that “channel data trigger” trigger only when the value change.

    Is there something wrong?

    • This topic was modified 2 months ago by Mikhail.
    #11707
    Mikhail
    Moderator

    Hello,
    Triggers of the “On channel data” type fire when channel value changes. In your case, may be an “on command” trigger would be more appropriate.

    #11708
    ptrenta
    Participant

    You’re right, in effect i had to solve with a not elegant working solution.
    “on command” works very good.

    Thanks

    #11711
    Mikhail
    Moderator

    🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.