Forum Replies Created
November 18, 2020 at 3:42 am in reply to: Is KPView’s AppDirs.ConfigDir different from that of KPLogic #7569
In my Kplogic’s SendCmd also needs to change the config.November 17, 2020 at 2:24 am in reply to: Is KPView’s AppDirs.ConfigDir different from that of KPLogic #7562
In KPLogic,How to use the directory of the projectNovember 16, 2020 at 6:57 am in reply to: Is KPView’s AppDirs.ConfigDir different from that of KPLogic #7554
I find that KPView’s AppDirs.ConfigDir is “C:\SCADA\Projects\HelloWorld\Instances\Default\ScadaComm\Config”
but KPLogic’s AppDirs.ConfigDir is “C:\SCADA\ScadaComm\Config”
I did it
- This reply was modified 2 years ago by Mikhail.
How to upload the screenshot is a problem,I tried
In mod,send command ,return false,why?
CommSettings settings = new CommSettings(ip, 10000, “ScadaServerCtrl”, “12345”, 1000);
Log log = new Log(Log.Formats.Full);
ServerComm = new ServerComm(settings, log);
private bool SendCnd(int ctrlCnlNum, double cmdData)
sendOk = ServerComm.SendStandardCommand(3, ctrlCnlNum, cmdData, out bool result);
WriteToLog(“ctrlCnlNum: “+ ctrlCnlNum+ ” cmdData: “+ cmdData, Log.ActTypes.Action);
C:\SCADA\ScadaServer\Config，I put config in this path
I mean the problem that it’s command is disabled will come up again after a while,restart the server to be normal.So repeatedly
It’s normal to restart the server
How can I take the command value that I send in output channel formula？The original value is also one of the options.
I have a situation:I want call a command but the command value is determined by one input channel value.At first,I want realize it in formula,but how to call a command from formula?if I realize it in Automatic Control Module,but how to set command value that varies according to the input channel？What should I do?