Is it possible to send 2 commands by one click?

Forum Home Forums Understanding the Software Using Formulas Is it possible to send 2 commands by one click?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #12831
    myscada
    Participant

    I defined a function like the following

    public int test()
    {
     SetVal(CnlNum, Cmd);
     SetVal(101, Cmd);
     return 0;
    }

    “SetVal(CnlNum, Cmd)” works for the output channel where the formula is calculated. But “SetVal(n, Cmd)” works for the input channel “n”. How can I send a command to another output channel “n” ( where the formula is not calculated ) simultaneously? THX

    #12832
    manjey73
    Participant

    You yourself wrote the formula how it is possible. If you need to send commands directly to the devices, then you need an automatic control module.

    #12834
    myscada
    Participant

    THX. I will try automatic control module.

    #12839
    Mikhail
    Moderator

    Setting channel value doesn’t cause sending a command. Therefore the module is needed.

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