0628 对plc 就行测试

master
nodyang 2 years ago
parent 5287b9e0b5
commit 9cb1a81080

@ -994,6 +994,8 @@ namespace Mesnac.Action.ChemicalWeighing
public DataKeyValue RecipePause { get; set; }
public DataKeyValue recipeName0 { get; set; }
}
}

@ -21,6 +21,13 @@ namespace Mesnac.Action.ChemicalWeighing.Test
//ParametersWithPc.B1.FirstWord 256 768
//badc1el26587193265870
var instanceRecipeName0 = BasePlcHelper.Instance.recipeName0;
//badc1e 2
var read = BasePlcHelper.Instance.PlcRead(instanceRecipeName0, out int[] ss);
// var firstWordNowValue = BasePlcHelper.Instance.FirstWord.NowValue.ToInt();
var plcRead = BasePlcHelper.Instance.PlcRead("ParametersWithPc", "1165", 0, 1, out short[] ssss);

Loading…
Cancel
Save