From d04cf0ed4b58d50f7a886ede3be8f63f94b5262b Mon Sep 17 00:00:00 2001 From: Federico Rojas Date: Fri, 28 Jun 2019 14:46:57 +0200 Subject: [PATCH] Change the fbErrorList to the new fbErrorSystem in MAIN Update the FB's in ERROR() --- solution/tc_project_app/POUs/MAIN.TcPOU | 45 +++++++++---------- solution/tc_project_app/tc_mca_std_lib | 2 +- .../tc_project_app/tc_project_app.plcproj | 12 +++-- 3 files changed, 30 insertions(+), 29 deletions(-) diff --git a/solution/tc_project_app/POUs/MAIN.TcPOU b/solution/tc_project_app/POUs/MAIN.TcPOU index ef9925b..ad52d92 100644 --- a/solution/tc_project_app/POUs/MAIN.TcPOU +++ b/solution/tc_project_app/POUs/MAIN.TcPOU @@ -1,5 +1,5 @@  - + , - nNoError=> , - nNoOverflow=> , + nSelectedError=> , 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. : +the variable "fbErrorSystem.pErrorSystem" to the input ErrorSystem in each FB E. g. : fbEL1808( En:= TRUE, - iTerminal_ID:= 1, + iTerminal_ID:= 01, ErrorSystem:= fbErrorList.pErrorSystem, EnO=> , - bDi_1=> , - bDi_2=> , - bDi_3=> , - bDi_4=> , - bDi_5=> , - bDi_6=> , - bDi_7=> , - bDi_8=> , bError=> ); *) // + ]]> @@ -110,11 +108,10 @@ fbEL1808( - + - - - + + diff --git a/solution/tc_project_app/tc_mca_std_lib b/solution/tc_project_app/tc_mca_std_lib index 5eb56db..e52c5ad 160000 --- a/solution/tc_project_app/tc_mca_std_lib +++ b/solution/tc_project_app/tc_mca_std_lib @@ -1 +1 @@ -Subproject commit 5eb56db806fd52bae29f59bfb59f2a42328fb61d +Subproject commit e52c5ad7be5ffebbfa3ce4f16908e4597f0e71ac diff --git a/solution/tc_project_app/tc_project_app.plcproj b/solution/tc_project_app/tc_project_app.plcproj index 373586a..627dc92 100644 --- a/solution/tc_project_app/tc_project_app.plcproj +++ b/solution/tc_project_app/tc_project_app.plcproj @@ -36,7 +36,8 @@ Code - + + Code @@ -57,16 +58,19 @@ Code - + Code - + + Code + + Code Code - + Code