Forum Replies Created
-
AuthorPosts
-
June 23, 2021 at 12:07 pm in reply to: Same configuration different command frame on Windows and Linux #9148
MikhailModeratorI don’t remember the details of the source code of the KpModbus driver.
If you can provide an example of Rapid SCADA configuration that causes wrong Modbus data packets, we could consider them here.
MikhailModeratorwhat’s the proper way to pass an array to a formula as input, while the size of array is not constant
In addition to the good approach that @Romiros provided, you can create similar formulas with different number of parameters. Sometimes Microsoft does like that.
MikhailModeratorHi,
Is there ScadaServerService-Cus1 if you run services.msc ?
MikhailModeratorCould you provide screenshots of the channel properties for the case #2?
MikhailModeratorVariable names are case sensitive. Just copy them from the manual.
June 22, 2021 at 3:34 pm in reply to: Same configuration different command frame on Windows and Linux #9132
MikhailModeratorDevice error: [03] ILLEGAL DATA VALUE!It’s a valid answer returned by the controller. You can check it by this parser or other parsers.
Did you write that requests are broken in case of using Linux?
MikhailModeratorQ1:
Cnl is come from the PLC.
Val() is stored in the channel.
For calculated channels Cnl is meaningless.Q2:
It will be included in v6.
MikhailModeratorI suppose, events created twice, because LeakStat returns different statuses.
The idea is the formulas like that:int LeakStat(int leak) { // your calculations }In the channel: LeakValList(210, 220); LeakStat(LeakValList(210, 220))
Note: now you create a new array (formula argument) on every loop. It’s not efficient, because memory is allocated and cleaned too active.
MikhailModeratorHi Matt,
You should download svc_config.xml from GitHub and put them into the folders of ScadaServer and ScadaComm.
Also you should specify your own service names in svc_config.xml and svc_*.bat
For example, ScadaServerService-Customer1
As a beginning, try this actions with a one service.
MikhailModeratorHi,
Likely, this is caused by formulas. Please provide screenshots of the input channel properties and code of the used formulas.
June 21, 2021 at 8:51 am in reply to: Same configuration different command frame on Windows and Linux #9116
MikhailModeratorHello,
Please copy the appropriate logs from Communicator.
MikhailModeratorInput channels work as variables.
Output channels don’t store any data. They declare commands.
Use the existing source code as example.
MikhailModeratorHi,
and returns a value as double
What communication protocol is used?
MikhailModeratorMay be it’s better to deploy cheap Linux machine for each customer instead of using the single server.
MikhailModeratorHello,
It’s possible only if you install manually.
In addition to the instruction, you should copy Rapid SCADA files to different folders, create svc_config.xml for each service (example), and update svc_*.bat files to have different services for different instances.
-
AuthorPosts