Forum Home › Forums › Understanding the Software › Using Formulas › Sending a Signal to a Scada Unit
- This topic has 6 replies, 2 voices, and was last updated 4 years, 11 months ago by
Mikhail.
-
AuthorPosts
-
March 23, 2021 at 12:12 pm #8558
Rich Ex
ParticipantHi Friends ,
I’m sure this is a simple one but I can t get it working .On my Scada slave I have an address that is mapped to input channel 13 ( real ) in my Rapid Scada .
I need to send a ‘1’ back to the Scada slave to reset the unit . Can anyone help please , I think I need an output channel but how does this map to the channel 13 , I have tried the Cmd function but this does not work .Eventually I want to link this to code I have written that sends the ‘1’ at 1 second past midnight , this bit works ok as I see the status change on the channel , its just not sending it back to the Scada slave .
Thanks as always
RichMarch 23, 2021 at 2:02 pm #8560
MikhailModeratorHi,
Do you use Modbus protocol?
If yes, you should create a command in the Modbus template. Then check the command by sending commands from Communicator.
Output channel is also needed. Please provide screenshots.March 24, 2021 at 9:14 am #8564Rich Ex
ParticipantMikhail ,
Thanks it was my template as you suggested…. I had added the reset channel as a coil , but not under the ‘command’ tab . I have deleted this and added as a new command ‘1’ and now it works ..
Thanks as alwaysRich
March 24, 2021 at 12:01 pm #8565Rich Ex
ParticipantHi Mikhail ,
seems my automatic part does not work .
I can send the command ok in Communicator .
Here is my o/p channelThe formula I use to reset the unit at 56 seconds past midnight , I tested this on a dummy calculated channel and it works .
I know modified it to work on the o/p channel and it compiles ok but does not sent the reset signal on the o/p channel
https://ibb.co/qWvJMGx
I think i did something wrong around the Cmd command , can you help please .Kind regards
RichMarch 24, 2021 at 1:18 pm #8566
MikhailModeratorHi,
If you need to send commands automatically according to some conditions, Automatic Control Module would help you.
March 25, 2021 at 10:59 am #8570Rich Ex
ParticipantHi Mikhail ,
Is it not possible to send a signal from my formula then ?
My time code works I just need know the command to send ‘1’ to the o/p address I spoke about .Thanks
RichMarch 25, 2021 at 2:06 pm #8572
MikhailModeratorHi,
You can’t send a command from a formula. However, you can set input channel value from a formula.
To send commands according to conditions, Automatic Control Module was created. -
AuthorPosts
- You must be logged in to reply to this topic.