영문화완료
This commit is contained in:
@@ -36,7 +36,7 @@ namespace Project
|
||||
DIO.SetOutput(eDOName.RIGHT_CONV, false);
|
||||
|
||||
DIO.SetBuzzer(true, AR.SETTING.Data.Force_JobEndBuzzer);
|
||||
PUB.log.AddI("작업이 완료되었습니다");
|
||||
PUB.log.AddI("Work has been completed");
|
||||
needShowSummary = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace Project
|
||||
DIO.SetBuzzer(false);
|
||||
|
||||
//홈이완료되었으므로 3초정도 기다려준다.
|
||||
PUB.log.AddAT("홈 완료 확정을 위한 타이머 시작");
|
||||
PUB.log.AddAT("Timer started for home completion confirmation");
|
||||
HomeSuccessTime = DateTime.Now;
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace Project
|
||||
DIO.SetBuzzer(false);
|
||||
|
||||
PUB.flag.set(eVarBool.FG_USERSTEP, false, "SM_HOME");
|
||||
PUB.log.AddI("홈 작업 완료로 인해 홈 검증 코드로 이동함");
|
||||
PUB.log.AddI("Moving to home verification code due to home operation completion");
|
||||
|
||||
HomeChkTime = DateTime.Now;
|
||||
PUB.sm.SetNewStep(eSMStep.HOME_CONFIRM);
|
||||
|
||||
@@ -478,7 +478,7 @@ namespace Project
|
||||
|
||||
void FlagClear(bool ClearItemOn)
|
||||
{
|
||||
PUB.log.AddAT($"플래그초기화({ClearItemOn})");
|
||||
PUB.log.AddAT($"Flag initialization({ClearItemOn})");
|
||||
//연관플래그 소거
|
||||
if (ClearItemOn)
|
||||
{
|
||||
|
||||
@@ -52,7 +52,7 @@ namespace Project
|
||||
var ts = DateTime.Now - IdleStartTime;
|
||||
if (ts.TotalMinutes > AR.SETTING.Data.AutoOffRoomLightMin)
|
||||
{
|
||||
PUB.log.Add("대기상태 전환으로 인해 조명을 끕니다");
|
||||
PUB.log.Add("Turning off lights due to idle state transition");
|
||||
IdleSleep = true;
|
||||
DIO.SetRoomLight(false);
|
||||
}
|
||||
|
||||
@@ -32,11 +32,11 @@ namespace Project
|
||||
if (PUB.mot.Init() == false)
|
||||
{
|
||||
PUB.log.AddE(string.Format("MOT INIT ERROR : {0}", PUB.mot.ErrorMessage));
|
||||
PUB.log.AddE("모션 초기화 오류로 잠시 후 다시 시도합니다");
|
||||
PUB.log.AddE("Motion initialization error, retrying shortly");
|
||||
System.Threading.Thread.Sleep(1000);
|
||||
if (PUB.mot.Init() == false)
|
||||
{
|
||||
PUB.log.AddE("모션 초기화 재시도 실패" + PUB.mot.ErrorMessage);
|
||||
PUB.log.AddE("Motion initialization retry failed " + PUB.mot.ErrorMessage);
|
||||
}
|
||||
}
|
||||
_SM_RUN_INIT_MOTION();
|
||||
@@ -66,7 +66,7 @@ namespace Project
|
||||
PUB.sm.RaiseStateProgress(++progress, "Set DIO Names", ProgressMax, fColor); System.Threading.Thread.Sleep(5);
|
||||
_SM_RUN_INIT_SETDIONAME();
|
||||
|
||||
PUB.log.AddI("모션 초기화 플래그 설정완료");
|
||||
PUB.log.AddI("Motion initialization flag setup complete");
|
||||
PUB.flag.set(eVarBool.FG_INIT_MOTIO, true, "INIT");
|
||||
|
||||
//230504
|
||||
@@ -74,12 +74,12 @@ namespace Project
|
||||
hmi1.SetMOT(PUB.mot);
|
||||
|
||||
//남은 공간
|
||||
PUB.sm.RaiseStateProgress(++progress, "공간 확인", ProgressMax, fColor); System.Threading.Thread.Sleep(5);
|
||||
PUB.sm.RaiseStateProgress(++progress, "Space Check", ProgressMax, fColor); System.Threading.Thread.Sleep(5);
|
||||
CheckFreeSpace(); //181225
|
||||
|
||||
|
||||
//프린터설정
|
||||
PUB.sm.RaiseStateProgress(++progress, "프린터설정", ProgressMax, fColor); System.Threading.Thread.Sleep(5);
|
||||
PUB.sm.RaiseStateProgress(++progress, "Printer Setup", ProgressMax, fColor); System.Threading.Thread.Sleep(5);
|
||||
PUB.PrinterL = new Device.SATOPrinterAPI();
|
||||
PUB.PrinterL.PortName = AR.SETTING.Data.PrintL_Port;
|
||||
PUB.PrinterL.BaudRate = AR.SETTING.Data.PrintL_Baud;
|
||||
@@ -91,7 +91,7 @@ namespace Project
|
||||
PUB.flag.set(eVarBool.FG_INIT_PRINTER, true, "INIT");
|
||||
|
||||
//모델자동선택 181206
|
||||
PUB.sm.RaiseStateProgress(++progress, "이전모델 확인", ProgressMax, fColor); System.Threading.Thread.Sleep(5);
|
||||
PUB.sm.RaiseStateProgress(++progress, "Previous Model Check", ProgressMax, fColor); System.Threading.Thread.Sleep(5);
|
||||
|
||||
//
|
||||
if (SETTING.User.LastModelV != "") PUB.SelectModelV(SETTING.User.LastModelV, false);
|
||||
@@ -101,7 +101,7 @@ namespace Project
|
||||
else PUB.flag.set(eVarBool.Use_Conveyor, false, "load");
|
||||
PUB.SelectModelM(motionmodel, false);
|
||||
|
||||
PUB.sm.RaiseStateProgress(ProgressMax, "초기화 완료", ProgressMax, Color.Gold); System.Threading.Thread.Sleep(5);
|
||||
PUB.sm.RaiseStateProgress(ProgressMax, "Initialization Complete", ProgressMax, Color.Gold); System.Threading.Thread.Sleep(5);
|
||||
PUB.log.Add("init finish");
|
||||
|
||||
//조명 ON
|
||||
@@ -111,7 +111,7 @@ namespace Project
|
||||
// Start OWIN host
|
||||
var baseAddress = "http://*:9001";
|
||||
WebApp.Start<OWIN.Startup>(url: baseAddress);
|
||||
PUB.log.AddI($"호스팅서비스ON : {baseAddress}");
|
||||
PUB.log.AddI($"Hosting service ON: {baseAddress}");
|
||||
|
||||
}
|
||||
|
||||
@@ -157,7 +157,7 @@ namespace Project
|
||||
//7개의 축을 사용한다
|
||||
if (PUB.mot.IsInit == false)
|
||||
{
|
||||
PUB.log.AddE("모션보드 초기화 오류로 설정을 진행하지 않습니다");
|
||||
PUB.log.AddE("Motion board initialization error, configuration will not proceed");
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -167,15 +167,15 @@ namespace Project
|
||||
var file = System.IO.Path.Combine(UTIL.CurrentPath, "Model", "axis" + i.ToString() + ".motaxt");
|
||||
if (System.IO.File.Exists(file) == false)
|
||||
{
|
||||
PUB.log.AddAT($"모션({i}) 설정파일 없음!!");
|
||||
PUB.log.AddAT($"Motion ({i}) configuration file not found!!");
|
||||
PUB.mot.InitAxis(i, file);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (PUB.mot.InitAxis((short)i, file) == false)
|
||||
PUB.log.AddE("모션 설정 실패 축:" + i.ToString());
|
||||
PUB.log.AddE("Motion setup failed axis:" + i.ToString());
|
||||
else
|
||||
PUB.log.AddI($"모션({i}) 설정 완료");
|
||||
PUB.log.AddI($"Motion ({i}) setup complete");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -129,7 +129,7 @@ namespace Project
|
||||
|
||||
//plc의 SID 데이터를 갱신하도록 한다
|
||||
PUB.Result.ClearAllSID = true;
|
||||
PUB.log.AddI("*** 신규 작업이 시작 되었습니다 ***");
|
||||
PUB.log.AddI("*** New job has started ***");
|
||||
//PUB.flag.set(eVarBool.RDY_VISION1, true, "JOB START"); //최초 시작시에는 1번 비젼이 동작하게 한다
|
||||
|
||||
//새로시작할때에는 이 값을 초기화 해준다.
|
||||
@@ -149,10 +149,10 @@ namespace Project
|
||||
{
|
||||
if (VAR.BOOL[eVarBool.wait_for_keyence])
|
||||
{
|
||||
PUB.log.Add($"바코드수신대기중이었으므로 기존 값을 삭제 합니다(CONF={PUB.Result.ItemDataC.VisionData.Confirm},ID:{PUB.Result.ItemDataC.VisionData.RID})");
|
||||
PUB.log.Add($"Deleting existing values because barcode reception was waiting (CONF={PUB.Result.ItemDataC.VisionData.Confirm}, ID:{PUB.Result.ItemDataC.VisionData.RID})");
|
||||
PUB.Result.ItemDataC.VisionData.Clear("RESTART", true);
|
||||
}
|
||||
PUB.log.AddI("*** 작업이 재시작 되었습니다 ***");
|
||||
PUB.log.AddI("*** Job has been restarted ***");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -253,7 +253,7 @@ namespace Project
|
||||
|
||||
if (PUB.flag.get(eVarBool.FG_JOB_END) == false)
|
||||
{
|
||||
PUB.log.AddAT("작업완료조건실행");
|
||||
PUB.log.AddAT("Work completion condition execution");
|
||||
VAR.TIME.Update(eVarTime.JOB_END);
|
||||
PUB.flag.set(eVarBool.FG_JOB_END, true, "SM_RUN");
|
||||
}
|
||||
@@ -264,7 +264,7 @@ namespace Project
|
||||
if (ts.TotalSeconds >= AR.SETTING.Data.Timeout_JOBEnd)
|
||||
{
|
||||
PUB.Result.JobEndTime = DateTime.Now;
|
||||
PUB.log.AddI($"작업완료 상태로 전환합니다(대기시간:{AR.SETTING.Data.Timeout_JOBEnd}초)");
|
||||
PUB.log.AddI($"Switching to job completion state (wait time: {AR.SETTING.Data.Timeout_JOBEnd} seconds)");
|
||||
PUB.sm.SetNewStep(eSMStep.FINISH);
|
||||
PUB.flag.set(eVarBool.FG_JOB_END, false, "SM_RUN:FINISH");
|
||||
}
|
||||
@@ -275,7 +275,7 @@ namespace Project
|
||||
//이조건일때에는 job_End 가 없어야한다
|
||||
if (PUB.flag.get(eVarBool.FG_JOB_END) == true)
|
||||
{
|
||||
PUB.log.AddI("작업완료조건 해제");
|
||||
PUB.log.AddI("Work completion condition released");
|
||||
PUB.flag.set(eVarBool.FG_JOB_END, false, "run");
|
||||
|
||||
//메인메세지를 제거 해준다.
|
||||
|
||||
Reference in New Issue
Block a user