영문화완료
This commit is contained in:
@@ -43,7 +43,7 @@ namespace Project
|
||||
|
||||
public static Boolean CheckMotionPos(TimeSpan stepTime, sPositionData posdata, string source, Boolean useInterLocak = true, int timeoutSec = 0)
|
||||
{
|
||||
if (posdata.Axis < 0) throw new Exception("CheckMotionPos:Motion 번호가 없습니다");
|
||||
if (posdata.Axis < 0) throw new Exception("CheckMotionPos:Motion number not found");
|
||||
//return CheckMotionPos((eAxis)posdata.Axis, stepTime, posdata.Position, posdata.Speed, posdata.Acc, posdata.Dcc, source, useInterLocak, timeoutSec, posdata.inpositionrange);
|
||||
return CheckMotionPos((eAxis)posdata.Axis, stepTime, posdata.Position, posdata.Speed, posdata.Acc, posdata.Dcc, source, useInterLocak, timeoutSec, posdata.inpositionrange);
|
||||
}
|
||||
@@ -244,7 +244,7 @@ namespace Project
|
||||
{
|
||||
if (PUB.mot.IsHomeSet((int)eAxis.PL_UPDN) == false)
|
||||
{
|
||||
errorMessage = "PRINT-L Z 축 홈이 필요 합니다";
|
||||
errorMessage = "PRINT-L Z axis home is required";
|
||||
retval = false;
|
||||
}
|
||||
}
|
||||
@@ -252,7 +252,7 @@ namespace Project
|
||||
{
|
||||
if (PUB.mot.IsHomeSet((int)eAxis.PR_UPDN) == false)
|
||||
{
|
||||
errorMessage = "PRINT-R Z 축 홈이 필요 합니다";
|
||||
errorMessage = "PRINT-R Z axis home is required";
|
||||
retval = false;
|
||||
}
|
||||
}
|
||||
@@ -277,7 +277,7 @@ namespace Project
|
||||
|
||||
if (DIO.IsEmergencyOn() == true)
|
||||
{
|
||||
errorMessage = ("비상정지 상태일때에는 움직일 수 없습니다.");
|
||||
errorMessage = ("Cannot move when in emergency stop state.");
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -290,7 +290,7 @@ namespace Project
|
||||
var PosOffset = MOT.getPositionOffset(Pos);
|
||||
|
||||
if(AR.SETTING.Data.Log_Debug)
|
||||
PUB.logDbg.Add($"X축 조그 중앙옵셋:{PosOffset:N3}");
|
||||
PUB.logDbg.Add($"X-axis jog center offset:{PosOffset:N3}");
|
||||
|
||||
if (MoveCW==false && PosOffset < -1) //좌측위치로 이동하는 경우
|
||||
{
|
||||
@@ -301,7 +301,7 @@ namespace Project
|
||||
if(PosYOffse < -1)
|
||||
{
|
||||
//프린터 Y축이 더 안쪽으로 들어와있으니 충돌할 수 있다.
|
||||
errorMessage = "프린트(L) 축과 충돌 가능성 있음";
|
||||
errorMessage = "Possible collision with Print(L) axis";
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -315,7 +315,7 @@ namespace Project
|
||||
if (PosYOffse < -1)
|
||||
{
|
||||
//프린터 Y축이 더 안쪽으로 들어와있으니 충돌할 수 있다.
|
||||
errorMessage = "프린트(R) 축과 충돌 가능성 있음";
|
||||
errorMessage = "Possible collision with Print(R) axis";
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -344,26 +344,26 @@ namespace Project
|
||||
retval.Clear();
|
||||
if (PUB.Result.mModel == null || PUB.Result.mModel.isSet == false)
|
||||
{
|
||||
retval.Message = "모션 모델이 설정되어 있지 않습니다";
|
||||
retval.Message = "Motion model is not set";
|
||||
return retval;
|
||||
}
|
||||
|
||||
if(axis >= PUB.Result.mModel.Position.Count)
|
||||
{
|
||||
retval.Message = $"모션 모델 (축)정보가 없습니다 ({axis}/{PUB.Result.mModel.Position.Count})";
|
||||
retval.Message = $"Motion model (axis) information not found ({axis}/{PUB.Result.mModel.Position.Count})";
|
||||
return retval;
|
||||
}
|
||||
|
||||
if (pos >= PUB.Result.mModel.Position[axis].Length)
|
||||
{
|
||||
retval.Message = $"모션 모델 (위치)정보가 없습니다 ({pos}/{PUB.Result.mModel.Position[axis].Length})";
|
||||
retval.Message = $"Motion model (position) information not found ({pos}/{PUB.Result.mModel.Position[axis].Length})";
|
||||
return retval;
|
||||
}
|
||||
|
||||
var data = PUB.Result.mModel.Position[axis][pos];
|
||||
if (data.index == -1)
|
||||
{
|
||||
retval.Message = string.Format("축:{0})의 위치:{1} 의 값이 존재하지 않습니다", axis, pos);// "모션 모델이 설정되어 있지 않습니다";
|
||||
retval.Message = string.Format("Value for axis:{0} position:{1} does not exist", axis, pos);
|
||||
return retval;
|
||||
}
|
||||
retval.Axis = axis; //220301
|
||||
@@ -600,7 +600,7 @@ namespace Project
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else PUB.log.AddAT($"조그이동시 유효성검사 해제(축:{axis})");
|
||||
else PUB.log.AddAT($"Validation check disabled during jog movement (axis:{axis})");
|
||||
|
||||
//해당 축 ILOCK체크
|
||||
if (UserInterLock)
|
||||
@@ -613,7 +613,7 @@ namespace Project
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else PUB.log.AddAT($"조그이동시 인터락검사 해제(축:{axis})");
|
||||
else PUB.log.AddAT($"Interlock check disabled during jog movement (axis:{axis})");
|
||||
|
||||
|
||||
return PUB.mot.JOG(_Axis, Dir, _Vel, _Acc, sCurve, EnableValidCheck);
|
||||
|
||||
Reference in New Issue
Block a user