Forum Replies Created
-
AuthorPosts
-
MikhailModeratorIt’s an English language forum. Messages on all other languages will be deleted. Use forum.rapidscada.ru
MikhailModeratorUsing Administrator on Linux is deprecated and should be avoided. Microsoft killed this path.
MikhailModeratorHi,
So you successfully installed the services different than the default?
Important note:
You need only one ScadaAgentService on the server. I suggest to install it in C:\SCADA\ScadaAgent as usual.“Unable to login – Error validating user” and “Unable to create session” for both
Check that the name of the instances are the same in the agent settings and in the deployment profiles. Also check ScadaAgent.log for error details.
MikhailModeratorSetVal(5050, Cmd) should work.
MikhailModeratorHi Matt,
To be honest, you are the 1st who asked about that non-official feature.
I can try to fix it via remote connection. But this is a paid service.
MikhailModeratorHi,
May be the new DB export module can help you. But I’m not sure that it’s compatible with your version of Rapid SCADA. And there is no manual for the module. Anyway, let’s try.
MikhailModeratorThe output channel 5051 neither has “Command number” nor “Formula”. That’s why it does nothing.
If you want the output channel 5051 to change input channel 5050, you have to use a formula SetVal(5050). And don’t forget to channel input channel type to Calculated discrete/real.
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. -
AuthorPosts