Forum Home › Forums › Understanding the Software › dynamicaly change the cmdnum or adress
- This topic has 10 replies, 2 voices, and was last updated 8 years, 6 months ago by epoch79.
-
AuthorPosts
-
September 15, 2015 at 7:37 am #473epoch79Participant
Hi Mikhail.
I need help with the output command formulas.
1 . I have a calculated channel value depends on two positioned relay. I told you before this topic. And I create dynamic picture in scheme editor and connect it to the input channel. I want to change the position by clicking this dynamic picture.
2 . i have to send a command to change the relay position. To do that
I created in devicetemplate.xml
<Cmds>
<Cmd name=”Relay_On” tableType=”Coils” multiple=”false” address=”8″ elemCnt=”1″ cmdNum=”1″ />
<Cmd name=”Relay_Off” tableType=”Coils” multiple=”false” address=”9″ elemCnt=”1″ cmdNum=”2″ />
<Cmds>3. Now i want to add only one output channel to send to relay_on or relay_off.
İf the input channel value == 1 then send 1 to the cmndNum(1)
else send 1 to the cmndNum(2)
i can not resolve how to do that. Because in administrator i added an output channel and set to cmdNum 1. Is there a formula that can dynamicaly change the adress or cmdnum value of the template?? any example ??
i hope i can explain my issue…
thanks.September 15, 2015 at 8:29 am #476MikhailModeratorHi,
Each output channel is bound to the only one command number. In your case you are going to send different commands using the single output channel. It is possible with help of Automatic Control Module
Download the trial and try to realize how it works. If help is needed, write here.
September 15, 2015 at 10:16 am #479epoch79ParticipantI download it. How can i define this rules any idea?
if can do that i want to buy this module.
thanks..September 15, 2015 at 12:11 pm #481MikhailModeratorThe general sequence:
1. Create one output channel with Command number = 1 and Command values = Off-On
It allows to send 0 – off, 1 – on2. Using the module add 2 Command Triggers.
The 1st fires on 0 value of command 1. The 2nd fires on 1 value of command 1.3. Create a one new command under the each trigger with the required command numbers.
If you have already updated Rapid SCADA to version 4.5, please, let me know for sending you the module update.
September 16, 2015 at 7:20 am #482epoch79Participantthank you mikhail, I have done it.
when did you release 4.5 ? and i couldn’t see the source code on githup.For the control module;
You need the machine code. if i want to run this module in another machine every time we pay you 20 dollars?
Or if we want the source code whats gonna cost us ?And on every scada server updates are going to send us updated module dll ?
September 16, 2015 at 9:24 am #483MikhailModeratorHi,
The module version 4.5 is ready, but not published yet. I can send it by e-mail.
This module is not free that is why there is no its sources on GitHub.
The specified cost of licence applied to a one computer. If you are going to purchase a large number of licenses, discount is possible.
At this time I’m not ready to share the source even for a money. If you need some improvements, we can discuss it.
In most cases update is free. It could be payable if the module functionality significantly increases. DLL update is necessary, if SCADA-Server API changes.September 16, 2015 at 10:14 am #484epoch79ParticipantI know the module is not free.
I asked 4.5 version for whole solutions changes on github?
I ‘m using 4.4 source code for development and changed somethings in solutions. First of all I need to get whole 4.5 solutions changes and compare mine. Then I want to buy 4.5 control module if possible…September 16, 2015 at 1:06 pm #485MikhailModeratorCurrently v4.5 is in the develop branch
Now it is stable and can be downloaded.September 17, 2015 at 6:16 am #486epoch79Participantok. Can you send me the module for 4.5 to epoch79@gmail.com.
thanks..September 17, 2015 at 7:30 am #487MikhailModeratorHi,
I’ll send you the module today evening.September 18, 2015 at 5:57 am #499epoch79ParticipantHi Mikhail,
Did yo send the module. I cant see in my mail.
If don can you send now ?
thanks.. -
AuthorPosts
- You must be logged in to reply to this topic.