Mikhail

Forum Replies Created

Viewing 15 posts - 781 through 795 (of 6,130 total)
  • Author
    Posts
  • in reply to: First time update of Digital Output status #15091
    Mikhail
    Moderator

    Please provide links to screenshots.

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

    > Is there any way one can support you?
    Purchase of any additional modules is appreciated.

    in reply to: Integrating 3 colour LED Module #15084
    Mikhail
    Moderator

    Hi,
    Automatic Control Module is useful when you need to send commands according to conditions.
    First, connect the equipment and try sending commands manually. After you make it work, use ACM.

    in reply to: Rest API integration #15082
    Mikhail
    Moderator

    In Visual Studio 2022 Community when create a new project.

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

    You should try the setup the ScadaComm6 service to work as the OPCSrv user. See this.
    It’s enough to restart Communicator that works as a service or application.

    in reply to: Change default port number 10008 #15074
    Mikhail
    Moderator

    Hi,
    If you didn’t change the port during installation, use the method described above.

    in reply to: Channel Read Bits #15071
    Mikhail
    Moderator

    I could not understand how to try the B Format as there is no option for B.

    In the Formats table add a new format. I’m not sure that B will work, however, it worth to try.

    in reply to: Channel Read Bits #15070
    Mikhail
    Moderator

    I didn’t know there was a binary display format

    It was added in .NET8. I’ve never tried it before.

    Chart Pro falls on the string variable – a white screen

    It cannot display graph of a string.

    in reply to: OPC DA no values received #15069
    Mikhail
    Moderator
    2024-07-29 13:30:51 [OPC-WINCC][OPC-WINCC$][ACT] Data source ScadaServer: Receive the configuration database
    2024-07-29 13:30:53 [OPC-WINCC][OPCSrv][ACT] Data source ScadaServer: Connection state is Logged In
    

    Looks like the ScadaComm6 service is not stopped. Users OPC-WINCC$ and OPCSrv are mixed in the log file.

    in reply to: V6 Captcha on the login screen #15061
    Mikhail
    Moderator

    You need to create your own module that performs auth. The links below can help.
    Link 1
    Link 2

    Mikhail
    Moderator

    The above post is not related to the topic. Please search for existing topics about Modbus. Probably, it’s already solved.

    in reply to: Channel Read Bits #15057
    Mikhail
    Moderator

    Also hexadecimal format would be useful.

    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);
    }
Viewing 15 posts - 781 through 795 (of 6,130 total)