199 lines
8.8 KiB
XML
199 lines
8.8 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||
<RSLogix5000Content SchemaRevision="1.0" SoftwareRevision="36.00" TargetName="AOI_RACK" TargetType="AddOnInstructionDefinition" TargetRevision="1.0 " TargetLastEdited="2025-07-18T09:18:50.916Z" ContainsContext="true" ExportDate="Tue Aug 05 20:03:13 2025" ExportOptions="References NoRawData L5KData DecoratedData Context Dependencies ForceProtectedEncoding AllProjDocTrans">
|
||
<Controller Use="Context" Name="BaseProgram">
|
||
<DataTypes Use="Context">
|
||
<DataType Name="UDT_ALARMS_RACK" Family="NoFamily" Class="User">
|
||
<Members>
|
||
<Member Name="ZZZZZZZZZZUDT_ALARMS0" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="true" ExternalAccess="Read/Write"/>
|
||
<Member Name="Slot5_IB16_Faulted" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZUDT_ALARMS0" BitNumber="0" ExternalAccess="Read/Write"/>
|
||
<Member Name="Slot6_OB16E_Faulted" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZUDT_ALARMS0" BitNumber="1" ExternalAccess="Read/Write"/>
|
||
<Member Name="Slot7_IB16S_Faulted" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZUDT_ALARMS0" BitNumber="2" ExternalAccess="Read/Write"/>
|
||
<Member Name="Slot2_EN4TR_Faulted" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZUDT_ALARMS0" BitNumber="3" ExternalAccess="Read/Write"/>
|
||
</Members>
|
||
</DataType>
|
||
<DataType Name="UDT_HMI_RACK" Family="NoFamily" Class="User">
|
||
<Members>
|
||
<Member Name="Alarm" DataType="UDT_ALARMS_RACK" Dimension="0" Radix="NullType" Hidden="false" ExternalAccess="Read/Write"/>
|
||
</Members>
|
||
<Dependencies>
|
||
<Dependency Type="DataType" Name="UDT_ALARMS_RACK"/>
|
||
</Dependencies>
|
||
</DataType>
|
||
</DataTypes>
|
||
<AddOnInstructionDefinitions Use="Context">
|
||
<AddOnInstructionDefinition Use="Target" Name="AOI_RACK" Revision="1.0" ExecutePrescan="false" ExecutePostscan="false" ExecuteEnableInFalse="false" CreatedDate="2025-07-01T16:12:10.151Z" CreatedBy="LCIBATUMI\gigi.mamaladze" EditedDate="2025-07-18T09:18:50.916Z" EditedBy="LCIBATUMI\ilia.gurielidze" SoftwareRevision="v36.00"
|
||
>
|
||
<Parameters>
|
||
<Parameter Name="EnableIn" TagType="Base" DataType="BOOL" Usage="Input" Radix="Decimal" Required="false" Visible="false" ExternalAccess="Read Only">
|
||
<Description>
|
||
<![CDATA[Enable Input - System Defined Parameter]]>
|
||
</Description>
|
||
</Parameter>
|
||
<Parameter Name="EnableOut" TagType="Base" DataType="BOOL" Usage="Output" Radix="Decimal" Required="false" Visible="false" ExternalAccess="Read Only">
|
||
<Description>
|
||
<![CDATA[Enable Output - System Defined Parameter]]>
|
||
</Description>
|
||
</Parameter>
|
||
<Parameter Name="HMI" TagType="Base" DataType="UDT_HMI_RACK" Usage="InOut" Required="true" Visible="true" Constant="false"/>
|
||
<Parameter Name="Slot2_EN4TR" TagType="Base" DataType="MODULE" Usage="InOut" Required="true" Visible="true"/>
|
||
<Parameter Name="Slot2_EN4TR_Faulted" TagType="Base" DataType="BOOL" Usage="Output" Radix="Decimal" Required="false" Visible="true" ExternalAccess="Read/Write">
|
||
<DefaultData Format="L5K">
|
||
<![CDATA[0]]>
|
||
</DefaultData>
|
||
<DefaultData Format="Decorated">
|
||
<DataValue DataType="BOOL" Radix="Decimal" Value="0"/>
|
||
</DefaultData>
|
||
</Parameter>
|
||
<Parameter Name="Slot5_IB16" TagType="Base" DataType="MODULE" Usage="InOut" Required="true" Visible="true"/>
|
||
<Parameter Name="Slot6_OB16E" TagType="Base" DataType="MODULE" Usage="InOut" Required="true" Visible="true"/>
|
||
<Parameter Name="Slot7_IB16S" TagType="Base" DataType="MODULE" Usage="InOut" Required="true" Visible="true"/>
|
||
<Parameter Name="Slot5_IB16_Faulted" TagType="Base" DataType="BOOL" Usage="Output" Radix="Decimal" Required="false" Visible="true" ExternalAccess="None">
|
||
<DefaultData Format="L5K">
|
||
<![CDATA[0]]>
|
||
</DefaultData>
|
||
<DefaultData Format="Decorated">
|
||
<DataValue DataType="BOOL" Radix="Decimal" Value="0"/>
|
||
</DefaultData>
|
||
</Parameter>
|
||
<Parameter Name="Slot6_OB16E_Faulted" TagType="Base" DataType="BOOL" Usage="Output" Radix="Decimal" Required="false" Visible="true" ExternalAccess="None">
|
||
<DefaultData Format="L5K">
|
||
<![CDATA[0]]>
|
||
</DefaultData>
|
||
<DefaultData Format="Decorated">
|
||
<DataValue DataType="BOOL" Radix="Decimal" Value="0"/>
|
||
</DefaultData>
|
||
</Parameter>
|
||
<Parameter Name="Slot7_IB16S_Faulted" TagType="Base" DataType="BOOL" Usage="Output" Radix="Decimal" Required="false" Visible="true" ExternalAccess="None">
|
||
<DefaultData Format="L5K">
|
||
<![CDATA[0]]>
|
||
</DefaultData>
|
||
<DefaultData Format="Decorated">
|
||
<DataValue DataType="BOOL" Radix="Decimal" Value="0"/>
|
||
</DefaultData>
|
||
</Parameter>
|
||
</Parameters>
|
||
<LocalTags>
|
||
<LocalTag Name="Fault_Code" DataType="DINT" Radix="Decimal" ExternalAccess="None">
|
||
<DefaultData Format="L5K">
|
||
<![CDATA[0]]>
|
||
</DefaultData>
|
||
<DefaultData Format="Decorated">
|
||
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
|
||
</DefaultData>
|
||
</LocalTag>
|
||
<LocalTag Name="Slot6_OB16E_Fault_Code" DataType="DINT" Radix="Decimal" ExternalAccess="None">
|
||
<DefaultData Format="L5K">
|
||
<![CDATA[0]]>
|
||
</DefaultData>
|
||
<DefaultData Format="Decorated">
|
||
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
|
||
</DefaultData>
|
||
</LocalTag>
|
||
<LocalTag Name="Slot7_IB16S_Fault_Code" DataType="DINT" Radix="Decimal" ExternalAccess="None">
|
||
<DefaultData Format="L5K">
|
||
<![CDATA[0]]>
|
||
</DefaultData>
|
||
<DefaultData Format="Decorated">
|
||
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
|
||
</DefaultData>
|
||
</LocalTag>
|
||
<LocalTag Name="Slot5_IB16_Fault_Code" DataType="DINT" Radix="Decimal" ExternalAccess="None">
|
||
<DefaultData Format="L5K">
|
||
<![CDATA[0]]>
|
||
</DefaultData>
|
||
<DefaultData Format="Decorated">
|
||
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
|
||
</DefaultData>
|
||
</LocalTag>
|
||
<LocalTag Name="Slot4_EN4TR_Fault_Code" DataType="DINT" Radix="Decimal" ExternalAccess="None">
|
||
<DefaultData Format="L5K">
|
||
<![CDATA[0]]>
|
||
</DefaultData>
|
||
<DefaultData Format="Decorated">
|
||
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
|
||
</DefaultData>
|
||
</LocalTag>
|
||
</LocalTags>
|
||
<Routines>
|
||
<Routine Name="Logic" Type="RLL">
|
||
<RLLContent>
|
||
<Rung Number="0" Type="N">
|
||
<Comment>
|
||
<![CDATA[Local I/O Module Fault Monitor
|
||
|
||
The routine now monitors four modules in the local rack: an EN4TR communication adapter in Slot 2, an IB16 in Slot 5, an OB16E in Slot 6, and an IB16S in Slot 7.
|
||
For each module it executes a GSV Module FaultCode; whenever the reported code is non-zero the routine sets a matching _Faulted coil.
|
||
|
||
All three I/O modules (Slots 5, 6, 7) drive individual HMI alarms exactly as before.
|
||
If the EN4TR in Slot 2 is faulted the routine also energises HMI.Alarm.Slot5_IB16_Faulted, using that alarm as a generic “rack interface fault” so the operator is alerted even when the downstream modules cannot report their own status.
|
||
|
||
Command bits
|
||
No external command bits are required; the monitor runs continuously.
|
||
|
||
Status bits
|
||
The routine sets Slot2_EN4TR_Faulted when the EN4TR adapter in Slot 2 reports a fault.
|
||
The routine sets Slot5_IB16_Faulted when the IB16 module in Slot 5 reports a fault.
|
||
The routine sets Slot6_OB16E_Faulted when the OB16E module in Slot 6 reports a fault.
|
||
The routine sets Slot7_IB16S_Faulted when the IB16S module in Slot 7 reports a fault.
|
||
|
||
HMI bits
|
||
The HMI displays HMI.Alarm.Slot5_IB16_Faulted whenever either Slot2_EN4TR_Faulted or Slot5_IB16_Faulted is true.
|
||
The HMI displays HMI.Alarm.Slot6_OB16E_Faulted whenever Slot6_OB16E_Faulted is true.
|
||
The HMI displays HMI.Alarm.Slot7_IB16S_Faulted whenever Slot7_IB16S_Faulted is true.
|
||
|
||
Alarm bits
|
||
The system raises HMI.Alarm.Slot5_IB16_Faulted when the EN4TR adapter in Slot 2 is faulted or when the IB16 module in Slot 5 is faulted.
|
||
The system raises HMI.Alarm.Slot6_OB16E_Faulted when the OB16E module in Slot 6 is faulted.
|
||
The system raises HMI.Alarm.Slot7_IB16S_Faulted when the IB16S module in Slot 7 is faulted.
|
||
]]>
|
||
</Comment>
|
||
<Text>
|
||
<![CDATA[GSV(Module,Slot5_IB16,FaultCode,Slot5_IB16_Fault_Code)NE(Slot5_IB16_Fault_Code,0)OTE(Slot5_IB16_Faulted);]]>
|
||
</Text>
|
||
</Rung>
|
||
<Rung Number="1" Type="N">
|
||
<Text>
|
||
<![CDATA[GSV(Module,Slot6_OB16E,FaultCode,Slot6_OB16E_Fault_Code)NE(Slot6_OB16E_Fault_Code,0)OTE(Slot6_OB16E_Faulted);]]>
|
||
</Text>
|
||
</Rung>
|
||
<Rung Number="2" Type="N">
|
||
<Text>
|
||
<![CDATA[GSV(Module,Slot7_IB16S,FaultCode,Slot7_IB16S_Fault_Code)NE(Slot7_IB16S_Fault_Code,0)OTE(Slot7_IB16S_Faulted);]]>
|
||
</Text>
|
||
</Rung>
|
||
<Rung Number="3" Type="N">
|
||
<Text>
|
||
<![CDATA[GSV(Module,Slot2_EN4TR,FaultCode,Slot4_EN4TR_Fault_Code)NE(Slot4_EN4TR_Fault_Code,0)OTE(Slot2_EN4TR_Faulted);]]>
|
||
</Text>
|
||
</Rung>
|
||
<Rung Number="4" Type="N">
|
||
<Text>
|
||
<![CDATA[XIC(Slot2_EN4TR_Faulted)OTE(HMI.Alarm.Slot2_EN4TR_Faulted);]]>
|
||
</Text>
|
||
</Rung>
|
||
<Rung Number="5" Type="N">
|
||
<Text>
|
||
<![CDATA[XIC(Slot5_IB16_Faulted)OTE(HMI.Alarm.Slot5_IB16_Faulted);]]>
|
||
</Text>
|
||
</Rung>
|
||
<Rung Number="6" Type="N">
|
||
<Text>
|
||
<![CDATA[XIC(Slot6_OB16E_Faulted)OTE(HMI.Alarm.Slot6_OB16E_Faulted);]]>
|
||
</Text>
|
||
</Rung>
|
||
<Rung Number="7" Type="N">
|
||
<Text>
|
||
<![CDATA[XIC(Slot7_IB16S_Faulted)OTE(HMI.Alarm.Slot7_IB16S_Faulted);]]>
|
||
</Text>
|
||
</Rung>
|
||
</RLLContent>
|
||
</Routine>
|
||
</Routines>
|
||
<Dependencies>
|
||
<Dependency Type="DataType" Name="UDT_HMI_RACK"/>
|
||
</Dependencies>
|
||
</AddOnInstructionDefinition>
|
||
</AddOnInstructionDefinitions>
|
||
</Controller>
|
||
</RSLogix5000Content>
|