From 5cf987dd60caccaa40153ed9aedacdfa010a7460 Mon Sep 17 00:00:00 2001 From: Markus Kristensson Date: Mon, 2 Sep 2024 11:54:00 +0200 Subject: [PATCH 1/3] Update pointer Updates pointer to include fix of MBP-292-Remove-warnings. --- 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 4a1ce00..b3473d9 160000 --- a/solution/tc_project_app/tc_mca_std_lib +++ b/solution/tc_project_app/tc_mca_std_lib @@ -1 +1 @@ -Subproject commit 4a1ce0017b759bf781e6295b48c4eadbae2572a4 +Subproject commit b3473d99d314fb6fbc1f1ebc267d88d9a380e0d3 From 93585de489c4c58167de81dbe5265f592ab1fc10 Mon Sep 17 00:00:00 2001 From: Markus Kristensson Date: Tue, 10 Sep 2024 11:18:34 +0200 Subject: [PATCH 2/3] Use reference to Pneumatic Axes Restructure the call to the pneumatic axes according to FB_Axes: 1. Link the axis structure for the pneumatic axes by calling the new stPneumaticAxis property. 2. Execute the pneumatic axes. --- solution/tc_project_app/POUs/MAIN.TcPOU | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/solution/tc_project_app/POUs/MAIN.TcPOU b/solution/tc_project_app/POUs/MAIN.TcPOU index eb06b93..1686557 100644 --- a/solution/tc_project_app/POUs/MAIN.TcPOU +++ b/solution/tc_project_app/POUs/MAIN.TcPOU @@ -45,6 +45,10 @@ IF _TaskInfo[fbGetCurTaskIndex.index].FirstCycle THEN afbAxes[GVL.iAxis].stAxis REF= astAxes[GVL.iAxis]; aIAxes[GVL.iAxis] := afbAxes[GVL.iAxis]; END_FOR + + FOR GVL.iPneumaticAxis := 1 TO GVL_APP.nPNEUMATIC_AXIS_NUM DO + afbPneumaticAxes[GVL.iPneumaticAxis].stPneumaticAxis REF= astPneumaticAxes[GVL.iPneumaticAxis]; + END_FOR //Custom axis types defined and linked to aiAxes here //FB_CustomAxis extends FB_axis //fbCustomAxis.stAxis REF= astAxes[x]; @@ -58,7 +62,7 @@ END_FOR //Execute Pneumatic Axis logic FOR GVL.iPneumaticAxis := 1 TO GVL_APP.nPNEUMATIC_AXIS_NUM DO - afbPneumaticAxes[GVL.iPneumaticAxis](stPneumaticAxisStruct := GVL.astPneumaticAxes[GVL.iPneumaticAxis]); + afbPneumaticAxes[GVL.iPneumaticAxis](); END_FOR ]]> From 2670cfdf0400143d77bf7a2d92b83e82ed7031f9 Mon Sep 17 00:00:00 2001 From: kristinajurisic Date: Tue, 29 Oct 2024 11:51:12 +0100 Subject: [PATCH 3/3] Update pointer to commit 1e257aee8 in 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 b3473d9..1e257ae 160000 --- a/solution/tc_project_app/tc_mca_std_lib +++ b/solution/tc_project_app/tc_mca_std_lib @@ -1 +1 @@ -Subproject commit b3473d99d314fb6fbc1f1ebc267d88d9a380e0d3 +Subproject commit 1e257aee8a527c489e6141bf3fa01f4445265d69