Mikhail

Forum Replies Created

Viewing 15 posts - 5,386 through 5,400 (of 6,128 total)
  • Author
    Posts
  • in reply to: SNMP #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 9 years ago by Mikhail.
    in reply to: Error on the web browser #1857
    Mikhail
    Moderator

    It usually happens if WCF for .NET Framework 4+ is not installed. See this video

    in reply to: SNMP #1854
    Mikhail
    Moderator

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

    in reply to: SNMP #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.

    in reply to: OPC v2.0 can get tags but NOT values #1850
    Mikhail
    Moderator

    Thank you Young for so kind words 🙂
    Merry Christmas!

    in reply to: OPC v2.0 can get tags but NOT values #1848
    Mikhail
    Moderator

    Dear Young,

    Thank you for the research.
    I have an idea:
    1. Copy ScadaCommMono.exe from Rapid SCADA for Linux installation package to C:\SCADA\ScadaComm\
    2. Run it instead of the service.

    This is the same Communicator but works as a console app.
    Does it work with your OPC server?

    in reply to: OPC v2.0 can get tags but NOT values #1846
    Mikhail
    Moderator

    I think the cause that the service and your app work by different users. Service works as system. Your app works as other user. Try changing the user of the service. See the end of the article http://rapidscada.org/connecting-devices-using-opc-standard/
    Please write about the result.
    Note. What do you think is OPC UA is actual for you?

    in reply to: SCADA commnuication #1842
    Mikhail
    Moderator

    Call number is a device additional address in terms of Modbus.
    If you need advice about configuring Communicator, provide more information about the issue.

    in reply to: Comunication with Siemens Plcs via Profinet or Ethernet #1841
    Mikhail
    Moderator

    Hi,

    There is no native Rapid SCADA driver supports Profinet.
    You can connect to Profinet device using
    1. OPC server
    2. By creating (by your own or purchase) a Profinet driver for Rapid SCADA.

    As far as I know, Siemens S7 supports Modbus protocol. You can use Modbus devices with Rapid SCADA out-of-the-box.

    in reply to: ModAutoControl executing a binary file on event ? #1838
    Mikhail
    Moderator

    Be careful, if the statement is true on every program cycle, you will run a lot of processes.

    in reply to: ModAutoControl executing a binary file on event ? #1837
    Mikhail
    Moderator

    Hi,

    You can try using in a formula the following code:

    System.Diagnostics.Process.Start("C:\you_file.bat");
    

    Please tell about the result.

    in reply to: SCADA commnuication #1836
    Mikhail
    Moderator
    in reply to: Install exe. file Rapid Scada on Raspberry PI 3 #1833
    Mikhail
    Moderator

    What OS do you use on your RPi?

    in reply to: Help Rslinx Gateway Opc Server #1831
    Mikhail
    Moderator

    Please read this manual http://rapidscada.org/connecting-devices-using-opc-standard/
    In case of additional questions, ask on this forum.

    in reply to: Sending JSON text to Rapid SCADA #1827
    Mikhail
    Moderator

    4. Install Rapid SCADA on the embedded server if it is possible. And optionally, install the web app of Rapid SCADA on the remote server.

Viewing 15 posts - 5,386 through 5,400 (of 6,128 total)