SNMP

Viewing 15 posts - 1 through 15 (of 22 total)
  • Author
    Posts
  • #843
    scodina
    Participant

    I’m trying snmp cimunication and I can read OID with int 32 and discrete values, but I m not able totale read octet string and gauge32. How il it possible?

    #844
    scodina
    Participant

    The strange thing is that in The login report rapid scada read correctly The value and it says The correct type, for example signalx= 311 (gauge32). But in The signal table appear only this: – – -, but as I sad for int32 value types there is no problems, only for gauge32 and strings, octet string. Pleas help!thanks

    #845
    scodina
    Participant

    Log report *

    #848
    Mikhail
    Moderator

    OctetStrings are shown in Communicator in the new version of KpSnmp but they can’t be passed to SCADA-Server because SCADA-Server works with number values.

    Reading Gauge32 issue has been added to tracker, it will be solved within 2 weeks. If you need it urgently please let me know.

    #851
    scodina
    Participant

    Thank you, I ll wait for two weeks. I’ll have to download only kpsnmp or there will be a new rapidscada?
    Another question : is there the possibility to transform time thick value type in a format like this : 2days 5ours 2 minutes ecc ecc. Thanks

    #856
    Mikhail
    Moderator

    Most likely you would update the whole SCADA-Communicator when KpSnmp update become ready.

    Where are you need to display time?

    #868
    scodina
    Participant

    For example, monitoring the time elapsed of a device with a OID time thick time value I had a number in milliseconds that increase continuesly. To visualize it in a scheme maybe I need a formula… I’ll try

    #870
    Mikhail
    Moderator

    In the current version you should create 3 (or more) calculated input channels for hours, minutes and seconds.
    In the next major version there will be time output format.

    #919
    Mikhail
    Moderator

    The correct type, for example signalx= 311 (gauge32)

    The issue is fixed. Please write me by email to send you an update.

    #1852
    Passat
    Participant

    Hi, is there a way to pass OctetString to ScadaServer?? I have some string values i need to display in the web application.
    If it is not possible, then how can i bypass the scadaserver and show it in the web application? thanks

    #1853
    Mikhail
    Moderator

    Hi,
    Currently, only predefined strings from enumerations are supported. You can’t display custom string as values of input channels of Rapid SCADA. If your strings can be specified in enumeration, I can provide the details how to configure Rapid SCADA. Otherwise, if you are able to receive the strings and display them on your own web page, you can embed this page into the web application of Rapid SCADA.

    #1854
    Mikhail
    Moderator

    I mean, you should know all the possible values of the strings.

    #1855
    Passat
    Participant

    Hi Mike, thanks a lot for your explanation. I would like to know how to configure my strings in the enumeration.

    #1860
    Mikhail
    Moderator

    Hi,

    1. Create input channels for string tags.
    2. Create such formula in Formulas table (not tested):

    int GetStrNum()
    {
      byte[] buf = BitConverter.GetBytes(Cnl);
      string s = Encoding.Default.GetString(buf);
      if (s == "MyVal1") // your string values
        return 1;
      else if (s == "MyVal2")
        return 2;
      else
        return 0;
    }
    

    3. Create your own record into Unit table. Use the units 36 and 37 as examples.

    4. Enter GetStrNum() in formula field of input channels, change channel type to Discrete and change format to Text.

    Please write about the result.

    • This reply was modified 7 years, 3 months ago by Mikhail.
    #1862
    Mikhail
    Moderator

    Also you must update KpSnmp.dll

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