From 7c1c9eadcf82af4f54a58cfbac3adf57caec1214 Mon Sep 17 00:00:00 2001 From: aaronlong Date: Tue, 24 Dec 2019 10:37:06 +0000 Subject: [PATCH] Removed trailing CR --- .../tcUNIT/app_tests/tcUNIT_APP_RUN.TcPOU | 7 +--- .../tcUNIT/common/FB_tcUNIT_common.TcPOU | 39 ++++++------------- .../tcUNIT/common/tcUNIT_GVL.TcGVL | 3 +- 3 files changed, 15 insertions(+), 34 deletions(-) diff --git a/solution/tc_project_app/tcUNIT/app_tests/tcUNIT_APP_RUN.TcPOU b/solution/tc_project_app/tcUNIT/app_tests/tcUNIT_APP_RUN.TcPOU index b4bdf8c..bfdf84b 100644 --- a/solution/tc_project_app/tcUNIT/app_tests/tcUNIT_APP_RUN.TcPOU +++ b/solution/tc_project_app/tcUNIT/app_tests/tcUNIT_APP_RUN.TcPOU @@ -8,15 +8,12 @@ PROGRAM tcUNIT_APP_RUN VAR (* Declare standard library POU tests to be run E.g. fbMoveNonLinearSlits: FB_MoveNonLinearSlits_Test; *) -END_VAR -]]> +END_VAR]]> - + - \ No newline at end of file diff --git a/solution/tc_project_app/tcUNIT/common/FB_tcUNIT_common.TcPOU b/solution/tc_project_app/tcUNIT/common/FB_tcUNIT_common.TcPOU index 3a5cc14..844227f 100644 --- a/solution/tc_project_app/tcUNIT/common/FB_tcUNIT_common.TcPOU +++ b/solution/tc_project_app/tcUNIT/common/FB_tcUNIT_common.TcPOU @@ -5,8 +5,7 @@ FUNCTION_BLOCK FB_tcUNIT_common VAR -END_VAR -]]> +END_VAR]]> @@ -18,26 +17,22 @@ END_VAR VAR i: INT := 0; -END_VAR -]]> +END_VAR]]> +END_WHILE]]> +END_VAR]]> +Cycle(1); // Cycle the PLC to ensure the values have been set and results can be taken]]> @@ -48,8 +43,7 @@ END_VAR VAR_INPUT MotionStrategy: MotionFunctions; // The motion strategy to be used in the move -END_VAR -]]> +END_VAR]]> +Cycle(1); // Cycle the PLC to ensure the values have been set and results can be taken]]> @@ -86,8 +79,7 @@ VAR_INPUT fTargetDeceleration: LREAL; fTargetPosition: LREAL; eMotionStrategy: MotionFunctions; -END_VAR -]]> +END_VAR]]> +Cycle(1); // Cycle the PLC to ensure the values have been set and results can be taken]]> +END_VAR]]> +Cycle(1); // Cycle the PLC to ensure the values have been set and results can be taken]]> @@ -144,13 +133,12 @@ Cycle(1); // Cycle the PLC to ensure the values have been set and results can - + - @@ -163,14 +151,12 @@ Cycle(1); // Cycle the PLC to ensure the values have been set and results can - - @@ -187,7 +173,6 @@ Cycle(1); // Cycle the PLC to ensure the values have been set and results can - \ No newline at end of file diff --git a/solution/tc_project_app/tcUNIT/common/tcUNIT_GVL.TcGVL b/solution/tc_project_app/tcUNIT/common/tcUNIT_GVL.TcGVL index 3b89d11..ed05340 100644 --- a/solution/tc_project_app/tcUNIT/common/tcUNIT_GVL.TcGVL +++ b/solution/tc_project_app/tcUNIT/common/tcUNIT_GVL.TcGVL @@ -22,7 +22,6 @@ END_VAR VAR_GLOBAL iAxis: INT; -END_VAR -]]> +END_VAR]]> \ No newline at end of file