|
@@ -113,8 +113,6 @@ namespace TeamAAS_VP.Services
|
|
|
|
|
|
|
|
result.Add(await plc.WriteNodeAsync(addressConfig.Manu_ZAxis_Velocity.Address, speed));
|
|
result.Add(await plc.WriteNodeAsync(addressConfig.Manu_ZAxis_Velocity.Address, speed));
|
|
|
|
|
|
|
|
- float Z_Distance = -(PlcPoint.TorquePoints[0].Z_Position_Start - PlcPoint.TorquePoints[0].Z_Position_Stop);
|
|
|
|
|
-
|
|
|
|
|
result.Add(await Robot.JumpAsync(point, 0));
|
|
result.Add(await Robot.JumpAsync(point, 0));
|
|
|
|
|
|
|
|
result.Add(await plc.WriteNodeAsync<bool>(addressConfig.ManuToHome.Address, true));
|
|
result.Add(await plc.WriteNodeAsync<bool>(addressConfig.ManuToHome.Address, true));
|
|
@@ -161,12 +159,11 @@ namespace TeamAAS_VP.Services
|
|
|
Y = PlcPoint.TorquePoints[2].Y_Position,
|
|
Y = PlcPoint.TorquePoints[2].Y_Position,
|
|
|
Z = PlcPoint.TorquePoints[2].Z_Position_Start,
|
|
Z = PlcPoint.TorquePoints[2].Z_Position_Start,
|
|
|
};
|
|
};
|
|
|
- //float Z_Distance = -(PlcPoint.TorquePoints[2].Z_Position_Start - PlcPoint.TorquePoints[2].Z_Position_Stop);
|
|
|
|
|
-
|
|
|
|
|
- result.Add(await plc.WriteNodeAsync(addressConfig.Manu_ZAxis_Velocity.Address, (float)5.0));
|
|
|
|
|
|
|
|
|
|
result.Add(await Robot.JumpAsync(point, 0));
|
|
result.Add(await Robot.JumpAsync(point, 0));
|
|
|
|
|
|
|
|
|
|
+ result.Add(await plc.WriteNodeAsync(addressConfig.Manu_ZAxis_Velocity.Address, (float)5.0));
|
|
|
|
|
+
|
|
|
result.Add(await plc.WriteNodeAsync(addressConfig.Check_ScrewTorque.Address, true));
|
|
result.Add(await plc.WriteNodeAsync(addressConfig.Check_ScrewTorque.Address, true));
|
|
|
|
|
|
|
|
point.Z = PlcPoint.TorquePoints[2].Z_Position_Stop;
|
|
point.Z = PlcPoint.TorquePoints[2].Z_Position_Stop;
|
|
@@ -177,8 +174,6 @@ namespace TeamAAS_VP.Services
|
|
|
|
|
|
|
|
result.Add(await plc.WriteNodeAsync(addressConfig.Manu_ZAxis_Velocity.Address, (float)100.0));
|
|
result.Add(await plc.WriteNodeAsync(addressConfig.Manu_ZAxis_Velocity.Address, (float)100.0));
|
|
|
|
|
|
|
|
- result.Add(await BackZero_Async(Robot, point));
|
|
|
|
|
-
|
|
|
|
|
return !result.Contains(false);
|
|
return !result.Contains(false);
|
|
|
}
|
|
}
|
|
|
|
|
|