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

This topic contains 21 replies, has 2 voices, and was last updated by Mikhail Mikhail 5 months, 3 weeks ago.

Viewing 15 posts - 1 through 15 (of 22 total)
  • Author
    Posts
  • #5296
    Avatar
    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
    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
    Avatar
    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
    Avatar
    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
    Mikhail
    Moderator

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

    #5323
    Avatar
    scadarapid
    Participant

    Thank you so much

    #5325
    Avatar
    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
    Mikhail
    Moderator

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

    #5334
    Avatar
    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
    Mikhail
    Moderator

    What behavior do you expect?

    #5336
    Avatar
    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
    Avatar
    scadarapid
    Participant

    How can we do this formula.

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

    #5338
    Avatar
    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
    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
    Avatar
    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.