From 5743a135132d18b1de846e5bc9a1c964f0899dff Mon Sep 17 00:00:00 2001 From: Paul Barron Date: Tue, 17 Dec 2019 10:27:25 +0100 Subject: [PATCH] Remove mode 2 from iRestoreCode Issues found regarding overiding of .config params in the axis struct. Also doubts about whether it would actually be used. --- solution/tc_project_app/POUs/MAIN.TcPOU | 68 +++++++------------------ 1 file changed, 18 insertions(+), 50 deletions(-) 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]]> - - - - - - - - - + + + - + + +