251 lines
8.8 KiB
XML
251 lines
8.8 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
<!--START/STOP STATION PUSH BUTTON-->
|
|
<RSLogix5000Content SchemaRevision="1.0" SoftwareRevision="36.00" TargetName="AOI_STATION_SS_PB" TargetType="AddOnInstructionDefinition" TargetRevision="1.0 " TargetLastEdited="2025-07-16T11:43:42.136Z" ContainsContext="true" ExportDate="Wed Jul 16 17:05:43 2025" ExportOptions="NoRawData L5KData DecoratedData Context Dependencies ForceProtectedEncoding AllProjDocTrans">
|
|
<Controller Use="Context" Name="BaseProgram">
|
|
<AddOnInstructionDefinitions Use="Context">
|
|
<AddOnInstructionDefinition Use="Target" Name="AOI_STATION_SS_PB" Revision="1.0" Vendor="Automation Standard" ExecutePrescan="true" ExecutePostscan="false" ExecuteEnableInFalse="false" CreatedDate="2012-02-01T16:00:09.261Z" CreatedBy="Not Available" EditedDate="2025-07-16T11:43:42.136Z" EditedBy="LCIBATUMI\gigi.mamaladze"
|
|
SoftwareRevision="v36.00">
|
|
<Description>
|
|
<![CDATA[START/STOP STATION PUSH BUTTON]]>
|
|
</Description>
|
|
<Parameters>
|
|
<Parameter Name="EnableIn" TagType="Base" DataType="BOOL" Usage="Input" Radix="Decimal" Required="false" Visible="false" ExternalAccess="Read Only"/>
|
|
<Parameter Name="EnableOut" TagType="Base" DataType="BOOL" Usage="Output" Radix="Decimal" Required="false" Visible="false" ExternalAccess="Read Only"/>
|
|
<Parameter Name="HMI" TagType="Base" DataType="UDT_HMI_STATION" Usage="InOut" Required="true" Visible="true" Constant="false"/>
|
|
<Parameter Name="CTRL" TagType="Base" DataType="UDT_CTRL_STATION" Usage="InOut" Required="true" Visible="true" Constant="false"/>
|
|
<Parameter Name="Partner" TagType="Base" DataType="UDT_CTRL_STATION" Usage="InOut" Required="true" Visible="true" Constant="false"/>
|
|
<Parameter Name="VFD" TagType="Base" DataType="UDT_CTRL_VFD" Usage="InOut" Required="true" Visible="true" Constant="false"/>
|
|
<Parameter Name="SIO" TagType="Base" DataType="UDT_CTRL_IO_BLOCK" Usage="InOut" Required="true" Visible="true" Constant="false"/>
|
|
<Parameter Name="Start_PB_I" TagType="Base" DataType="BOOL" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="None">
|
|
<Description>
|
|
<![CDATA[Start Push Button Input]]>
|
|
</Description>
|
|
<DefaultData Format="Decorated">
|
|
<DataValue DataType="BOOL" Radix="Decimal" Value="0"/>
|
|
</DefaultData>
|
|
</Parameter>
|
|
<Parameter Name="Stop_PB_I" TagType="Base" DataType="BOOL" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
|
|
<Description>
|
|
<![CDATA[Stop Push Button Input]]>
|
|
</Description>
|
|
<DefaultData Format="Decorated">
|
|
<DataValue DataType="BOOL" Radix="Decimal" Value="0"/>
|
|
</DefaultData>
|
|
</Parameter>
|
|
<Parameter Name="Start_PB_LT_O" TagType="Base" DataType="BOOL" Usage="Output" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read Only">
|
|
<Description>
|
|
<![CDATA[Start Push Button Light Output]]>
|
|
</Description>
|
|
<DefaultData Format="Decorated">
|
|
<DataValue DataType="BOOL" Radix="Decimal" Value="0"/>
|
|
</DefaultData>
|
|
</Parameter>
|
|
<Parameter Name="Stopped" TagType="Base" DataType="BOOL" Usage="Output" Radix="Decimal" Required="false" Visible="true" ExternalAccess="Read/Write">
|
|
<DefaultData Format="Decorated">
|
|
<DataValue DataType="BOOL" Radix="Decimal" Value="0"/>
|
|
</DefaultData>
|
|
</Parameter>
|
|
</Parameters>
|
|
<LocalTags>
|
|
<LocalTag Name="Flip_Flop" DataType="AOI_FLIP_FLOP" ExternalAccess="None">
|
|
<Description>
|
|
<![CDATA[Flip Flop for Flashing Beacon]]>
|
|
</Description>
|
|
<DefaultData Format="Decorated">
|
|
<Structure DataType="AOI_FLIP_FLOP">
|
|
<DataValueMember Name="EnableIn" DataType="BOOL" Value="1"/>
|
|
<DataValueMember Name="EnableOut" DataType="BOOL" Value="0"/>
|
|
<DataValueMember Name="On" DataType="DINT" Radix="Decimal" Value="0"/>
|
|
<DataValueMember Name="Off" DataType="DINT" Radix="Decimal" Value="0"/>
|
|
<DataValueMember Name="Flash" DataType="BOOL" Value="0"/>
|
|
</Structure>
|
|
</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="ONS" DataType="DINT" Radix="Decimal" ExternalAccess="None">
|
|
<Description>
|
|
<![CDATA[One Shot Instruction to unlatch Stop_pressed when Stop_PB not pressed, command for partner stations started and]]>
|
|
</Description>
|
|
<DefaultData Format="Decorated">
|
|
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
|
|
</DefaultData>
|
|
</LocalTag>
|
|
<LocalTag Name="Jam_Latch" DataType="BOOL" Radix="Decimal" ExternalAccess="None">
|
|
<Description>
|
|
<![CDATA[Sync flashing pilot lights in a group of partned SS stations]]>
|
|
</Description>
|
|
<DefaultData Format="Decorated">
|
|
<DataValue DataType="BOOL" Radix="Decimal" Value="0"/>
|
|
</DefaultData>
|
|
</LocalTag>
|
|
<LocalTag Name="Stop_String" DataType="STRING" ExternalAccess="None">
|
|
<DefaultData Format="String" Length="5">
|
|
<![CDATA[' Stop']]>
|
|
</DefaultData>
|
|
</LocalTag>
|
|
<LocalTag Name="Empty_String" DataType="STRING" ExternalAccess="None">
|
|
<DefaultData Format="String" Length="0">
|
|
<![CDATA['']]>
|
|
</DefaultData>
|
|
</LocalTag>
|
|
</LocalTags>
|
|
<Routines>
|
|
<Routine Name="Logic" Type="RLL">
|
|
<RLLContent>
|
|
<Rung Number="0" Type="N">
|
|
<Text>
|
|
<![CDATA[COP(CTRL.CMD.Log,CTRL.STS.Log,1);]]>
|
|
</Text>
|
|
</Rung>
|
|
<Rung Number="1" Type="N">
|
|
<Text>
|
|
<![CDATA[XIC(CTRL.CMD.EStop_Actuated)OTL(CTRL.STS.EStop_Was_Actuated);]]>
|
|
</Text>
|
|
</Rung>
|
|
<Rung Number="2" Type="N">
|
|
<Text>
|
|
<![CDATA[[XIC(Start_PB_I) ,XIC(VFD.STS.MCM_Start_PB_Pressed) ]OTU(CTRL.STS.EStop_Was_Actuated);]]>
|
|
</Text>
|
|
</Rung>
|
|
<Rung Number="3" Type="N">
|
|
<Text>
|
|
<![CDATA[[XIO(VFD.STS.In_Power_Saving_Mode) XIC(VFD.STS.Enabled) ,XIO(VFD.STS.MCM_EStop_PB_Pressed) XIO(CTRL.CMD.EStop_Actuated) XIC(CTRL.STS.EStop_Was_Actuated) AOI_FLIP_FLOP(Flip_Flop,100,100) ,XIC(VFD.STS.In_Power_Saving_Mode) XIO(CTRL.STS.EStop_Was_Actuated) AOI_FLIP_FLOP(Flip_Flop,1000,1000) ]OTE(CTRL.STS.PB_LT)OTE(Start_PB_LT_O);]]>
|
|
</Text>
|
|
</Rung>
|
|
<Rung Number="4" Type="N">
|
|
<Comment>
|
|
<![CDATA[Commands to Motor]]>
|
|
</Comment>
|
|
<Text>
|
|
<![CDATA[NOP();]]>
|
|
</Text>
|
|
</Rung>
|
|
<Rung Number="5" Type="N">
|
|
<Text>
|
|
<![CDATA[XIC(Stop_PB_I)[XIC(Start_PB_I) ,XIC(HMI.Start_PB) ,XIC(VFD.STS.MCM_Start_PB_Pressed) ,XIC(Partner.STS.Start) ONS(ONS.0) ]XIC(Stopped)[OTE(CTRL.STS.Start) ,OTL(VFD.CMD.Start) ,OTU(HMI.Start_PB) ,OTU(Stopped) ];]]>
|
|
</Text>
|
|
</Rung>
|
|
<Rung Number="6" Type="N">
|
|
<Text>
|
|
<![CDATA[XIC(VFD.STS.MCM_Started)[XIO(SIO.STS.Communication_Faulted) XIO(Stop_PB_I) ,XIC(HMI.Stop_PB) ][OTL(Stopped) ,OTE(CTRL.STS.Stop) ,OTU(HMI.Stop_PB) ];]]>
|
|
</Text>
|
|
</Rung>
|
|
<Rung Number="7" Type="N">
|
|
<Text>
|
|
<![CDATA[XIC(Stopped)COP(Stop_String,Concatenated_String,1)CONCAT(HMI.Name,Concatenated_String,VFD.CMD.Log)[OTL(VFD.CMD.Stop_Require_Start) ,OTL(VFD.CMD.Stopped_By_Stop_PB) ];]]>
|
|
</Text>
|
|
</Rung>
|
|
<Rung Number="8" Type="N">
|
|
<Comment>
|
|
<![CDATA[Alarms
|
|
]]>
|
|
</Comment>
|
|
<Text>
|
|
<![CDATA[XIC(Stopped)OTE(HMI.Alarm.Stopped);]]>
|
|
</Text>
|
|
</Rung>
|
|
<Rung Number="9" Type="N">
|
|
<Text>
|
|
<![CDATA[[XIO(Stop_PB_I) ,XIC(HMI.Stop_PB) ]MOVE(1,HMI.Alarm.Pressed);]]>
|
|
</Text>
|
|
</Rung>
|
|
<Rung Number="10" Type="N">
|
|
<Text>
|
|
<![CDATA[[XIC(Start_PB_I) ,XIC(HMI.Stop_PB) ]MOVE(2,HMI.Alarm.Pressed);]]>
|
|
</Text>
|
|
</Rung>
|
|
<Rung Number="11" Type="N">
|
|
<Comment>
|
|
<![CDATA[STATE
|
|
]]>
|
|
</Comment>
|
|
<Text>
|
|
<![CDATA[NOP();]]>
|
|
</Text>
|
|
</Rung>
|
|
<Rung Number="12" Type="N">
|
|
<Text>
|
|
<![CDATA[XIO(Start_PB_LT_O)MOVE(1,HMI.STATE);]]>
|
|
</Text>
|
|
</Rung>
|
|
<Rung Number="13" Type="N">
|
|
<Text>
|
|
<![CDATA[XIO(Start_PB_LT_O)[XIC(Start_PB_I) ,XIC(HMI.Start_PB) ]MOVE(2,HMI.STATE);]]>
|
|
</Text>
|
|
</Rung>
|
|
<Rung Number="14" Type="N">
|
|
<Text>
|
|
<![CDATA[XIC(Start_PB_LT_O)MOVE(3,HMI.STATE);]]>
|
|
</Text>
|
|
</Rung>
|
|
<Rung Number="15" Type="N">
|
|
<Text>
|
|
<![CDATA[XIC(Start_PB_LT_O)[XIC(Start_PB_I) ,XIC(HMI.Start_PB) ]MOVE(4,HMI.STATE);]]>
|
|
</Text>
|
|
</Rung>
|
|
<Rung Number="16" Type="N">
|
|
<Text>
|
|
<![CDATA[NOP();]]>
|
|
</Text>
|
|
</Rung>
|
|
<Rung Number="17" Type="N">
|
|
<Text>
|
|
<![CDATA[XIO(Stopped)MOVE(5,HMI.STATE);]]>
|
|
</Text>
|
|
</Rung>
|
|
<Rung Number="18" Type="N">
|
|
<Text>
|
|
<![CDATA[XIO(Stopped)[XIO(Stop_PB_I) ,XIC(HMI.Stop_PB) ]MOVE(6,HMI.STATE);]]>
|
|
</Text>
|
|
</Rung>
|
|
<Rung Number="19" Type="N">
|
|
<Text>
|
|
<![CDATA[XIC(Stopped)MOVE(7,HMI.STATE);]]>
|
|
</Text>
|
|
</Rung>
|
|
<Rung Number="20" Type="N">
|
|
<Text>
|
|
<![CDATA[XIC(Stopped)[XIO(Stop_PB_I) ,XIC(HMI.Stop_PB) ]MOVE(8,HMI.STATE);]]>
|
|
</Text>
|
|
</Rung>
|
|
<Rung Number="21" Type="N">
|
|
<Text>
|
|
<![CDATA[OTU(CTRL.CMD.EStop_Actuated)COP(Empty_String,CTRL.CMD.Log,1)MOVE(0,HMI.Alarm.Pressed);]]>
|
|
</Text>
|
|
</Rung>
|
|
</RLLContent>
|
|
</Routine>
|
|
<Routine Name="Prescan" Type="RLL">
|
|
<RLLContent>
|
|
<Rung Number="0" Type="N">
|
|
<Text>
|
|
<![CDATA[NOP();]]>
|
|
</Text>
|
|
</Rung>
|
|
<Rung Number="1" Type="N">
|
|
<Text>
|
|
<![CDATA[FLL(0,HMI.Alarm,1)OTU(HMI.Start_PB)OTU(HMI.Stop_PB)OTU(Stopped);]]>
|
|
</Text>
|
|
</Rung>
|
|
</RLLContent>
|
|
</Routine>
|
|
</Routines>
|
|
<Dependencies>
|
|
<Dependency Type="DataType" Name="UDT_CTRL_STATION"/>
|
|
<Dependency Type="AddOnInstructionDefinition" Name="AOI_FLIP_FLOP"/>
|
|
<Dependency Type="DataType" Name="UDT_HMI_STATION"/>
|
|
<Dependency Type="DataType" Name="UDT_CTRL_IO_BLOCK"/>
|
|
<Dependency Type="DataType" Name="UDT_CTRL_VFD"/>
|
|
</Dependencies>
|
|
</AddOnInstructionDefinition>
|
|
</AddOnInstructionDefinitions>
|
|
</Controller>
|
|
</RSLogix5000Content>
|