From 6cdfc7a0f3dd984c0679fac31e689faf2f0f8dc1 Mon Sep 17 00:00:00 2001 From: Federico Rojas Date: Wed, 9 Dec 2020 15:50:58 +0100 Subject: [PATCH] Create EXAMPLE() program and call it to show the intended use --- solution/solution.tsproj | 15 +++++++++-- solution/tc_project_app/POUs/MAIN.TcPOU | 5 ++-- .../tc_project_app/tc_project_app.plcproj | 26 +++++++++++-------- 3 files changed, 31 insertions(+), 15 deletions(-) diff --git a/solution/solution.tsproj b/solution/solution.tsproj index 66086ff..6c26f56 100644 --- a/solution/solution.tsproj +++ b/solution/solution.tsproj @@ -1,5 +1,5 @@ - + @@ -16,7 +16,7 @@ tc_project_app Instance {08500001-0000-0000-F000-000000000064} - + PlcTask Outputs MAIN.bOutput1 @@ -24,6 +24,17 @@ BOOL + + + 0 + PlcTask + + #x02010040 + + 20 + 10000000 + + diff --git a/solution/tc_project_app/POUs/MAIN.TcPOU b/solution/tc_project_app/POUs/MAIN.TcPOU index 1545c89..e334a27 100644 --- a/solution/tc_project_app/POUs/MAIN.TcPOU +++ b/solution/tc_project_app/POUs/MAIN.TcPOU @@ -75,7 +75,8 @@ END_IF]]> - + @@ -221,7 +222,7 @@ END_FOR]]> - + diff --git a/solution/tc_project_app/tc_project_app.plcproj b/solution/tc_project_app/tc_project_app.plcproj index 554b441..9c68c1c 100644 --- a/solution/tc_project_app/tc_project_app.plcproj +++ b/solution/tc_project_app/tc_project_app.plcproj @@ -17,6 +17,9 @@ false + + Code + Code @@ -128,6 +131,7 @@ + @@ -238,8 +242,8 @@ - - + + "<ProjectRoot>" {192FAD59-8248-4824-A8DE-9177C94C195A} @@ -290,15 +294,15 @@ - - - System.Boolean - System.Collections.Hashtable - System.Int32 - {54dd0eac-a6d8-46f2-8c27-2f43c7e49861} - System.String - - + + + System.Boolean + System.Collections.Hashtable + System.Int32 + {54dd0eac-a6d8-46f2-8c27-2f43c7e49861} + System.String + + \ No newline at end of file