1.涂布放卷MES接口参数配置修改

2.涂布放卷心跳D9828写入
master
CaesarBao 3 weeks ago
parent d267f84c1a
commit 9ef59dfa34

@ -315,8 +315,8 @@ namespace MaterialTraceability.Business.Impl
operationRevision = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "operationRevision"), operationRevision = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "operationRevision"),
resource = appConfig.resource, resource = appConfig.resource,
user = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "user"), user = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "user"),
activity = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "activity"), activity = "",
modeProcessSfc = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "modeProcessSfc"), modeProcessSfc = "MODE_START_SFC",
loginUser = "", loginUser = "",
password = "", password = "",
}; };

@ -249,6 +249,7 @@ namespace MaterialTraceability.Business
lock (string.Empty) lock (string.Empty)
{ {
//写入心跳 //写入心跳
plcInstance.writeInt32ByAddress("D9828", 1);
plcInstance.writeInt32ByAddress(appConfig.TbAddress., 1); plcInstance.writeInt32ByAddress(appConfig.TbAddress., 1);
LogHelper.PlcLog("RFID系统写入心跳D9628"); LogHelper.PlcLog("RFID系统写入心跳D9628");
Thread.Sleep(200); Thread.Sleep(200);

Loading…
Cancel
Save