Add program for cabinet monitoring and pressure limits configuration
This commit is contained in:
+30
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TcPlcObject Version="1.1.0.1">
|
||||
<POU Name="Cabinet_Configuration" Id="{f09ddf2c-38c8-0b17-348a-c2e3aa836c88}" SpecialFunc="None">
|
||||
<Declaration><![CDATA[PROGRAM Cabinet_Configuration
|
||||
VAR
|
||||
//fbCabinetMonitoring: FB_ESSMonitoringMCU5001a; FB_ESSMonitoringMCU5001b; FB_ESSMonitoringMCU6001a; FB_ESSMonitoringMCU6001b; FB_ESSMonitoringMCU5002; FB_ESSMonitoringMCU5003;
|
||||
END_VAR
|
||||
]]></Declaration>
|
||||
<Implementation>
|
||||
<ST><![CDATA[(*fbCabinetMonitoring(
|
||||
nEcMasterNetId:= ,
|
||||
aErrorID=> ,
|
||||
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;
|
||||
]]></ST>
|
||||
</Implementation>
|
||||
</POU>
|
||||
</TcPlcObject>
|
||||
@@ -120,6 +120,7 @@ END_IF
|
||||
<Implementation>
|
||||
<ST><![CDATA[//Get task index for Axes parameters initialization.
|
||||
GVL.fbGetCurTaskIndex();
|
||||
Cabinet_Configuration();
|
||||
|
||||
//Call the programs that are defined in the "Application Specific" folder.
|
||||
//Create as many programs in that folder as axes and applications you have or need
|
||||
|
||||
@@ -37,6 +37,9 @@
|
||||
<Compile Include="POUs\Application_Specific\Applications\Application_Template.TcPOU">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="POUs\Application_Specific\Applications\Cabinet_Configuration.TcPOU">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="POUs\Application_Specific\Applications\Shutter_Operator_panel_Template.TcPOU">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
@@ -103,7 +106,7 @@
|
||||
<Compile Include="tc_mca_std_lib\DUTs\E_AxisParameters.TcTLEO">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="tc_mca_std_lib\DUTs\E_MonitoringLedFunction.TcDUT">
|
||||
<Compile Include="tc_mca_std_lib\DUTs\E_MonitorLed.TcDUT">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="tc_mca_std_lib\DUTs\E_RestorePosition.TcDUT">
|
||||
@@ -118,6 +121,9 @@
|
||||
<Compile Include="tc_mca_std_lib\DUTs\Pneumatics\E_PneumaticAxisErrors.TcDUT">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="tc_mca_std_lib\DUTs\Pneumatics\E_PneumaticAxisGroup.TcDUT">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="tc_mca_std_lib\DUTs\Pneumatics\E_PneumaticMode.TcDUT">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
@@ -154,7 +160,10 @@
|
||||
<Compile Include="tc_mca_std_lib\GVLs\GVL.TcGVL">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="tc_mca_std_lib\POUs\FB_ESSMonitoring.TcPOU">
|
||||
<Compile Include="tc_mca_std_lib\POUs\FB_ESSMonitoringMCU5001a.TcPOU">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="tc_mca_std_lib\POUs\FB_ESSMonitoringMCU400x.TcPOU">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="tc_mca_std_lib\POUs\Motion\FB_Axis.TcPOU">
|
||||
|
||||
Reference in New Issue
Block a user