164 lines
6.2 KiB
XML
164 lines
6.2 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
<RSLogix5000Content SchemaRevision="1.0" SoftwareRevision="36.00" TargetName="AOI_FIO" TargetType="AddOnInstructionDefinition" TargetClass="Standard" TargetRevision="1.0 " TargetLastEdited="2025-06-30T11:57:04.352Z" ContainsContext="true" ExportDate="Mon Jun 30 16:19:32 2025" ExportOptions="NoRawData L5KData DecoratedData Context Dependencies ForceProtectedEncoding AllProjDocTrans">
|
|
<Controller Use="Context" Name="BaseProgram">
|
|
<AddOnInstructionDefinitions Use="Context">
|
|
<AddOnInstructionDefinition Use="Target" Name="AOI_FIO" Class="Standard" Revision="1.0" Vendor="Automation Standard" ExecutePrescan="true" ExecutePostscan="false" ExecuteEnableInFalse="false" CreatedDate="2021-06-02T10:38:08.709Z" CreatedBy="KONON\Artem" EditedDate="2025-06-30T11:57:04.352Z"
|
|
EditedBy="LCIBATUMI\gigi.mamaladze" 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_SIO_FIO_HUB" Usage="InOut" Required="true" Visible="true" Constant="false"/>
|
|
<Parameter Name="CTRL" TagType="Base" DataType="UDT_CTRL_SIO_FIO_HUB" Usage="InOut" Required="true" Visible="true" Constant="false"/>
|
|
<Parameter Name="DPM" TagType="Base" DataType="UDT_CTRL_DPM" Usage="InOut" Required="true" Visible="true" Constant="false"/>
|
|
<Parameter Name="FIO_I" TagType="Base" DataType="AB:5000_IOL6_DI6_DO2_56D56D5454:I:0" Usage="InOut" Required="true" Visible="true" Constant="false"/>
|
|
<Parameter Name="Communication_Faulted" TagType="Base" DataType="BOOL" Usage="Output" Radix="Decimal" Required="false" Visible="true" ExternalAccess="Read/Write">
|
|
<Description>
|
|
<![CDATA[Ethernet Communication Faulted]]>
|
|
</Description>
|
|
<DefaultData Format="Decorated">
|
|
<DataValue DataType="BOOL" Radix="Decimal" Value="0"/>
|
|
</DefaultData>
|
|
</Parameter>
|
|
</Parameters>
|
|
<LocalTags>
|
|
<LocalTag Name="Communication_Fault_Code" DataType="DINT" Radix="Decimal" ExternalAccess="None">
|
|
<Description>
|
|
<![CDATA[Communication Fault Code]]>
|
|
</Description>
|
|
<DefaultData Format="Decorated">
|
|
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
|
|
</DefaultData>
|
|
</LocalTag>
|
|
<LocalTag Name="Concatenated_String" DataType="STRING" ExternalAccess="None">
|
|
<Description>
|
|
<![CDATA[String for Log]]>
|
|
</Description>
|
|
<DefaultData Format="String" Length="0">
|
|
<![CDATA['']]>
|
|
</DefaultData>
|
|
</LocalTag>
|
|
<LocalTag Name="Acknowledge_ONS" DataType="BOOL" Radix="Decimal" ExternalAccess="None">
|
|
<Description>
|
|
<![CDATA[To Unlatch Acknowledge Bit Once Communication Faulted]]>
|
|
</Description>
|
|
<DefaultData Format="Decorated">
|
|
<DataValue DataType="BOOL" Radix="Decimal" Value="0"/>
|
|
</DefaultData>
|
|
</LocalTag>
|
|
<LocalTag Name="Acknowledge" DataType="BOOL" Radix="Decimal" ExternalAccess="None">
|
|
<Description>
|
|
<![CDATA[Acknowldge]]>
|
|
</Description>
|
|
<DefaultData Format="Decorated">
|
|
<DataValue DataType="BOOL" Radix="Decimal" Value="0"/>
|
|
</DefaultData>
|
|
</LocalTag>
|
|
<LocalTag Name="Communication_Fault_Latch" DataType="BOOL" Radix="Decimal" ExternalAccess="None">
|
|
<Description>
|
|
<![CDATA[Communication Fault Latch]]>
|
|
</Description>
|
|
<DefaultData Format="Decorated">
|
|
<DataValue DataType="BOOL" Radix="Decimal" Value="0"/>
|
|
</DefaultData>
|
|
</LocalTag>
|
|
<LocalTag Name="Lost_Communication_String" DataType="STRING" ExternalAccess="None">
|
|
<Description>
|
|
<![CDATA[' Lost Communication']]>
|
|
</Description>
|
|
<DefaultData Format="String" Length="19">
|
|
<![CDATA[' Lost Communication']]>
|
|
</DefaultData>
|
|
</LocalTag>
|
|
<LocalTag Name="Empty_String" DataType="STRING" ExternalAccess="None">
|
|
<Description>
|
|
<![CDATA[Empty String]]>
|
|
</Description>
|
|
<DefaultData Format="String" Length="0">
|
|
<![CDATA['']]>
|
|
</DefaultData>
|
|
</LocalTag>
|
|
<LocalTag Name="My_Name" DataType="STRING" ExternalAccess="None">
|
|
<Description>
|
|
<![CDATA[Name of FIO]]>
|
|
</Description>
|
|
<DefaultData Format="String" Length="0">
|
|
<![CDATA['']]>
|
|
</DefaultData>
|
|
</LocalTag>
|
|
<LocalTag Name="Name" DataType="STRING" ExternalAccess="None">
|
|
<Description>
|
|
<![CDATA[FIO Name]]>
|
|
</Description>
|
|
<DefaultData Format="String" Length="0">
|
|
<![CDATA['']]>
|
|
</DefaultData>
|
|
</LocalTag>
|
|
</LocalTags>
|
|
<Routines>
|
|
<Routine Name="Logic" Type="RLL">
|
|
<RLLContent>
|
|
<Rung Number="0" Type="N">
|
|
<Text>
|
|
<![CDATA[[XIC(FIO_I.ConnectionFaulted) ,XIC(DPM.STS.Communication_Faulted) ][OTE(Communication_Faulted) ,OTE(CTRL.STS.Communication_Faulted) ];]]>
|
|
</Text>
|
|
</Rung>
|
|
<Rung Number="1" Type="N">
|
|
<Text>
|
|
<![CDATA[XIO(Communication_Faulted)MOVE(0,HMI.STATE);]]>
|
|
</Text>
|
|
</Rung>
|
|
<Rung Number="2" Type="N">
|
|
<Text>
|
|
<![CDATA[XIC(Communication_Faulted)MOVE(1,HMI.STATE);]]>
|
|
</Text>
|
|
</Rung>
|
|
<Rung Number="3" Type="N">
|
|
<Text>
|
|
<![CDATA[XIC(Communication_Faulted)XIO(DPM.STS.Communication_Faulted)OTE(HMI.Alarm.Communication_Faulted);]]>
|
|
</Text>
|
|
</Rung>
|
|
<Rung Number="4" Type="N">
|
|
<Text>
|
|
<![CDATA[XIC(DPM.STS.Unacknowledge_All_Logs)OTU(Acknowledge);]]>
|
|
</Text>
|
|
</Rung>
|
|
<Rung Number="5" Type="N">
|
|
<Text>
|
|
<![CDATA[[XIC(Communication_Faulted) ONS(Acknowledge_ONS) OTU(Acknowledge) ,XIC(Communication_Faulted) XIO(Acknowledge) COP(Lost_Communication_String,Concatenated_String,1) CONCAT(Name,Concatenated_String,DPM.CMD.Log) ADD(DPM.CMD.Log_Quantity,1,DPM.CMD.Log_Quantity) ,NE(DPM.STS.Acknowledge_Log,Empty_String) EQ(DPM.CMD.Log,DPM.STS.Acknowledge_Log) OTL(Acknowledge) COP(Empty_String,DPM.STS.Acknowledge_Log,1) ];]]>
|
|
</Text>
|
|
</Rung>
|
|
<Rung Number="6" Type="N">
|
|
<Text>
|
|
<![CDATA[OTU(CTRL.CMD.Communication_Faulted);]]>
|
|
</Text>
|
|
</Rung>
|
|
</RLLContent>
|
|
</Routine>
|
|
<Routine Name="Prescan" Type="RLL">
|
|
<RLLContent>
|
|
<Rung Number="0" Type="N">
|
|
<Text>
|
|
<![CDATA[OTU(Acknowledge);]]>
|
|
</Text>
|
|
</Rung>
|
|
</RLLContent>
|
|
</Routine>
|
|
</Routines>
|
|
<Dependencies>
|
|
<Dependency Type="DataType" Name="UDT_CTRL_SIO_FIO_HUB"/>
|
|
<Dependency Type="DataType" Name="UDT_CTRL_DPM"/>
|
|
<Dependency Type="DataType" Name="UDT_HMI_SIO_FIO_HUB"/>
|
|
</Dependencies>
|
|
</AddOnInstructionDefinition>
|
|
</AddOnInstructionDefinitions>
|
|
</Controller>
|
|
</RSLogix5000Content>
|