dynamicaly change the cmdnum or adress

Forum Home Forums Understanding the Software dynamicaly change the cmdnum or adress

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #473
    epoch79
    Participant

    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.

    #476
    Mikhail
    Moderator

    Hi,

    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.

    #479
    epoch79
    Participant

    I download it. How can i define this rules any idea?
    if can do that i want to buy this module.
    thanks..

    #481
    Mikhail
    Moderator

    The general sequence:
    1. Create one output channel with Command number = 1 and Command values = Off-On
    It allows to send 0 – off, 1 – on

    2. 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.

    #482
    epoch79
    Participant

    thank 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 ?

    #483
    Mikhail
    Moderator

    Hi,

    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.

    #484
    epoch79
    Participant

    I 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…

    #485
    Mikhail
    Moderator

    Currently v4.5 is in the develop branch
    Now it is stable and can be downloaded.

    #486
    epoch79
    Participant

    ok. Can you send me the module for 4.5 to epoch79@gmail.com.
    thanks..

    #487
    Mikhail
    Moderator

    Hi,
    I’ll send you the module today evening.

    #499
    epoch79
    Participant

    Hi Mikhail,
    Did yo send the module. I cant see in my mail.
    If don can you send now ?
    thanks..

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.