Forum Home › Forums › Understanding the Software › Using Formulas › Can we use Scheme to change Input channel value
- This topic has 21 replies, 2 voices, and was last updated 5 years ago by Mikhail.
-
AuthorPosts
-
April 17, 2019 at 9:43 am #5296scadarapidParticipant
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 = 1Thank you so much
April 17, 2019 at 3:09 pm #5300MikhailModeratorHi,
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.April 18, 2019 at 2:11 am #5310scadarapidParticipantHi, 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.
April 18, 2019 at 4:09 am #5311scadarapidParticipantNormally, 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.
April 18, 2019 at 2:46 pm #5317MikhailModeratorTo catch that the button or toggle is clicked you need an output channel.
April 19, 2019 at 1:56 am #5323scadarapidParticipantThank you so much
April 19, 2019 at 4:22 am #5325scadarapidParticipantHi, 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.
April 19, 2019 at 11:16 am #5329MikhailModeratorHi,
Please provide the screenshots of the settings you already did.April 22, 2019 at 2:13 am #5334scadarapidParticipanthttps://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.
April 22, 2019 at 6:31 am #5335MikhailModeratorWhat behavior do you expect?
April 22, 2019 at 7:15 am #5336scadarapidParticipantI 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.
April 22, 2019 at 8:06 am #5337scadarapidParticipantHow can we do this formula.
int a;
if(input1 > 0){
if(input2 > 0){
a = input2;
}
}else{
a = input3;
}
return a;April 22, 2019 at 8:44 am #5338scadarapidParticipantI already finish this work.
If I would like to buy Automatic Control Module. How are differences between Personal and Business.
Thank you so much.
April 22, 2019 at 1:28 pm #5341MikhailModeratorI 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.
April 22, 2019 at 2:21 pm #5343scadarapidParticipantWhen 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.
-
AuthorPosts
- You must be logged in to reply to this topic.