|
|
|
@ -122,8 +122,8 @@ namespace Aucma.Scada.Business
|
|
|
|
|
logHelper.Info("箱壳出库应答字为1,货道号:" + plcConfig.out_shell_spaceCode + ";写" + short.Parse(taskInfo.spaceCode.Substring(5, 1)));
|
|
|
|
|
//写入货道号
|
|
|
|
|
_plc.writeInt32ByAddress(plcConfig.out_shell_spaceCode, short.Parse(taskInfo.spaceCode.Substring(5, 1)));
|
|
|
|
|
//写入出库数量
|
|
|
|
|
_plc.writeInt32ByAddress(plcConfig.out_shell_amount, taskInfo.planAmount);
|
|
|
|
|
//写入出库数量
|
|
|
|
|
// _plc.writeInt32ByAddress(plcConfig.out_shell_amount, taskInfo.planAmount);
|
|
|
|
|
|
|
|
|
|
//写入完成后读取应答字进行复位
|
|
|
|
|
ReadShellAnswer_OutStore(taskInfo);
|
|
|
|
|