Can we use Scheme to change Input channel value

Forum Home Forums Understanding the Software Using Formulas Can we use Scheme to change Input channel value

Viewing 15 posts - 1 through 15 (of 22 total)
  • Author
    Posts
  • #5296
    scadarapid
    Participant

    Hi.
    how can I use toggle scheme to change the input channel value.
    I create an input channel than, I need to change the value of the input channel by using toggle Scheme. example when I do not click the toggle scheme the input value = 0, if I click the toggle scheme the input = 1

    Thank you so much

    #5300
    Mikhail
    Moderator

    Hi,

    Add also an output channel and set its formula, for example, to SetVal(Cmd)
    When you send command using this output channel, the input channel will change.
    Specify the output channel in a toggle properties.

    #5310
    scadarapid
    Participant

    Hi, Mikhail

    Can I make an toggle scheme to send data only 0 or 1 to the input channel,
    If I do not have any register and output channel.

    the input channel direct receive the value from toggle scheme. than I will use that value from input channel to make relations to another input channel.

    #5311
    scadarapid
    Participant

    Normally, We use register from ModbusRTU to relate with input channel and output channel. If I do not have any register from ModbusRTU but I need to relate the value from Scada-Administration input channel and output channel.
    How can I do.

    Example I create an input channel number 1000 then, I want it to receive value from button on Web-station when I do not click the button the value of input channel = 0, if I click it the value input channel = 1, after that I will use this value of input channel to make relation something. It likes input enable button.

    I apologize,if my explanation is not good.

    Thank you so much.

    #5317
    Mikhail
    Moderator

    To catch that the button or toggle is clicked you need an output channel.

    #5323
    scadarapid
    Participant

    Thank you so much

    #5325
    scadarapid
    Participant

    Hi, Mikhail

    Now, I can send data from the toggle scheme to my input channel and I make it 2 channels. then I make AND logic with input channel 1 and channel 2. after that, I send the data to my output channel 1 but it does not work.

    how can i do, 2 input channels with 1 output channel. it show data “on” but it dose not send the command to the output device.

    #5329
    Mikhail
    Moderator

    Hi,
    Please provide the screenshots of the settings you already did.

    #5334
    scadarapid
    Participant

    https://www.img.live/image/7UJAPs

    https://www.img.live/image/7UJPiR

    https://www.img.live/image/7UJI4i

    my purpose
    If my enable1 is on and TimeZone1 is on, the output1 channel 9001 is on
    if my enable is off, TimeZone must be off and led will be follow the command.

    thnak you so much.

    #5335
    Mikhail
    Moderator

    What behavior do you expect?

    #5336
    scadarapid
    Participant

    I expect to make time schedule to my output. when enable button value = 0
    my output will follow the switch(on/off), if enable button value = 1, output follow the time schedule on/off.

    I have 8 outputs then, each output has 2 buttons including with enable button( it receive data from the toggle scheme then, I keep it in input channels Administration ) and time schedule button(I use automatic control to send data in input Channel).

    such as if I push the enable button of output number 1, the output number 1 will be on following the timezone(Timeschdule) if timezone number 1(Automatic control will send data to my input channel, I will set time on and time off) is on, the output number 1 will be on(I make AND logic between Enable button and Timeschedule button)

    thank you so much.

    #5337
    scadarapid
    Participant

    How can we do this formula.

    int a;
    if(input1 > 0){
    if(input2 > 0){
    a = input2;
    }
    }else{
    a = input3;
    }
    return a;

    #5338
    scadarapid
    Participant

    I already finish this work.

    If I would like to buy Automatic Control Module. How are differences between Personal and Business.

    Thank you so much.

    #5341
    Mikhail
    Moderator

    I already finish this work.

    Great!

    How are differences between Personal and Business.

    Personal licenses only for hobby. In other cases, you should select licenses of the Business type. To make an order, please follow this link.

    #5343
    scadarapid
    Participant

    When I send data from Automatic to input channel why it always make error server.

    please help
    I will send you all information.

    thank you so much.

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