영문화완료
This commit is contained in:
@@ -183,7 +183,7 @@ namespace Project
|
||||
PUB.dio.SetInputSensitivity(GetPinTerminal(eDIName.DOORR2), AR.SETTING.Data.SaftyDetectFall, AR.SETTING.Data.SaftyDetectRise);
|
||||
PUB.dio.SetInputSensitivity(GetPinTerminal(eDIName.DOORR3), AR.SETTING.Data.SaftyDetectFall, AR.SETTING.Data.SaftyDetectRise);
|
||||
|
||||
PUB.log.AddAT("DIO 센서 감도 설정");
|
||||
PUB.log.AddAT("DIO Sensor Sensitivity Setting");
|
||||
}
|
||||
|
||||
|
||||
@@ -545,7 +545,7 @@ namespace Project
|
||||
public static bool GetPortMotorRun(int index)
|
||||
{
|
||||
if (PUB.dio == null || !PUB.dio.IsInit) return false;
|
||||
if (index < 0 || index > 3) throw new Exception("포트번호는 (0~2) 사이로 입력되어야 함");
|
||||
if (index < 0 || index > 3) throw new Exception("Port number must be entered between (0~2)");
|
||||
|
||||
Boolean b1 = false;
|
||||
|
||||
@@ -561,7 +561,7 @@ namespace Project
|
||||
public static eMotDir GetPortMotorDir(int index)
|
||||
{
|
||||
if (PUB.dio == null || !PUB.dio.IsInit) return eMotDir.CW;
|
||||
if (index < 0 || index > 3) throw new Exception("포트번호는 (0~2) 사이로 입력되어야 함");
|
||||
if (index < 0 || index > 3) throw new Exception("Port number must be entered between (0~2)");
|
||||
|
||||
Boolean b1 = false;
|
||||
|
||||
@@ -636,12 +636,12 @@ namespace Project
|
||||
//켜야하는 상황인데.. 리밋이 걸렸다면 처리하지 않는다
|
||||
if (Dir == eMotDir.CW && DIO.GetIOInput(pin_limp) == true)
|
||||
{
|
||||
PUB.log.AddI(string.Format("포트({0})번의 출력을 무시합니다(LIMIT_UP) 방향:{1}", index, Dir));
|
||||
PUB.log.AddI(string.Format("Ignoring output for port({0}) (LIMIT_UP) direction:{1}", index, Dir));
|
||||
b1 = true;
|
||||
}
|
||||
else if (Dir == eMotDir.CCW && DIO.GetIOInput(pin_limn) == true)
|
||||
{
|
||||
PUB.log.AddI(string.Format("포트({0})번의 출력을 무시합니다(LIMIT_DN) 방향:{1}", index, Dir));
|
||||
PUB.log.AddI(string.Format("Ignoring output for port({0}) (LIMIT_DN) direction:{1}", index, Dir));
|
||||
b1 = true;
|
||||
}
|
||||
else
|
||||
@@ -822,7 +822,7 @@ namespace Project
|
||||
if (PUB.flag.get(eVarBool.FG_PK_ITEMON) == true)
|
||||
{
|
||||
PUB.flag.set(eVarBool.FG_PK_ITEMON, false, "VACOFF");
|
||||
PUB.logDbg.AddI("피커 아이템플래그 제거");
|
||||
PUB.logDbg.AddI("Picker item flag removed");
|
||||
}
|
||||
|
||||
|
||||
@@ -892,7 +892,7 @@ namespace Project
|
||||
if (ON)
|
||||
{
|
||||
|
||||
if (SETTING.Data.Disable_Buzzer == true && force == false) return true; //부저기능OFF시 사용 안함
|
||||
if (SETTING.Data.Disable_Buzzer == true && force == false) return true; //Not used when buzzer function is OFF
|
||||
}
|
||||
|
||||
if (ON && SETTING.Data.Disable_Buzzer == true && force == false)
|
||||
|
||||
@@ -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