From ba6c69164676747c6fca334bfeecaad4c007553b Mon Sep 17 00:00:00 2001 From: Federico Rojas Date: Mon, 19 Sep 2022 14:44:26 +0200 Subject: [PATCH] Replace obsolete FB_GetDeviceIdentification for FB_GetDeviceIdentificationEx --- solution/_Config/PLC/tc_project_app.xti | 2 +- solution/tc_project_app/POUs/MAIN.TcPOU | 38 +------------------------ solution/tc_project_app/tc_mca_std_lib | 2 +- 3 files changed, 3 insertions(+), 39 deletions(-) diff --git a/solution/_Config/PLC/tc_project_app.xti b/solution/_Config/PLC/tc_project_app.xti index f7a73bd..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/tc_project_app/POUs/MAIN.TcPOU b/solution/tc_project_app/POUs/MAIN.TcPOU index c8a9088..a97fe32 100644 --- a/solution/tc_project_app/POUs/MAIN.TcPOU +++ b/solution/tc_project_app/POUs/MAIN.TcPOU @@ -19,7 +19,7 @@ VAR iAxes : UINT; //index for for loops in Position recovery actions afbReadEncRefSys: ARRAY [1..GVL_APP.nAXIS_NUM] OF MC_ReadParameter; afbRestorePosition: ARRAY [1..GVL_APP.nAXIS_NUM] OF MC_SetPosition; - fbGetDeviceIdentification: FB_GetDeviceIdentification; + fbGetDeviceIdentification: FB_GetDeviceIdentificationEx; END_VAR VAR PERSISTENT @@ -201,41 +201,5 @@ END_IF]]> END_FOR]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/solution/tc_project_app/tc_mca_std_lib b/solution/tc_project_app/tc_mca_std_lib index 5b63b12..acf1777 160000 --- a/solution/tc_project_app/tc_mca_std_lib +++ b/solution/tc_project_app/tc_mca_std_lib @@ -1 +1 @@ -Subproject commit 5b63b12dd2e1dc6008fa34bb3f4aaad9efa56271 +Subproject commit acf1777ed6bccf1062e412dffec0016972071640