Forum Replies Created
-
AuthorPosts
-
November 18, 2020 at 3:42 am in reply to: Is KPView’s AppDirs.ConfigDir different from that of KPLogic #7569yuemiaoParticipant
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 #7562yuemiaoParticipantIn KPLogic,How to use the directory of the project
November 16, 2020 at 6:57 am in reply to: Is KPView’s AppDirs.ConfigDir different from that of KPLogic #7554yuemiaoParticipantI 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”yuemiaoParticipantI did it
yuemiaoParticipantHow to upload the screenshot is a problem,I tried
yuemiaoParticipantyuemiaoParticipantIn 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)
{
bool sendOk;sendOk = ServerComm.SendStandardCommand(3, ctrlCnlNum, cmdData, out bool result);
WriteToLog(“ctrlCnlNum: “+ ctrlCnlNum+ ” cmdData: “+ cmdData, Log.ActTypes.Action);
WriteToLog(sendOk.ToString(), Log.ActTypes.Information);
return sendOk;
}///
SendCnd(102, 0);yuemiaoParticipantC:\SCADA\ScadaServer\Config,I put config in this path
yuemiaoParticipantI mean the problem that it’s command is disabled will come up again after a while,restart the server to be normal.So repeatedly
yuemiaoParticipantIt’s normal to restart the server
yuemiaoParticipantHow can I take the command value that I send in output channel formula?The original value is also one of the options.
yuemiaoParticipantI 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?
-
AuthorPosts