diff --git a/solution/tc_project_app/POUs/MAIN.TcPOU b/solution/tc_project_app/POUs/MAIN.TcPOU
index 2621b5e..3ff0212 100644
--- a/solution/tc_project_app/POUs/MAIN.TcPOU
+++ b/solution/tc_project_app/POUs/MAIN.TcPOU
@@ -26,19 +26,6 @@ VAR
//bOutput24 AT %Q*: BOOL:= TRUE;
//bOutput28 AT %Q*: BOOL:= TRUE;
-(******Error Handling********)
- fbErrorSystem: FB_ErrorSystem;
- aFbAxesError: ARRAY [1..gvl_app.axisNum] OF FB_NC_Error;
-
- //fbEL1018 : EL1018;
- //fbEL2808 : EL2808;
- //fbEL5101 : EL5101;
- //fbEL9505 : EL9505;
- //fbEL1252 : EL1252;
- //fbEL9410 : EL9410;
- //fbEL7037 : EL7037;
- //fbEK1110 : EK1110;
-
(******Startup, Shutdown and UPS********)
fbUPS : FB_S_UPS_CX51x0;
eUpsMode : E_S_UPS_Mode := eSUPS_WrPersistData_Shutdown;
@@ -59,8 +46,7 @@ END_VAR]]>
+AXES();]]>
@@ -87,46 +73,6 @@ ELSIF eGlobalSUpsState <> eSUPS_PowerOK THEN
END_IF]]>
-
-
- ,
- nSelectedError=> ,
- pErrorSystem=> );
-
-
-FOR GVL.iAxis:=1 TO gvl_app.axisNum DO
- aFbAxesError[gvl.iAxis](EN:=TRUE,
- nNC_ErrorID:= gvl.axes[gvl.iAxis].status.nErrorID,
- nNC_AxisID:=gvl.axes[gvl.iAxis].Axis.NcToPlc.AxisId,
- ErrorSystem:= fbErrorSystem.pErrorSystem);
-END_FOR
-
-
-
-(*call all the necessary instance (input assistance F2 or right click) according to the terminals that you have in your hardware and
- add "TRUE" in the input En, the corresponding number of termianl to the iTerminal_ID and
-the variable "fbErrorSystem.pErrorSystem" to the input ErrorSystem in each FB E. g. :
-fbEL1808(
- En:= TRUE,
- iTerminal_ID:= 01,
- ErrorSystem:= fbErorSystem.pErrorSystem,
- EnO=> ,
- bError=> );
- *)
-
-]]>
-
-
-
+
@@ -287,22 +233,6 @@ END_FOR]]>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-