diff --git a/solution/solution.tsproj b/solution/solution.tsproj
index 75d2c60..5a083bc 100644
--- a/solution/solution.tsproj
+++ b/solution/solution.tsproj
@@ -1143,6 +1143,46 @@ External Setpoint Generation:
+
+ MAIN.fbEL1808.Channel_1_Input
+ BOOL
+
+
+ MAIN.fbEL1808.Channel_2_Input
+ BOOL
+
+
+ MAIN.fbEL1808.Channel_3_Input
+ BOOL
+
+
+ MAIN.fbEL1808.Channel_4_Input
+ BOOL
+
+
+ MAIN.fbEL1808.Channel_5_Input
+ BOOL
+
+
+ MAIN.fbEL1808.Channel_6_Input
+ BOOL
+
+
+ MAIN.fbEL1808.Channel_7_Input
+ BOOL
+
+
+ MAIN.fbEL1808.Channel_8_Input
+ BOOL
+
+
+ MAIN.fbEL1808.WcState_WcState
+ BOOL
+
+
+ MAIN.fbEL1808.InfoData_State
+ UINT
+
PlcTask Outputs
@@ -1171,15 +1211,6 @@ bHomeSensor8 AT %I*: BOOL;
BOOL
-
- MAIN.bOutput5
-
-
-
- BOOL
-
MAIN.M1Link.Axis.PlcToNc
PLCTONC_AXIS_REF
@@ -1196,6 +1227,15 @@ bOutput4 AT %Q*: BOOL:= TRUE;]]>
MAIN.M2.MasterAxis.PlcToNc
PLCTONC_AXIS_REF
+
+ MAIN.bOutput5
+
+
+
+ BOOL
+
diff --git a/solution/tc_project_app/POUs/MAIN.TcPOU b/solution/tc_project_app/POUs/MAIN.TcPOU
index d5c4635..35ae024 100644
--- a/solution/tc_project_app/POUs/MAIN.TcPOU
+++ b/solution/tc_project_app/POUs/MAIN.TcPOU
@@ -70,12 +70,12 @@ VAR
(******Error Handling********)
fbErrorList: FB_ErrorList;
- // fbEL3214: EL3214;
- //fbEL1808: EL1808;
+ //fbEL3214: EL3214;
+ fbEL1808: EL1808;
//fbEL2819: EL2819;
//fbEL9410: EL9410;
-(*******New and specific related variables*********)
+(*******New and specific application variables*********)
END_VAR
@@ -1787,12 +1787,45 @@ ERROR();]]>
-
+ ,
+ nNoError=> ,
+ nNoOverflow=> ,
+ pErrorSystem=> );
+
+(*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 "fbErrorList.pErrorSystem" to the input ErrorSystem in each FB E. g. :
+fbEL1808(
+ En:= TRUE,
+ iTerminal_ID:= 1,
+ ErrorSystem:= fbErrorList.pErrorSystem,
+ EnO=> ,
+ bDi_1=> ,
+ bDi_2=> ,
+ bDi_3=> ,
+ bDi_4=> ,
+ bDi_5=> ,
+ bDi_6=> ,
+ bDi_7=> ,
+ bDi_8=> ,
+ bError=> ); *)
+//
+]]>
-
+
@@ -1800,10 +1833,20 @@ ERROR();]]>
+
+
+
+
+
+
+
+
+
+
\ 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 a9210c1..36db316 160000
--- a/solution/tc_project_app/tc_mca_std_lib
+++ b/solution/tc_project_app/tc_mca_std_lib
@@ -1 +1 @@
-Subproject commit a9210c1a0ec392025a9f0a80539359705ea66ce3
+Subproject commit 36db316d338167450d1c536e26b551a556f8ad6d
diff --git a/solution/tc_project_app/tc_project_app.plcproj b/solution/tc_project_app/tc_project_app.plcproj
index ab46038..1fc0c8e 100644
--- a/solution/tc_project_app/tc_project_app.plcproj
+++ b/solution/tc_project_app/tc_project_app.plcproj
@@ -242,6 +242,10 @@
true
2717eb6a-dd07-4c66-8d8d-cacebd7b18ae
+
+ Tc2_EtherCAT, * (Beckhoff Automation GmbH)
+ Tc2_EtherCAT
+
Tc2_MC2, * (Beckhoff Automation GmbH)
Tc2_MC2