manjey73

Forum Replies Created

Viewing 15 posts - 886 through 900 (of 924 total)
  • Author
    Posts
  • in reply to: How can I do #2621
    manjey73
    Participant
    in reply to: How can I do #2619
    manjey73
    Participant

    And you think I’m talking to you in plain English ? I just use online translate 🙂

    Draw the picture in the scheme of what you should have, without adding what is not and as you did before. As the mention of Arduino in your case just confuses the situation.

    I’ll try to do screenshots as it works for me with the Modbus RTU.

    in reply to: How can I do #2616
    manjey73
    Participant

    You are not using Arduino with RapidScada, and use some kind of analog output ?
    Well, and send commands directly to the module output with Automatic Control Modul

    In the presence of Hysteresis in the module you do not need any formula.

    In manual mode you can force to work the module as you want ? Here’s the same commands send through an automatic how to activate or deactivate.

    in reply to: How can I do #2612
    manjey73
    Participant

    You need Automatic Control Modul.

    Do I understand correctly that you have a PC with RapidScada and modules input / output and you want to control directly from RapidScada ?

    The module serves for automatic control of external devices.
    To avoid permanent switching off of the desired additional channel with the formula of Hysteresis and already according of this channel to send a command to the output module.

    int[] HysNum = new int[1];
    bool[] Hys = new bool[1];
    public double Hysteresis(double inCnl, double low, double high)
    {
    bool q = Val(CnlNum) > 0;
    int res = Array.IndexOf(HysNum, CnlNum);
    if (res == -1)
    {
    res = HysNum.Length;
    Array.Resize(ref HysNum, res+1);
    Array.Resize(ref Hys, res+1);
    HysNum[res] = CnlNum;
    Hys[res] = q;
    }
    if (inCnl < low) Hys[res] = true;
    if (inCnl > high) Hys[res] = false;
    return Convert.ToDouble(Hys[res]);
    }

    example – Hysteresis(Val(414),950,1050) —- Val(414) this sensor channel

    The module configures for triggering the channel, with one value you pass to the device value to 5v the other to 0v the value

    in reply to: How can I do #2610
    manjey73
    Participant

    You need a formula for Hysteresis ?

    If it is difficult to explain in words, maybe draw a picture of what should be connected and put on the exchanger ?

    in reply to: How can I do #2607
    manjey73
    Participant

    If you already implemented to work on the Arduino for input variable then you only need the Automatic Control Module to send data of temperature change using Modbus just multiplying it by 10
    You scetch is compared with the value 1000
    Then everything will make your program in Arduino

    Or you want to make an analog program the Arduino directly on Rapid Scada ?

    • This reply was modified 8 years, 7 months ago by manjey73.
    in reply to: How can I do #2602
    manjey73
    Participant

    You need to do signal scaling from 0-100 to 0-5 ?
    Describe the task more precisely

    To scale the signal, I used the formula

    double Scaler (double input, double in_min, double in_max, double out_min, double out_max)
    
    {
    double out1 = 0;
    double out2 = 0;
    double output = 0;
    double diff = in_max - in_min;
    
    if (diff != 0) 
    {
    if (input > in_max) out1 = in_max;
    else out1 = input;
    if (in_min > out1) out2 = in_min;
    else out2 = out1;
    output = (out_max - out_min) / diff * (out2 - in_min) + out_min;
    }
    return output;
    }

    Scaler(Val(121), 0, 100, 0, 5)
    If the value of the measured signal in channel 121 is higher than 100, the output signal will be equal to 5 in this example, below 0, the output signal will be equal to 0

    • This reply was modified 8 years, 7 months ago by manjey73.
    in reply to: Integration of photos of Shift Engineers #2573
    manjey73
    Participant

    The number of characters promise to increase.
    Now you can apply the formula to read data from a file, then 1000 characters may be enough, depending on the task.

    You can also share a formula and thereby increase the overall code.

    • This reply was modified 8 years, 7 months ago by manjey73.
    in reply to: Integration of photos of Shift Engineers #2570
    manjey73
    Participant

    You can change the pictures from the Collection in a dynamic pattern depending on the received data.

    On account of the text does not prompt, it works exactly in the tables through the base unit.dat

    in reply to: Automatic Control Issue #2545
    manjey73
    Participant

    Add them to the database formulas and then use them in the input or output channels.

    There are examples in Russian, use online translator.
    There are errors due to features of this web. In some places instead of a dash is a long dash.

    Formuls

    Read more about formulas in the documentation Using Formulas

    in reply to: Automatic Control Issue #2543
    manjey73
    Participant

    You can use additional channel formula timer and is already on the channel to configure ModeAutoControl

    The timer is reset if the 1 will disappear. If you want to trigger on the pulse, then you can add RS trigger

    There are various options if you are using formulas

    in reply to: RapidSCADA on Linux/Ubuntu #2518
    manjey73
    Participant

    It is not so simple. Part of the xml configuration do not work if this is set to true in another parameter. In this case, data is retrieved directly from the database

    in reply to: RapidSCADA on Linux/Ubuntu #2515
    manjey73
    Participant

    Further, on the Unix version it is not possible to find any command to configure the communication channels the way that it is described online in “Communication with Devices Configuration”. Considering that parameters such as PortName, BaudRate, DataBits etc. are not stored in the .DAT tables, how can they be configured, even if a Windows Workstation is used to set them?

    ….. /scada/ScadaComm/Config – ScadaCommSvcConfig.xml

    All the settings of the communication lines – port boadrate etc So there the configuration files, Email and all the rest of the equipment

    Also see configuration files in ….. /scada/ScadaServer/Config

    For example setting ModeAutoControl.xml if it is installed

    I advise you to install Windows (trial version) in a virtual machine to understand what and where is and how is configured

    • This reply was modified 8 years, 8 months ago by manjey73.
    in reply to: Limitation #2508
    manjey73
    Participant

    In the basic version, no limitations except the number of channels is 65535
    Restrictions are only for paid modules

    in reply to: Web application output value #2450
    manjey73
    Participant

    The presence or absence of the formula Val(102) in the entrance channel should not affect error and the inability of the server.
    However, without this formula in the calculated input channel not received value from the output channel.

    • This reply was modified 8 years, 9 months ago by manjey73.
Viewing 15 posts - 886 through 900 (of 924 total)