manjey73

Forum Replies Created

Viewing 15 posts - 721 through 735 (of 923 total)
  • Author
    Posts
  • in reply to: IEC 60870-5-101/104 protocols support #6603
    manjey73
    Participant

    Currently only using the OPC server. If you find an OPC UA for this Protocol it will be better

    in reply to: Export to Database Module #6568
    manjey73
    Participant

    It is no different from other modules. Will work

    in reply to: how to display number in decimal? #6561
    manjey73
    Participant

    Set the output format of the input channel as D

    manjey73
    Participant

    Hysteresis added to Formula tab

    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]);
    }

    In the channel, use the formula Hysteresis(Val(X), 32.5, 33.5))
    Where Val(X) is your measurement channel. Enabling and disabling the output is already configured for the channel in which you use the Hysteresis formula

    manjey73
    Participant

    It is not correct to compare the real number, simply because it can fluctuate within certain limits, for example, 32,999-33, 019, and then you will have the output turned on and off. You need to apply Hysteresis to avoid this. Kind of laid out the formula of Hysteresis on the forum.

    in reply to: Open in Web Browser #6520
    manjey73
    Participant

    In Russian, too, the HTTP Error 503 error. The service is unavailable.

    in reply to: SNMP Device – Value return a comma #6514
    manjey73
    Participant

    Do not pay attention, in SNMP, the variable itself is most likely still text with a label that it is a number. The Communicator displays it probably before sending it to the Scada database. Use the number format in the table to apply the correct multiplier

    in reply to: SNMP Device – Value return a comma #6511
    manjey73
    Participant

    How is the resulting number displayed in the Scada database?

    Yes, you can define regional settings in the code. But I did not study this driver.

    • This reply was modified 6 years, 2 months ago by manjey73.
    in reply to: SNMP Device – Value return a comma #6508
    manjey73
    Participant

    in appearance, this is like a number, the separators depend on the regional settings of the PC

    If this is string data, it is unlikely to work without changing the driver…. formulas are useless, since you will only have the first 8 bytes

    • This reply was modified 6 years, 2 months ago by manjey73.
    in reply to: Connecting Devices Using Modbus Protocol #6492
    manjey73
    Participant

    Congratulations, now you just need to create a Table or Diagram interface And connect the required channels to it.

    in reply to: Open in Web Browser #6489
    manjey73
    Participant

    It is strange that you have selected a project in the Interface and not interface files.

    The Interface object must be created either in tabular form or in graphical form

    Interface-Create a Table file (or Scheme)

    Add the necessary input channels in a table view

    • This reply was modified 6 years, 2 months ago by manjey73.
    • This reply was modified 6 years, 2 months ago by manjey73.
    in reply to: Connecting Devices Using Modbus Protocol #6480
    manjey73
    Participant

    https://ibb.co/TvQBh9y

    It seems that you don’t even need to rearrange the bytes, I entered a decimal number, and the calculator showed a different representation. “Most accurate representation”

    http://floatingpoint.ru/value/double/416A61BD7388E68A

    • This reply was modified 6 years, 2 months ago by manjey73.
    in reply to: Connecting Devices Using Modbus Protocol #6479
    manjey73
    Participant

    For example here you have everything perfectly readable
    https://ibb.co/Yf7Kjm9

    When you read once an hour, you may need to uncheck “Stay connected” in the line settings. Actually, the problem is not in Scada, but perhaps in the communication settings, the settings of the device itself (it does not keep the socket open for so long and closes it by timeout), and so on.

    in reply to: Open in Web Browser #6477
    manjey73
    Participant

    https://ibb.co/K6yQwD8

    • This reply was modified 6 years, 2 months ago by manjey73.
    in reply to: Open in Web Browser #6475
    manjey73
    Participant

    You just don’t know how to cook it 🙂

    <img src="<img src=”https://i.ibb.co/NxYkSrG/Rights.jpg&#8221; alt=”Rights” border=”0″ />” alt=”Rights tab” />

    • This reply was modified 6 years, 2 months ago by manjey73.
Viewing 15 posts - 721 through 735 (of 923 total)