From 3366854d14110c1a60644ec3eede0f1d600fd734 Mon Sep 17 00:00:00 2001 From: Federico Rojas Date: Mon, 15 Jul 2024 16:02:37 +0200 Subject: [PATCH 1/4] Update TwincAT to version 4024.56 Update the project version to 4024.56. Change compiler version to "latest version". Select the option "Minimize the Id changes in TwinCAT files" to get rid of the changes in the id hash. Add ST_HomingConfig to the solution file structure. Update all libraries placeholders to latest version. --- solution/solution.tsproj | 2 +- .../tc_project_app/tc_project_app.plcproj | 41 ++++++++++--------- 2 files changed, 23 insertions(+), 20 deletions(-) diff --git a/solution/solution.tsproj b/solution/solution.tsproj index 80f912a..29d4f8f 100644 --- a/solution/solution.tsproj +++ b/solution/solution.tsproj @@ -1,5 +1,5 @@ - + diff --git a/solution/tc_project_app/tc_project_app.plcproj b/solution/tc_project_app/tc_project_app.plcproj index 070a387..b8d1462 100644 --- a/solution/tc_project_app/tc_project_app.plcproj +++ b/solution/tc_project_app/tc_project_app.plcproj @@ -14,9 +14,11 @@ {26d08e27-a705-49a9-95de-a3a0b6ea049c} {577f21c4-8eb2-4f2c-a24e-4c3f62ca96d2} false - 3.1.4024.0 + + true false + true @@ -68,6 +70,9 @@ Code + + Code + Code @@ -407,10 +412,10 @@ Tc2_Math, * (Beckhoff Automation GmbH) - Tc2_MC2, 3.3.48.0 (Beckhoff Automation GmbH) + Tc2_MC2, * (Beckhoff Automation GmbH) - Tc2_MC2_Drive, 3.3.26.0 (Beckhoff Automation GmbH) + Tc2_MC2_Drive, * (Beckhoff Automation GmbH) Tc2_Standard, * (Beckhoff Automation GmbH) @@ -425,7 +430,7 @@ Tc2_Utilities, * (Beckhoff Automation GmbH) - Tc3_MC2_AdvancedHoming, 3.0.15.0 (Beckhoff Automation GmbH) + Tc3_MC2_AdvancedHoming, * (Beckhoff Automation GmbH) Tc3_Module, * (Beckhoff Automation GmbH) @@ -440,8 +445,8 @@ - - + + "<ProjectRoot>" {192FAD59-8248-4824-A8DE-9177C94C195A} @@ -488,9 +493,7 @@ VersionConstraint - - "3.1.4024.0" - + EnableBreakpointLogging false @@ -513,16 +516,16 @@ - - - System.Boolean - {f9079115-a4ba-4f30-bf7c-9e76613146fc} - System.Collections.Hashtable - System.Int32 - {54dd0eac-a6d8-46f2-8c27-2f43c7e49861} - System.String - - + + + System.Boolean + System.Collections.Hashtable + System.Int32 + {af9bafe2-ba31-4b15-a2b9-48a0f2cd09fb} + {54dd0eac-a6d8-46f2-8c27-2f43c7e49861} + System.String + + \ No newline at end of file From c5988a399e6c4bb40c4371da9c3dd1d384e2995f Mon Sep 17 00:00:00 2001 From: Federico Rojas Date: Mon, 15 Jul 2024 16:03:50 +0200 Subject: [PATCH 2/4] Clear invalid persisten data set to TRUE The option "Clear invlaid persistent data" is set to true. --- solution/_Config/PLC/tc_project_app.xti | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/solution/_Config/PLC/tc_project_app.xti b/solution/_Config/PLC/tc_project_app.xti index 67fd43a..dee3b3f 100644 --- a/solution/_Config/PLC/tc_project_app.xti +++ b/solution/_Config/PLC/tc_project_app.xti @@ -1,12 +1,12 @@ - - - + + + tc_project_app Instance {08500001-0000-0000-F000-000000000064} - 0 + 0 PlcTask #x02010040 From 1ca6a9ed36d31c21dfb7096fbbeb05d145b7a02e Mon Sep 17 00:00:00 2001 From: Federico Rojas Date: Mon, 15 Jul 2024 16:04:43 +0200 Subject: [PATCH 3/4] Update pointer to version 2.4.0 of tc_mca_std_lib --- solution/tc_project_app/tc_mca_std_lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solution/tc_project_app/tc_mca_std_lib b/solution/tc_project_app/tc_mca_std_lib index b4f4d68..a44a596 160000 --- a/solution/tc_project_app/tc_mca_std_lib +++ b/solution/tc_project_app/tc_mca_std_lib @@ -1 +1 @@ -Subproject commit b4f4d68acf71ac095e9f03ba8c7a531c0f836dad +Subproject commit a44a59664c0a8f855c0909b8e758e71c676d3c56 From a62e8ce41924e4ebcd96fa74bb9f1e4dcf8080b6 Mon Sep 17 00:00:00 2001 From: Federico Rojas Date: Mon, 15 Jul 2024 16:30:53 +0200 Subject: [PATCH 4/4] Update python script to check versions Update the python script to now check for versions for 4024.56 modified: twincat_version_manager.py --- twincat_version_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twincat_version_manager.py b/twincat_version_manager.py index be19ad1..ffc0584 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.11", "**/*.tsproj": "3.1.4024.32", "**/*.xti": "3.1.4024.32"} +CORRECT_VERSIONS = {"**/*.Tc*": "3.1.4024.11", "**/*.tsproj": "3.1.4024.56", "**/*.xti": "3.1.4024.56"} def check_versions():