|
|
@@ -591,7 +591,7 @@ namespace TeamAAS_VP.Models.PLC
|
|
|
Out_CameraDone.Description = "相机坐标拟合完成";
|
|
|
|
|
|
Out_MesStatus = Ensure(Out_MesStatus);
|
|
|
- Out_MesStatus.Address = "ns=4;s=DB_Communication|FromPC.MesStatus";
|
|
|
+ Out_MesStatus.Address = "ns=4;s=DB_Communication|FromPC.MesStatus[0]";
|
|
|
Out_MesStatus.DataType = "int16";
|
|
|
Out_MesStatus.Description = "过站信息 =1 允许工作 =2 本站放行 =3 数据上传完成";
|
|
|
|
|
|
@@ -711,12 +711,12 @@ namespace TeamAAS_VP.Models.PLC
|
|
|
|
|
|
// 4. In_* 默认(假定从 PLC 读到 PC,使用 ToPC 前缀)
|
|
|
In_Code = Ensure(In_Code);
|
|
|
- In_Code.Address = "ns=4;s=DB_Communication|ToPC.Code";
|
|
|
+ In_Code.Address = "ns=4;s=DB_Communication|ToPC.Mes[0].Code";
|
|
|
In_Code.DataType = "string";
|
|
|
In_Code.Description = "产品编码";
|
|
|
|
|
|
In_MesCheck = Ensure(In_MesCheck);
|
|
|
- In_MesCheck.Address = "ns=4;s=DB_Communication|ToPC.MesCheck";
|
|
|
+ In_MesCheck.Address = "ns=4;s=DB_Communication|ToPC.Mes[0].Check";
|
|
|
In_MesCheck.DataType = "int16";
|
|
|
In_MesCheck.Description = "Mes交互 =1 获取过站信息当站是否生产,=2 上传本站数据";
|
|
|
|