From 3b4bef716935807df160bb476d5c38581ddb3221 Mon Sep 17 00:00:00 2001 From: federicorojas Date: Thu, 27 Mar 2025 16:29:36 +0100 Subject: [PATCH] Create Cabinet_Configuration program and call it from MAIN/PROG() Cabinet_Configuraiton contains the cabinet monitoring and the pressure limits high and low for the cbainets and pneumatic boxes. modified: solution/tc_project_app/POUs/Application_Specific/Applications/Cabinet_Configuration.TcPOU modified: solution/tc_project_app/POUs/MAIN.TcPOU --- .../Applications/Cabinet_Configuration.TcPOU | 11 ++++++----- solution/tc_project_app/POUs/MAIN.TcPOU | 4 +++- 2 files changed, 9 insertions(+), 6 deletions(-) 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 index 1a332eb..12fb117 100644 --- a/solution/tc_project_app/POUs/Application_Specific/Applications/Cabinet_Configuration.TcPOU +++ b/solution/tc_project_app/POUs/Application_Specific/Applications/Cabinet_Configuration.TcPOU @@ -7,7 +7,8 @@ VAR END_VAR ]]> - , aErrorMsg=> , @@ -18,12 +19,12 @@ END_VAR *) //Define pressure limits for pneumatic pressure group 1 -GVL.fHighLimitAirPressureGroup1 := 0.0; -GVL.fLowLimitAirPressureGroup1 := 0.0; +//GVL.fHighLimitAirPressureGroup1 := 0.0; +//GVL.fLowLimitAirPressureGroup1 := 0.0; //Define pressure limits for pneumatic pressure group 2 -GVL.fHighLimitAirPressureGroup2 := 0.0; -GVL.fLowLimitAirPressureGroup2 := 0.0; +//GVL.fHighLimitAirPressureGroup2 := 0.0; +//GVL.fLowLimitAirPressureGroup2 := 0.0; ]]> diff --git a/solution/tc_project_app/POUs/MAIN.TcPOU b/solution/tc_project_app/POUs/MAIN.TcPOU index 1e0304d..df45fc0 100644 --- a/solution/tc_project_app/POUs/MAIN.TcPOU +++ b/solution/tc_project_app/POUs/MAIN.TcPOU @@ -120,11 +120,13 @@ END_IF