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/Application Specific/Applications/Application_Template.TcPOU b/solution/tc_project_app/POUs/Application Specific/Applications/Application_Template.TcPOU new file mode 100644 index 0000000..dbf45fb --- /dev/null +++ b/solution/tc_project_app/POUs/Application Specific/Applications/Application_Template.TcPOU @@ -0,0 +1,18 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/solution/tc_project_app/POUs/Application Specific/Axes/Axis_Template.TcPOU b/solution/tc_project_app/POUs/Application Specific/Axes/Axis_Template.TcPOU new file mode 100644 index 0000000..d37b2de --- /dev/null +++ b/solution/tc_project_app/POUs/Application Specific/Axes/Axis_Template.TcPOU @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/solution/tc_project_app/POUs/MAIN.TcPOU b/solution/tc_project_app/POUs/MAIN.TcPOU index 1545c89..2f0aeff 100644 --- a/solution/tc_project_app/POUs/MAIN.TcPOU +++ b/solution/tc_project_app/POUs/MAIN.TcPOU @@ -1,8 +1,7 @@  - +AXES(); +PROG();]]> - @@ -75,7 +78,14 @@ END_IF]]> - + @@ -204,10 +214,12 @@ END_FOR]]> - + + + @@ -221,7 +233,13 @@ END_FOR]]> - + + + + + + + diff --git a/solution/tc_project_app/tc_mca_std_lib b/solution/tc_project_app/tc_mca_std_lib index 1223db3..96bcac1 160000 --- a/solution/tc_project_app/tc_mca_std_lib +++ b/solution/tc_project_app/tc_mca_std_lib @@ -1 +1 @@ -Subproject commit 1223db3af587d1392ecb71a98daef973ffe8603b +Subproject commit 96bcac1603ac32917158f32001e0d7249ba28e71 diff --git a/solution/tc_project_app/tc_project_app.plcproj b/solution/tc_project_app/tc_project_app.plcproj index 554b441..6ea8c93 100644 --- a/solution/tc_project_app/tc_project_app.plcproj +++ b/solution/tc_project_app/tc_project_app.plcproj @@ -27,6 +27,12 @@ Code + + Code + + + Code + Code @@ -128,6 +134,9 @@ + + + @@ -238,8 +247,8 @@ - - + + "<ProjectRoot>" {192FAD59-8248-4824-A8DE-9177C94C195A} @@ -290,15 +299,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 diff --git a/twincat_version_manager.py b/twincat_version_manager.py index a6372e7..697ca50 100644 --- a/twincat_version_manager.py +++ b/twincat_version_manager.py @@ -2,7 +2,7 @@ import glob import xml.etree.ElementTree as ET VERSION_TAGS = {"**/*.Tc*": "ProductVersion", "**/*.tsproj": "TcVersion"} -CORRECT_VERSIONS = {"**/*.Tc*": "3.1.4024.5", "**/*.tsproj": "3.1.4023.119"} +CORRECT_VERSIONS = {"**/*.Tc*": "3.1.4024.5", "**/*.tsproj": "3.1.4024.11"} def check_versions():