|
@@ -129,7 +129,7 @@ namespace SCADA_DAQ.Customer.Machines
|
|
|
else if (CustomerEnv.StackCapture.RotationAngle_Dec == 180 || CustomerEnv.StackCapture.RotationAngle_Dec == -180) { jiaodu = 25520; }
|
|
|
var PutBoxXIsSucess = GetListenReg("X轴放料点上方").WriteReg(PutBoxX + ((int)CustomerEnv.StackCapture.XLocation_Dec * Xmm));
|
|
|
var PutBoxYIsSucess = GetListenReg("Y轴放料点上方").WriteReg(PutBoxY + ((int)CustomerEnv.StackCapture.YLocation_Dec * Ymm));
|
|
|
- var PutBoxRIsSucess = GetListenReg("R轴放料点上方").WriteReg(jiaodu);
|
|
|
+ var PutBoxRIsSucess = GetListenReg("R轴放料点角度").WriteReg(jiaodu);
|
|
|
|
|
|
var PutBoxZIsSucess = GetListenReg("Z轴放料点").WriteReg((int)(CustomerEnv.StackCapture.ZLocation_Dec + (CustomerEnv.StackCapture.ZLocation_Dec / 2)));
|
|
|
if (TakeBoxYIsSucess && TakeBoxXIsSucess && TakeBoxZIsSucess && PutBoxXIsSucess && PutBoxYIsSucess && PutBoxRIsSucess && PutBoxZIsSucess)
|