Forum Replies Created
-
AuthorPosts
-
JW
ParticipantI 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
JW
Participantdeleted
JW
ParticipantThanks Mikhail, the protocol is very detailed.
I am going to try and compare the speed of application protocol and reading file.
JW
Participant6.2.1中opc驱动更新到了DrvDsOpcUaServer 6.0.0.2,更新试试看
JW
Participantdotnet runtime 8.0和6.0可以共存的。
如果不行,直接删掉只是手动下载的文件夹和创建的链接即可。视乎发行版是用apt还是yum,如是ubuntu可直接安装,用以下指令
sudo apt-get update && \ sudo apt-get install -y aspnetcore-runtime-8.0
JW
Participant还有查看log文件的故障描述
/opt/scada/ScadaServer/Log/ScadaServer.logJW
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文件
JW
Participant能描述一下你的安装过程吗
JW
ParticipantSo 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.April 8, 2024 at 5:36 am in reply to: CurData and EventData with a difference of about 2 seconds #14350JW
ParticipantI 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.
JW
ParticipantRISC-V没研究过,微软网站只是收dotnet下载,有二进制包下载。但是也没看见RISC-V的,ARM倒是有。
https://dotnet.microsoft.com/en-us/download/dotnet/8.0JW
Participant可以尝试一下下载dotnet的二进制文件手动安装。
JW
Participantubuntu正常,.net6.0和8.0都能用,debian应该没问题吧。
注意6.2版本用.net8.0,之前的用.net6.0就行。
JW
ParticipantThanks 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.
JW
ParticipantI 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.
-
AuthorPosts