Browse Source

修改独立相机轴PLC变量地址

徐孝锋 8 months ago
parent
commit
d5fa8475c4
1 changed files with 15 additions and 15 deletions
  1. 15 15
      TeamAAS-VM/Models/PLC/PlcAddressConfig.cs

+ 15 - 15
TeamAAS-VM/Models/PLC/PlcAddressConfig.cs

@@ -792,21 +792,21 @@ namespace TeamAAS_VP.Models.PLC
             // Out_IndependentCamer(独立移动相机点位)初始化并赋地址
             // Out_IndependentCamer(独立移动相机点位)初始化并赋地址
             Out_IndependentCamer = EnsurePoint(Out_IndependentCamer);
             Out_IndependentCamer = EnsurePoint(Out_IndependentCamer);
             Out_IndependentCamer.Description = "独立移动相机点位参数";
             Out_IndependentCamer.Description = "独立移动相机点位参数";
-            Out_IndependentCamer.X_Position.Address = "ns=4;s=DB_Communication|FromPC.Point_CheckCamera[{0}].X_Position";
-            Out_IndependentCamer.X_Velocity.Address = "ns=4;s=DB_Communication|FromPC.Point_CheckCamera[{0}].X_Velocity";
-            Out_IndependentCamer.Y_Position.Address = "ns=4;s=DB_Communication|FromPC.Point_CheckCamera[{0}].Y_Position";
-            Out_IndependentCamer.Y_Velocity.Address = "ns=4;s=DB_Communication|FromPC.Point_CheckCamera[{0}].Y_Velocity";
-            Out_IndependentCamer.Z_Position_Start.Address = "ns=4;s=DB_Communication|FromPC.Point_CheckCamera[{0}].Z_Position_Start";
-            Out_IndependentCamer.Z_Velocity_Start.Address = "ns=4;s=DB_Communication|FromPC.Point_CheckCamera[{0}].Z_Velocity_Start";
-            Out_IndependentCamer.Z_Position_Stop.Address = "ns=4;s=DB_Communication|FromPC.Point_CheckCamera[{0}].Z_Position_Stop";
-            Out_IndependentCamer.Z_Velocity_Stop.Address = "ns=4;s=DB_Communication|FromPC.Point_CheckCamera[{0}].Z_Velocity_Stop";
-            Out_IndependentCamer.U_Position.Address = "ns=4;s=DB_Communication|FromPC.Point_CheckCamera[{0}].U_Position";
-            Out_IndependentCamer.U_Velocity.Address = "ns=4;s=DB_Communication|FromPC.Point_CheckCamera[{0}].U_Velocity";
-            Out_IndependentCamer.R_Position.Address = "ns=4;s=DB_Communication|FromPC.Point_CheckCamera[{0}].R_Position";
-            Out_IndependentCamer.R_Velocity.Address = "ns=4;s=DB_Communication|FromPC.Point_CheckCamera[{0}].R_Velocity";
-            Out_IndependentCamer.Torque.Address = "ns=4;s=DB_Communication|FromPC.Point_CheckCamera[{0}].Torque";
-            Out_IndependentCamer.Feeder.Address = "ns=4;s=DB_Communication|FromPC.Point_CheckCamera[{0}].Feeder";
-            Out_IndependentCamer.ScrewProNum.Address = "ns=4;s=DB_Communication|FromPC.Point_CheckCamera[{0}].ScrewProNum";
+            Out_IndependentCamer.X_Position.Address = "ns=4;s=DB_Communication|FromPC.Point_Fixed_camera[{0}].X_Position";
+            Out_IndependentCamer.X_Velocity.Address = "ns=4;s=DB_Communication|FromPC.Point_Fixed_camera[{0}].X_Velocity";
+            Out_IndependentCamer.Y_Position.Address = "ns=4;s=DB_Communication|FromPC.Point_Fixed_camera[{0}].Y_Position";
+            Out_IndependentCamer.Y_Velocity.Address = "ns=4;s=DB_Communication|FromPC.Point_Fixed_camera[{0}].Y_Velocity";
+            Out_IndependentCamer.Z_Position_Start.Address = "ns=4;s=DB_Communication|FromPC.Point_Fixed_camera[{0}].Z_Position_Start";
+            Out_IndependentCamer.Z_Velocity_Start.Address = "ns=4;s=DB_Communication|FromPC.Point_Fixed_camera[{0}].Z_Velocity_Start";
+            Out_IndependentCamer.Z_Position_Stop.Address = "ns=4;s=DB_Communication|FromPC.Point_Fixed_camera[{0}].Z_Position_Stop";
+            Out_IndependentCamer.Z_Velocity_Stop.Address = "ns=4;s=DB_Communication|FromPC.Point_Fixed_camera[{0}].Z_Velocity_Stop";
+            Out_IndependentCamer.U_Position.Address = "ns=4;s=DB_Communication|FromPC.Point_Fixed_camera[{0}].U_Position";
+            Out_IndependentCamer.U_Velocity.Address = "ns=4;s=DB_Communication|FromPC.Point_Fixed_camera[{0}].U_Velocity";
+            Out_IndependentCamer.R_Position.Address = "ns=4;s=DB_Communication|FromPC.Point_Fixed_camera[{0}].R_Position";
+            Out_IndependentCamer.R_Velocity.Address = "ns=4;s=DB_Communication|FromPC.Point_Fixed_camera[{0}].R_Velocity";
+            Out_IndependentCamer.Torque.Address = "ns=4;s=DB_Communication|FromPC.Point_Fixed_camera[{0}].Torque";
+            Out_IndependentCamer.Feeder.Address = "ns=4;s=DB_Communication|FromPC.Point_Fixed_camera[{0}].Feeder";
+            Out_IndependentCamer.ScrewProNum.Address = "ns=4;s=DB_Communication|FromPC.Point_Fixed_camera[{0}].ScrewProNum";
 
 
             // Out_CheckCamera(附加轴点位)初始化并赋地址,
             // Out_CheckCamera(附加轴点位)初始化并赋地址,