From da50ad24f321dc38a33b8d193c0996df3589b08b Mon Sep 17 00:00:00 2001 From: Federico Rojas Date: Thu, 27 Mar 2025 14:38:49 +0100 Subject: [PATCH] Add program for cabinet monitoring and pressure limits configuration --- .../Applications/Cabinet_Configuration.TcPOU | 30 +++++++++++++++++++ solution/tc_project_app/POUs/MAIN.TcPOU | 1 + .../tc_project_app/tc_project_app.plcproj | 13 ++++++-- 3 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 solution/tc_project_app/POUs/Application_Specific/Applications/Cabinet_Configuration.TcPOU diff --git a/solution/tc_project_app/POUs/Application_Specific/Applications/Cabinet_Configuration.TcPOU b/solution/tc_project_app/POUs/Application_Specific/Applications/Cabinet_Configuration.TcPOU new file mode 100644 index 0000000..1a332eb --- /dev/null +++ b/solution/tc_project_app/POUs/Application_Specific/Applications/Cabinet_Configuration.TcPOU @@ -0,0 +1,30 @@ + + + + + + , + aErrorMsg=> , + nEcMasterFramesLost=> , + nCPULoad=> , + fCycleExecTime_ms=> , + nAlarmGrpBitNumber=> ); +*) + +//Define pressure limits for pneumatic pressure group 1 +GVL.fHighLimitAirPressureGroup1 := 0.0; +GVL.fLowLimitAirPressureGroup1 := 0.0; + +//Define pressure limits for pneumatic pressure group 2 +GVL.fHighLimitAirPressureGroup2 := 0.0; +GVL.fLowLimitAirPressureGroup2 := 0.0; +]]> + + + \ No newline at end of file diff --git a/solution/tc_project_app/POUs/MAIN.TcPOU b/solution/tc_project_app/POUs/MAIN.TcPOU index dfdf3bf..1e0304d 100644 --- a/solution/tc_project_app/POUs/MAIN.TcPOU +++ b/solution/tc_project_app/POUs/MAIN.TcPOU @@ -120,6 +120,7 @@ END_IF Code + + Code + Code @@ -103,7 +106,7 @@ Code - + Code @@ -118,6 +121,9 @@ Code + + Code + Code @@ -154,7 +160,10 @@ Code - + + Code + + Code