From 653982a3161657fd294ffdc2297e0fe04950b3ad Mon Sep 17 00:00:00 2001 From: Federico Rojas Date: Tue, 14 Nov 2023 15:48:49 +0100 Subject: [PATCH 1/5] Delete FB_AxisTemperature --- solution/tc_project_app/tc_project_app.plcproj | 3 --- 1 file changed, 3 deletions(-) diff --git a/solution/tc_project_app/tc_project_app.plcproj b/solution/tc_project_app/tc_project_app.plcproj index dd7d128..070a387 100644 --- a/solution/tc_project_app/tc_project_app.plcproj +++ b/solution/tc_project_app/tc_project_app.plcproj @@ -131,9 +131,6 @@ Code - - Code - Code From 3027f4ee107c22eb338e7a5df0848bdc2fd3f28b Mon Sep 17 00:00:00 2001 From: Federico Rojas Date: Tue, 14 Nov 2023 15:49:12 +0100 Subject: [PATCH 2/5] Modify the templates to reflect the format and parameters Add the temperature configuraiton in Axis_template Format the var field in Application_Template Call both from the PROG action in MAIN() as example modified: solution/tc_project_app/POUs/Application_Specific/Applications/Application_Template.TcPOU modified: solution/tc_project_app/POUs/Application_Specific/Axes/Axis_Template.TcPOU modified: solution/tc_project_app/POUs/MAIN.TcPOU --- .../Applications/Application_Template.TcPOU | 3 ++- .../Axes/Axis_Template.TcPOU | 22 +++++++++++-------- solution/tc_project_app/POUs/MAIN.TcPOU | 4 ++-- 3 files changed, 17 insertions(+), 12 deletions(-) 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 dd7adb2..d1201aa 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 @@ -3,7 +3,8 @@ 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 a81cbe6..f181670 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 @@ -12,19 +12,23 @@ END_VAR ]]> From 1278455adebf665f45c0a3126c696877219f99a3 Mon Sep 17 00:00:00 2001 From: Federico Rojas Date: Tue, 14 Nov 2023 15:52:44 +0100 Subject: [PATCH 3/5] Update tc_mca_std_lib pointer to commit ea6826fd49 --- 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 0c87e0e..ea6826f 160000 --- a/solution/tc_project_app/tc_mca_std_lib +++ b/solution/tc_project_app/tc_mca_std_lib @@ -1 +1 @@ -Subproject commit 0c87e0e44c4a849704ba2de78b8c6ddff3ff4376 +Subproject commit ea6826fd491ad4dc0ca947dd09b17d7c7f5f9a1f From 2ca16a4d8d71b514b23fce3ea331608b2b977fc2 Mon Sep 17 00:00:00 2001 From: Federico Rojas Date: Wed, 6 Dec 2023 15:39:01 +0100 Subject: [PATCH 4/5] Build solution with the changes in std_lib for MBP-265 --- solution/_Config/PLC/tc_project_app.xti | 2 +- solution/tc_project_app/GlobalTextList.TcGTLO | 30 +++++++++++++++++++ solution/tc_project_app/tc_mca_std_lib | 2 +- 3 files changed, 32 insertions(+), 2 deletions(-) diff --git a/solution/_Config/PLC/tc_project_app.xti b/solution/_Config/PLC/tc_project_app.xti index 31948d4..67fd43a 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/tc_project_app/GlobalTextList.TcGTLO b/solution/tc_project_app/GlobalTextList.TcGTLO index bdfe9f1..ab865a8 100644 --- a/solution/tc_project_app/GlobalTextList.TcGTLO +++ b/solution/tc_project_app/GlobalTextList.TcGTLO @@ -130,6 +130,11 @@ "bGeared" + + "902" + "bHighTempAxisDisabled" + + "948" "bHomed" @@ -140,6 +145,11 @@ "bCommandAborted" + + "509" + "bHWMaskActive" + + "183" "bInterlock" @@ -155,6 +165,11 @@ "bInVeloit" + + "386" + "bMoving" + + "485" "bMovingExtend" @@ -210,6 +225,16 @@ "eHomeDirect" + + "302" + "eHomeToBlock_Bwd" + + + + "1049" + "eHomeToBlock_Fwd" + + "198" "eHomeToEncPulse_Bwd" @@ -315,6 +340,11 @@ "fAcceleration" + + "730" + "fActualTemp" + + "956" "fDeceleration" diff --git a/solution/tc_project_app/tc_mca_std_lib b/solution/tc_project_app/tc_mca_std_lib index ea6826f..007b84c 160000 --- a/solution/tc_project_app/tc_mca_std_lib +++ b/solution/tc_project_app/tc_mca_std_lib @@ -1 +1 @@ -Subproject commit ea6826fd491ad4dc0ca947dd09b17d7c7f5f9a1f +Subproject commit 007b84c823d697288a059130def94adc5165861a From 751d3eb68eee6f8c2b027d7e8aac6177236bc555 Mon Sep 17 00:00:00 2001 From: Federico Rojas Date: Tue, 12 Dec 2023 12:26:41 +0100 Subject: [PATCH 5/5] update pointer to latest std_lib commit 61eef8 --- 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 007b84c..61eef8b 160000 --- a/solution/tc_project_app/tc_mca_std_lib +++ b/solution/tc_project_app/tc_mca_std_lib @@ -1 +1 @@ -Subproject commit 007b84c823d697288a059130def94adc5165861a +Subproject commit 61eef8badb9291cefb0dd8698a1d15d366b9a38e