diff --git a/.gitignore b/.gitignore index 8f8c117..e5ef5ae 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,8 @@ UpgradeLog.htm _Boot/ _CompileInfo/ _Libraries/ +solution/tc_project_app/LineIDs.dbg +LineIDs.dbg logs.0* solution/TrialLicense.tclrs tools/linux/ADS/ diff --git a/solution.sln b/solution.sln index 2694336..60113c2 100644 --- a/solution.sln +++ b/solution.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2013 -VisualStudioVersion = 12.0.21005.1 +# TcXaeShell Solution File, Format Version 11.00 +VisualStudioVersion = 15.0.28307.1300 MinimumVisualStudioVersion = 10.0.40219.1 Project("{B1E792BE-AA5F-4E3C-8C82-674BF9C0715B}") = "solution", "solution\solution.tsproj", "{9CF97348-B9D3-4938-B1F2-5F0B0B6AA66A}" EndProject diff --git a/solution/Licenses/ReadMe_licenses.txt b/solution/Licenses/ReadMe_licenses.txt deleted file mode 100644 index 1cc9be8..0000000 --- a/solution/Licenses/ReadMe_licenses.txt +++ /dev/null @@ -1,5 +0,0 @@ -Copy and paste in this folder the licenses contained inside the Beckhoff CPU in the path: - -C:\TwinCAT\3.1\Target\License - -Thank you \ No newline at end of file diff --git a/solution/_Config/NC/NC.xti b/solution/_Config/NC/NC.xti index 32cccdf..ba2dbbd 100644 --- a/solution/_Config/NC/NC.xti +++ b/solution/_Config/NC/NC.xti @@ -1,5 +1,5 @@ - + NC-Task 1 SAF diff --git a/solution/_Config/PLC/tc_project_app.xti b/solution/_Config/PLC/tc_project_app.xti index 9067711..30060c1 100644 --- a/solution/_Config/PLC/tc_project_app.xti +++ b/solution/_Config/PLC/tc_project_app.xti @@ -1,7 +1,7 @@ - + - + tc_project_app Instance {08500001-0000-0000-F000-000000000064} diff --git a/solution/solution.tsproj b/solution/solution.tsproj index 4bf7c31..f495754 100644 --- a/solution/solution.tsproj +++ b/solution/solution.tsproj @@ -1,8 +1,8 @@ - + - + diff --git a/solution/tc_project_app/GVLs/GVL_APP.TcGVL b/solution/tc_project_app/GVLs/GVL_APP.TcGVL index f8c5309..b8e952e 100644 --- a/solution/tc_project_app/GVLs/GVL_APP.TcGVL +++ b/solution/tc_project_app/GVLs/GVL_APP.TcGVL @@ -1,16 +1,13 @@  - + +END_VAR]]> \ No newline at end of file diff --git a/solution/tc_project_app/GlobalTextList.TcGTLO b/solution/tc_project_app/GlobalTextList.TcGTLO index e6f7192..543a845 100644 --- a/solution/tc_project_app/GlobalTextList.TcGTLO +++ b/solution/tc_project_app/GlobalTextList.TcGTLO @@ -1,5 +1,5 @@  - + 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 index dbf45fb..d653e82 100644 --- a/solution/tc_project_app/POUs/Application_Specific/Applications/Application_Template.TcPOU +++ b/solution/tc_project_app/POUs/Application_Specific/Applications/Application_Template.TcPOU @@ -1,5 +1,5 @@  - + - - - - \ 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 index b7dc9f6..43513fc 100644 --- a/solution/tc_project_app/POUs/Application_Specific/Axes/Axis_Template.TcPOU +++ b/solution/tc_project_app/POUs/Application_Specific/Axes/Axis_Template.TcPOU @@ -1,5 +1,5 @@  - + +END_VAR]]> +Eg. GVL.astAxes[x].stControl.bInterlockFwd := NOT bInterlockFwdOK;*)]]> - - - - - - - - - - - - \ No newline at end of file diff --git a/solution/tc_project_app/POUs/Application_Specific/Axes/Pneumatics_Template.TcPOU b/solution/tc_project_app/POUs/Application_Specific/Axes/Pneumatics_Template.TcPOU index 1bd9a51..d374ed2 100644 --- a/solution/tc_project_app/POUs/Application_Specific/Axes/Pneumatics_Template.TcPOU +++ b/solution/tc_project_app/POUs/Application_Specific/Axes/Pneumatics_Template.TcPOU @@ -1,5 +1,5 @@  - + - - - - - - - - - - - - \ 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 16ea784..96e9c9d 100644 --- a/solution/tc_project_app/POUs/MAIN.TcPOU +++ b/solution/tc_project_app/POUs/MAIN.TcPOU @@ -1,9 +1,10 @@  - + +PROG(); +AXES();]]> - +END_FOR]]> @@ -75,16 +85,18 @@ END_IF]]> - +//Application_Template();]]> @@ -211,51 +223,5 @@ END_IF]]> END_FOR]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/solution/tc_project_app/PlcTask.TcTTO b/solution/tc_project_app/PlcTask.TcTTO index c0a487a..edda272 100644 --- a/solution/tc_project_app/PlcTask.TcTTO +++ b/solution/tc_project_app/PlcTask.TcTTO @@ -1,5 +1,5 @@  - + 10000 diff --git a/solution/tc_project_app/Visualization Manager.TcVMO b/solution/tc_project_app/Visualization Manager.TcVMO index 8dc78a2..51a9bf2 100644 --- a/solution/tc_project_app/Visualization Manager.TcVMO +++ b/solution/tc_project_app/Visualization Manager.TcVMO @@ -1,5 +1,5 @@  - + @@ -45,10 +45,10 @@ FB_Init c98701bd-1e9f-450a-a2a8-a2474d536f2e - FB_Reinit - 5b6e372a-a69d-40e8-aef7-f470b7c53d95 FB_Exit 0be1b9ab-e8eb-4b33-b803-109abb46bde4 + FB_Reinit + 5b6e372a-a69d-40e8-aef7-f470b7c53d95 "NotImportant" {aa8b7e42-e967-427f-8f2e-f00f9d706470} @@ -58,7 +58,7 @@ 7 4096 "1002 0004" - "1.0.0.4" + "1.0.0.6" {cb73a13e-6ccc-4bc6-8859-f5aa98bb116b} @@ -466,34 +466,34 @@ ExecuteLooseCapture 4e2884cd-dc97-4120-914c-87a83e618f1f - ExecuteMouseUp - 57eea9a5-15d9-4269-bb8d-9fee5420cdb2 Init e61a0910-39b6-4bcc-9a64-fcab62230628 FB_Exit e6e1ea47-0811-4b03-9888-d0564361e0d6 ExecuteMouseDblClick a517a0ac-170b-4df4-b289-55dcb57628ed - GetElementInfo - f64cb89f-3016-4fba-85f5-02efcd4282c1 ExecuteMouseDown 94bab392-b395-4c03-9d0e-5738d11bd021 + ExecuteMouseUp + 57eea9a5-15d9-4269-bb8d-9fee5420cdb2 + ExecuteMouseEnter + 569205fa-533b-4fc2-8d51-21ccab693305 FB_Reinit 97933c03-0169-4afe-ac83-de892204e120 - Initialize - 6946d6e0-129f-4425-b8b0-ef98281a99e9 - ExecuteMouseMove - 58fc221c-be14-4e34-871e-a118f8ba9539 + GetElementInfo + f64cb89f-3016-4fba-85f5-02efcd4282c1 + abstrGetDefaultCursor + 25718998-50a9-408d-8b3f-20a55e2cc784 ExecuteDialogClosed f08d08b6-e70c-4bef-a136-38845bd246d8 ExecuteKeyUp 7403635b-2725-4f00-93d4-e0dd125959de ExecuteKeyDown 9649ecda-3794-4d6b-a8a7-71e528d9d170 - abstrGetDefaultCursor - 25718998-50a9-408d-8b3f-20a55e2cc784 - ExecuteMouseEnter - 569205fa-533b-4fc2-8d51-21ccab693305 + ExecuteMouseMove + 58fc221c-be14-4e34-871e-a118f8ba9539 + Initialize + 6946d6e0-129f-4425-b8b0-ef98281a99e9 ExecuteMouseLeave 3bacea68-55b4-4764-928e-e69910299932 FB_Init diff --git a/solution/tc_project_app/tc_mca_std_lib b/solution/tc_project_app/tc_mca_std_lib index ef11a1b..1f21fee 160000 --- a/solution/tc_project_app/tc_mca_std_lib +++ b/solution/tc_project_app/tc_mca_std_lib @@ -1 +1 @@ -Subproject commit ef11a1b4c06047b86d3852e31ed5242c9f5ca51e +Subproject commit 1f21feeafd2b9a75694e1bf0430e098ba8588f3d diff --git a/solution/tc_project_app/tc_project_app.plcproj b/solution/tc_project_app/tc_project_app.plcproj index 0c11005..3399138 100644 --- a/solution/tc_project_app/tc_project_app.plcproj +++ b/solution/tc_project_app/tc_project_app.plcproj @@ -16,6 +16,7 @@ false + true @@ -40,6 +41,33 @@ Code + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + + + Code + Code @@ -49,6 +77,9 @@ Code + + Code + Code @@ -61,6 +92,12 @@ Code + + Code + + + Code + Code @@ -88,45 +125,30 @@ Code - - Code - - + Code Code - - Code - - - Code - - - Code - - - Code - - - Code - - - Code - - + Code Code + + Code + Code Code + + Code + Code @@ -140,6 +162,9 @@ Code Visualization Manager.TcVMO + + Code + Code Visualization Manager.TcVMO @@ -154,6 +179,7 @@ + @@ -260,8 +286,161 @@ + + CAA Callback Extern, * (CAA Technical Workgroup) + + + CAA Memory Block Manager Extern, * (CAA Technical Workgroup) + + + CAA Ressource Manager Extern, * (CAA Technical Workgroup) + + + CAA Types Extern, * (CAA Technical Workgroup) + + + CmpApp, * (System) + + + CmpBitmapPool, * (System) + + + CmpDynamicText, * (System) + + + CmpEventMgr, * (System) + + + CmpLog, * (System) + + + CmpSchedule, * (System) + + + CmpTargetVisu, * (System) + + + CmpVisuHandler, * (System) + + + Collections, * (System) + + + Component Manager, * (System) + + + FloatingPointUtils, * (System) + + + Tc2_Standard, * (Beckhoff Automation GmbH) + + + Tc2_Standard, * (Beckhoff Automation GmbH) + + + StringUtils, * (System) + + + SysCpuHandling, * (System) + + + SysDir, * (System) + + + SysFile, * (System) + + + SysMem, * (System) + + + SysProcess, * (System) + + + SysShm, * (System) + + + SysTarget, * (System) + + + VisuElemBase, * (System) + + + VisuElemEventTable, * (System) + + + VisuElemMeter, * (System) + + + VisuElems, * (System) + + + VisuElemsSpecialControls, * (System) + + + VisuElemsWinControls, * (System) + + + VisuElemTextEditor, * (System) + + + VisuInputs, * (System) + + + VisuInputs, * (System) + + + VisuNativeControl, * (System) + + + SysTime, * (System) + + + SysTimeCore, * (System) + + + SysTimeRtc, * (System) + + + Tc2_Drive, * (Beckhoff Automation GmbH) + + + Tc2_EtherCAT, * (Beckhoff Automation GmbH) + + + Tc2_IoFunctions, * (Beckhoff Automation GmbH) + + + Tc2_Math, * (Beckhoff Automation GmbH) + - Tc2_MC2, 3.3.41.0 (Beckhoff Automation GmbH) + Tc2_MC2, 3.3.48.0 (Beckhoff Automation GmbH) + + + Tc2_MC2_Drive, * (Beckhoff Automation GmbH) + + + Tc2_Standard, * (Beckhoff Automation GmbH) + + + Tc2_SUPS, * (Beckhoff Automation GmbH) + + + Tc2_System, * (Beckhoff Automation GmbH) + + + Tc2_Utilities, * (Beckhoff Automation GmbH) + + + Tc3_MC2_AdvancedHoming, * (Beckhoff Automation GmbH) + + + Tc3_Module, * (Beckhoff Automation GmbH) + + + Util, * (System) + + + VisuDialogs, * (System) diff --git a/twincat_version_manager.py b/twincat_version_manager.py index 697ca50..be19ad1 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.4024.11"} +CORRECT_VERSIONS = {"**/*.Tc*": "3.1.4024.11", "**/*.tsproj": "3.1.4024.32", "**/*.xti": "3.1.4024.32"} def check_versions():