diff --git a/solution/tc_project_app/POUs/MAIN.TcPOU b/solution/tc_project_app/POUs/MAIN.TcPOU index 32e029d..9bb1040 100644 --- a/solution/tc_project_app/POUs/MAIN.TcPOU +++ b/solution/tc_project_app/POUs/MAIN.TcPOU @@ -39,7 +39,7 @@ VAR //fbEK1110 : EK1110; (******Startup, Shutdown and UPS********) - eStartUp: (ColdStart, ReadAxisFeedbackType, CheckReadDone, PrepareToRestore, ExecuteRestore, CheckRestore, FinishRestore); + eStartUp: (ColdStart, ReadAxisFeedbackType, CheckReadDone, ExecuteRestore, CheckRestore, FinishRestore); bPositionRestoreDone : BOOL := FALSE; bExecuteReadEncRefSys : BOOL := TRUE; iRetry : INT; @@ -70,10 +70,7 @@ STORE_PERSISTENT();]]> - @@ -129,14 +126,13 @@ fbEL1808( - - @@ -311,9 +284,8 @@ END_IF]]> - - - + + @@ -354,23 +326,19 @@ END_IF]]> - - - - - - - - - + + + - + + +