Mikhail

Forum Replies Created

Viewing 15 posts - 1,051 through 1,065 (of 6,388 total)
  • Author
    Posts
  • in reply to: Channel Read Bits #15056
    Mikhail
    Moderator

    In version 6 you can try creating a format to display value in binary form. Format code would be B

    in reply to: Read individual holding register #15055
    Mikhail
    Moderator

    Or

    public double GetBits(double val, int n, int len)
    {
        ulong ulVal = (ulong)val;
        return (ulVal >> n) & (ulong)((1 << len) - 1);
    }
    
    public CnlData GetBits(CnlData cnlData, int n, int len)
    {
        return NewData(GetBits(cnlData.Val, n, len), cnlData.Stat);
    }
    in reply to: Read individual holding register #15054
    Mikhail
    Moderator

    Hi,

    public double GetBits(double val, int start, int end)
    {
        UInt64 uintVal = (UInt64)val;
        int bitCnt = end - start + 1;
        int maskShift = 64 - bitCnt;
        return (uintVal >> start) & ((0xFFFFFFFFFFFFFFFF << maskShift) >> maskShift);
    }
    in reply to: OPC DA no values received #15032
    Mikhail
    Moderator

    Communicator works as a service with the system account, while most of OPC clients work as an application.
    Try the following:
    1. Stop the ScadaComm6 service.
    2. Open command line and execute ScadaCommWkr.exe
    What will you get in ScadaComm.log and communication line log?

    in reply to: The problem of InfluxDB on Scada V6 #15031
    Mikhail
    Moderator

    Thank you for the solution.

    in reply to: OPC DA no values received #15023
    Mikhail
    Moderator

    Can you compare the received data (unspecified) with data collected by any other OPC client? For example, Prosys OPC UA Browser.

    in reply to: OPC DA no values received #15021
    Mikhail
    Moderator

    The above is ScadaComm.log
    But we need lineXXX.log

    in reply to: Send command #15020
    Mikhail
    Moderator

    Option 1
    Use enumeration format, for example, On-Off. The command sending form will show several buttons.

    Option 2
    Put several buttons on a scheme (mimic diagram). In this case you need a channel of the output type for each button, because a button component sends value = 0.

    in reply to: OPC DA no values received #15013
    Mikhail
    Moderator

    Hello,
    Could copy a part of communication line log?

    in reply to: Send command #15011
    Mikhail
    Moderator

    Do you need many buttons that send different command values via the same channel?

    in reply to: Rest API integration #14999
    Mikhail
    Moderator

    Creating a driver seems like the best option. Check this article.
    Otherwise, you could write data to a database, then read by Rapid SCADA.

    Mikhail
    Moderator

    1. Open IIS management console. Type IIS in Windows search bar.
    2. Select the Scada website.
    3. Press the Restart button.

    Mikhail
    Moderator

    Hi,
    You could configure Automatic Control Module to send message when channel status is 0, for example. Check this video.

    in reply to: The web page plug-in in admin cannot be loaded #14989
    Mikhail
    Moderator

    Hello,

    Rapid SCADA 6.2.1 requires .NET8. Make sure that you use the latest Rapid SCADA version and .NET 8 (ASP.NET and Desktop) is installed.

    in reply to: RapidScada Windows 11 on ARM #14987
    Mikhail
    Moderator

    Hello,

    > It appears from ScadaServer.log that the back end has started up on my ARM64
    Interesting. If so, ScadaWeb also should run.

    Try the following:
    1. Open a command line by cmd command
    2. Set the current directory to SCADA\ScadaWeb
    3. Execute ScadaWeb.exe and check console output

    Please share the results.

Viewing 15 posts - 1,051 through 1,065 (of 6,388 total)