JW

Forum Replies Created

Viewing 15 posts - 31 through 45 (of 160 total)
  • Author
    Posts
  • in reply to: external application requesting sacada data #14421
    JW
    Participant

    I am testing the api, have some questions about the strings types.

    I tested function code 0x01,03,04, all worked.

    but for 0x02 login, the server showed the following error message.
    I suspect is the error on my request message.

    Authentication failed for user estD353B3161AC1FFC43C79CE23FAE333EF 
    Username or password can not be empty

    Is there any padding for each string or space between strings before encoding?
    Or did I just encode the following string? where user=guest and instance=” by default
    guestD353B3161AC1FFC43C79CE23FAE333EF

    in reply to: external application requesting sacada data #14420
    JW
    Participant

    deleted

    in reply to: external application requesting sacada data #14419
    JW
    Participant

    Thanks Mikhail, the protocol is very detailed.

    I am going to try and compare the speed of application protocol and reading file.

    in reply to: 获取力控OPC服务节点重复 #14392
    JW
    Participant

    6.2.1中opc驱动更新到了DrvDsOpcUaServer 6.0.0.2,更新试试看

    in reply to: 關於服務無法啟動 #14371
    JW
    Participant

    dotnet runtime 8.0和6.0可以共存的。
    如果不行,直接删掉只是手动下载的文件夹和创建的链接即可。

    视乎发行版是用apt还是yum,如是ubuntu可直接安装,用以下指令

    sudo apt-get update && \
      sudo apt-get install -y aspnetcore-runtime-8.0
    in reply to: 關於服務無法啟動 #14366
    JW
    Participant

    还有查看log文件的故障描述
    /opt/scada/ScadaServer/Log/ScadaServer.log

    in reply to: 關於服務無法啟動 #14364
    JW
    Participant

    这个中文文档有点旧了,手动安装的文件版本和路径可能有不同。有几点要注意

    建议用最新版6.2.1,这版本需要.net8.0,不能用6.0
    建议用apt安装.netruntime 8.0,大部分较新的linux发行版都有这个,没有则需要手动添加微软的源

    sudo apt-get update && \
      sudo apt-get install -y aspnetcore-runtime-8.0

    建议用dpkg安装,不需要单独手动操作daemons文件夹和service文件

    in reply to: 關於服務無法啟動 #14357
    JW
    Participant

    能描述一下你的安装过程吗

    in reply to: Create Array template elements #14351
    JW
    Participant

    So to use array data, the driver must array / list type support built in? or the protocol itself must support array / list type such as bacnet.

    the current modbus driver seems not, neither the modbus protocol.

    ———————————–

    If array / list type can be more flexible, that will be great.
    E.g. in many real worlds case, the modbus data return a list of value in a row. e.g. 100 values of current from address 101 to 201.

    JW
    Participant

    I am sharing some of my experience, not sure if they are the same case.

    Is it an input cnl or calculated cnl? what’s the refresh rate of this data cnl?

    If the data fluctuated and refreshed 10 times in 1 second, e.g. [1.9,1.9,1.9,1.8,1.9,1.8,2.1,2.1,1.9,1.8]
    the data archive will only write data of 1.9 at 0.000ms because of the sampling, so it missed the max value of 2.1.
    but the event will be able to detect the value of 2.1 and write an event.

    some time later, the data become [2.1,2.1,2.1,2.1,1.9,2.1,1.8,2.1,2.2,2.2], the data archive will record data of 2.1.

    in reply to: Rapid SCADA現在有支援debian 13了嗎? #14285
    JW
    Participant

    RISC-V没研究过,微软网站只是收dotnet下载,有二进制包下载。但是也没看见RISC-V的,ARM倒是有。
    https://dotnet.microsoft.com/en-us/download/dotnet/8.0

    in reply to: Rapid SCADA現在有支援debian 13了嗎? #14282
    JW
    Participant

    可以尝试一下下载dotnet的二进制文件手动安装。

    in reply to: Rapid SCADA現在有支援debian 13了嗎? #14267
    JW
    Participant

    ubuntu正常,.net6.0和8.0都能用,debian应该没问题吧。

    注意6.2版本用.net8.0,之前的用.net6.0就行。

    in reply to: Communicate with Devices from 2 LAN Card #14205
    JW
    Participant

    Thanks Mikhail, problem solved. After restarting the server, it works fine. SCADA works fine with multiple LAN card and subnet.

    I was not able to restart the server since it was in production environment. I restarted it today, and everything works fine.

    Looks like the server somehow not registered the new network setting by only restarting the networkmanager, must restart the server.

    in reply to: Update historical data in V6 #13791
    JW
    Participant

    I have actually wrote 1 script to convert V5 .dat to .csv and to convert.csv to .dat.

    But I don’t have a very well defined .csv format for the data. timestamp and channel number are 2 axis, but each channel has 2 values (Val and Stat). putting Val and Stat in 2 separated csv file, or putting them in 2 columns in 1 file, is very inconvenient to edit.

    Any recommended format for .csv file to store the data?

    I plan to make and share a new converter for converting history data between.dat and.csv.

Viewing 15 posts - 31 through 45 (of 160 total)