Forum Home › Forums › Understanding the Software › Using Formulas › Send command
Tagged: send command
- This topic has 42 replies, 9 voices, and was last updated 6 months ago by
SGG.
-
AuthorPosts
-
June 27, 2020 at 12:27 pm #6957
Eyad
ParticipantHi
I want to ask if we can pass command value with command button and avoid the pop screen used to pass command value?
also, i need to toggle the command boolean after send the command. I mean after set command to 1, we need to rest the value to 0.
thank for your support.
June 29, 2020 at 1:09 pm #6959Mikhail
ModeratorHi,
Some scheme components (for example, Button and Toggle) support an action “Send command now”. It allows to avoid the command dialog. Toggle component automatically defines a command value. Button always send 0 value. If needed, command value can be calculated in a formula of output channel.
June 29, 2020 at 1:34 pm #6961Eyad
ParticipantHi,
We could sort out the issue of command and use “Send command now”. Still we are struggling how to make command button as pulse. We arranged to make button to send value 1 but and channel value become. we need it as pulse, 1 and then reset to 0. Your support here is very much appreciated.
Thank you
June 30, 2020 at 11:58 am #6964Mikhail
ModeratorHi,
Am I understand correctly: you need 2 commands. First, send 1 and then after a moment send 0?
If yes, Automatic Control Module can do this function.June 30, 2020 at 12:26 pm #6968Eyad
ParticipantHi,
Thank you for your support.
We need to set the value equal to 1 once the push button in graphics is pressed and the value automatically resets to 0 when the button is released. I don’t know if that is considered as two commands here because we usually do that as configuration on the type of push buttons in SCADA screens graphics development.
July 1, 2020 at 8:18 am #6970Mikhail
ModeratorHi,
The existing controls react only on push down event. To process a release event, a new control should be developed. Is there a workaround? What kind of process your users need to control?
July 6, 2020 at 12:49 pm #6985Eyad
ParticipantHi,
We are making face plate for Pump control. We have 2 push buttons to start and stop pump manually. On the PLC program, there is latch on the pump start which means no need to keep push button signal 1 to keep pump running. So that we need to reset the signal to 0 again once push button released. Also if run manually signal kept 1, we can’t stop the pump manually using the stop push button.
If we can have an event on push button press and another event on button release, it will solve the issue.
Hope we could have a formula to achieve that.
Thank you
July 6, 2020 at 2:14 pm #6987Mikhail
ModeratorHi,
Is it important how long an operator keeps the button down?July 6, 2020 at 5:24 pm #6988Eyad
ParticipantHi,
No it is not important. Just once mouse click push the button, signal become 1. Once release the click signal return to 0.
July 7, 2020 at 4:14 pm #6991Mikhail
ModeratorIn this case, you should use Automatic Control Module to send a release command. Use a trigger on command.
August 19, 2020 at 2:05 am #7180qiuqiaoan
Participanthello Eyad,
i need this pulse command function also.
have you solved this?August 19, 2020 at 3:11 am #7181qiuqiaoan
Participanthello Mikhail,
i tried to use the “Automatic Control Module”, but i don’t see where i can set the command pulse duration. only a delay setting.and the pulse type command is very common and widely used in process control system. this should be a very basic function of the repaid system.
August 19, 2020 at 1:25 pm #7182Mikhail
ModeratorYou notified me that you have figured it out.
December 1, 2020 at 2:53 am #7623hethongscada62
ParticipantDear Mr.Mikhail and All,
To continue with this Topic.
I need these functions too (We need to set the value equal to 1 once the push button in graphics is pressed and the value automatically resets to 0 when the button is released).
If this problem will be resolved Pls to share the result with me. Because these functions can help me to integrate Rapid Scada system to remote RF controller for fan, air-conditioner, motorized curtain …
Thanks and best regardsDecember 1, 2020 at 12:02 pm #7625Mikhail
ModeratorHi,
Buttons on web pages react only on press down. You should think how to deal with it. For example, create 2 buttons (Off and On) or send the 2nd command after several seconds. Which way is better for you? -
AuthorPosts
- You must be logged in to reply to this topic.