Forum Replies Created
-
AuthorPosts
-
November 18, 2020 at 3:42 am in reply to: Is KPView’s AppDirs.ConfigDir different from that of KPLogic #7569
yuemiao
ParticipantIn 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 #7562yuemiao
ParticipantIn 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 #7554yuemiao
ParticipantI 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”yuemiao
ParticipantI did it
yuemiao
ParticipantHow to upload the screenshot is a problem,I tried
yuemiao
Participantyuemiao
ParticipantIn 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);yuemiao
ParticipantC:\SCADA\ScadaServer\Config,I put config in this path
yuemiao
ParticipantI mean the problem that it’s command is disabled will come up again after a while,restart the server to be normal.So repeatedly
yuemiao
ParticipantIt’s normal to restart the server
yuemiao
ParticipantHow can I take the command value that I send in output channel formula?The original value is also one of the options.
yuemiao
ParticipantI 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