<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<RSLogix5000Content SchemaRevision="1.0" SoftwareRevision="20.05" TargetName="AMCI_NXFE2_Program_Blend_Move" TargetType="AddOnInstructionDefinition" TargetRevision="2.0 " TargetLastEdited="2025-12-23T16:57:20.525Z" ContainsContext="true" Owner="root" ExportDate="Fri Jan 02 09:35:12 2026" ExportOptions="References DecoratedData Context Dependencies ForceProtectedEncoding AllProjDocTrans">
<Controller Use="Context" Name="NXFE2_EDS_AOI_sample_RSLogix_V20">
<DataTypes Use="Context">
<DataType Name="AMCI_NXFE2_Output_Data" Family="NoFamily" Class="User">
<Members>
<Member Name="Command_Word_0" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="Command_Word_1" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="Position_or_Distance" DataType="DINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="Programmed_Speed" DataType="DINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="Acceleration" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="Deceleration" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="Reserved_Word_8" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="Reserved_Word_9" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
</Members>
</DataType>
<DataType Name="AMCI_NXFE2_Input_Data" Family="NoFamily" Class="User">
<Members>
<Member Name="ZZZZZZZZZZAMCI_NXFE20" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="true" ExternalAccess="Read/Write"/>
<Member Name="MovingCW" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZAMCI_NXFE20" BitNumber="0" ExternalAccess="Read/Write"/>
<Member Name="MovingCCW" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZAMCI_NXFE20" BitNumber="1" ExternalAccess="Read/Write"/>
<Member Name="InHoldState" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZAMCI_NXFE20" BitNumber="2" ExternalAccess="Read/Write"/>
<Member Name="Stopped" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZAMCI_NXFE20" BitNumber="3" ExternalAccess="Read/Write"/>
<Member Name="AtHome" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZAMCI_NXFE20" BitNumber="4" ExternalAccess="Read/Write"/>
<Member Name="Accelerating" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZAMCI_NXFE20" BitNumber="5" ExternalAccess="Read/Write"/>
<Member Name="Decelerating" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZAMCI_NXFE20" BitNumber="6" ExternalAccess="Read/Write"/>
<Member Name="MoveComplete" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZAMCI_NXFE20" BitNumber="7" ExternalAccess="Read/Write"/>
<Member Name="ZZZZZZZZZZAMCI_NXFE29" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="true" ExternalAccess="Read/Write"/>
<Member Name="HomeInvalid" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZAMCI_NXFE29" BitNumber="0" ExternalAccess="Read/Write"/>
<Member Name="ProfileInvalid" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZAMCI_NXFE29" BitNumber="1" ExternalAccess="Read/Write"/>
<Member Name="PositionInvalid" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZAMCI_NXFE29" BitNumber="2" ExternalAccess="Read/Write"/>
<Member Name="InputError" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZAMCI_NXFE29" BitNumber="3" ExternalAccess="Read/Write"/>
<Member Name="CommandError" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZAMCI_NXFE29" BitNumber="4" ExternalAccess="Read/Write"/>
<Member Name="ConfigurationError" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZAMCI_NXFE29" BitNumber="5" ExternalAccess="Read/Write"/>
<Member Name="ModuleOK" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZAMCI_NXFE29" BitNumber="6" ExternalAccess="Read/Write"/>
<Member Name="ModeFlag" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZAMCI_NXFE29" BitNumber="7" ExternalAccess="Read/Write"/>
<Member Name="ZZZZZZZZZZAMCI_NXFE218" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="true" ExternalAccess="Read/Write"/>
<Member Name="CaptureInputActive" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZAMCI_NXFE218" BitNumber="0" ExternalAccess="Read/Write"/>
<Member Name="ExternalInputActive" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZAMCI_NXFE218" BitNumber="1" ExternalAccess="Read/Write"/>
<Member Name="HomeInputActive" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZAMCI_NXFE218" BitNumber="2" ExternalAccess="Read/Write"/>
<Member Name="CWLimitActive" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZAMCI_NXFE218" BitNumber="3" ExternalAccess="Read/Write"/>
<Member Name="CCWLimiitActive" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZAMCI_NXFE218" BitNumber="4" ExternalAccess="Read/Write"/>
<Member Name="NoFaultOutputState" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZAMCI_NXFE218" BitNumber="5" ExternalAccess="Read/Write"/>
<Member Name="OnLineOutputState" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZAMCI_NXFE218" BitNumber="6" ExternalAccess="Read/Write"/>
<Member Name="MoveCompleteOutputState" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZAMCI_NXFE218" BitNumber="7" ExternalAccess="Read/Write"/>
<Member Name="ZZZZZZZZZZAMCI_NXFE227" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="true" ExternalAccess="Read/Write"/>
<Member Name="RunningBlendMove" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZAMCI_NXFE227" BitNumber="0" ExternalAccess="Read/Write"/>
<Member Name="BlendMoveACK" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZAMCI_NXFE227" BitNumber="1" ExternalAccess="Read/Write"/>
<Member Name="NonZeroMinRegDistance" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZAMCI_NXFE227" BitNumber="2" ExternalAccess="Read/Write"/>
<Member Name="Reserved_bit_11" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZAMCI_NXFE227" BitNumber="3" ExternalAccess="Read/Write"/>
<Member Name="BckplnHomeProxBitState" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZAMCI_NXFE227" BitNumber="4" ExternalAccess="Read/Write"/>
<Member Name="EncoderFollowerMode" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZAMCI_NXFE227" BitNumber="5" ExternalAccess="Read/Write"/>
<Member Name="Reserved_bit_14" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZAMCI_NXFE227" BitNumber="6" ExternalAccess="Read/Write"/>
<Member Name="Reserved_bit_15" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZAMCI_NXFE227" BitNumber="7" ExternalAccess="Read/Write"/>
<Member Name="MotorPosition" DataType="DINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="EncoderPosition" DataType="DINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="CaptureData" DataType="DINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="Reserved_Word_8" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="NetworkConnectivity" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
</Members>
</DataType>
</DataTypes>
<AddOnInstructionDefinitions Use="Context">
<AddOnInstructionDefinition Use="Target" Name="AMCI_NXFE2_Program_Blend_Move" Revision="2.0" ExecutePrescan="false" ExecutePostscan="false" ExecuteEnableInFalse="true" CreatedDate="2016-08-19T14:03:38.986Z" CreatedBy="AMCI_HQ\jsutula" EditedDate="2025-12-23T16:57:20.525Z" EditedBy="AMCI-MC\jsutula" SoftwareRevision="v20.05"
>
<RevisionNote>
<![CDATA[Version 2.0 was released on 12/23/2025.  The AOI was modified to use the Input and Output user defined data type.   ]]>
</RevisionNote>
<AdditionalHelpText>
<![CDATA[AXIS INPUT DATA:  Input data from the NXFE2.   Uses the AMCI_NXFE2_Input_Data User Defined Data Type.  

AXIS OUTPUT DATA; Output data from the AOI to the AMCI NXFE2.    Uses the AMCI_NXFE2_Output_Data User Defined Data Type.  


EN (Enable) Set when rung is true, Reset when rung is false   
ER (Error) Set when there is an Invalid Profile Error, an Input Error, a Command Error, or a Configuration Error.   Reset when the rung is false.   
IP (In Process) Set while the blend move segments are being programmed.   Reset when all of the segments have been programmed or if the rung is false.
BLEND_MOVE_PROGRAMMED:  Set when all of the blend segments have been programmed.   Reset when the rung is false.   ]]>
</AdditionalHelpText>
<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="NXFE2_Input_Data" TagType="Base" DataType="AMCI_NXFE2_Input_Data" Usage="InOut" Required="true" Visible="true" Constant="false"/>
<Parameter Name="NXFE2_Output_Data" TagType="Base" DataType="AMCI_NXFE2_Output_Data" Usage="InOut" Required="true" Visible="true" Constant="false"/>
<Parameter Name="Number_of_Segments" TagType="Base" DataType="INT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="INT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Final_Move_Deceleration" TagType="Base" DataType="INT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="INT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Acceleration_Type_segments_9_to_16" TagType="Base" DataType="INT" Usage="Input" Radix="Decimal" Required="false" Visible="false" ExternalAccess="Read/Write">
<DefaultData>00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="INT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Acceleration_Type_segments_1_to_8" TagType="Base" DataType="INT" Usage="Input" Radix="Decimal" Required="false" Visible="false" ExternalAccess="Read/Write">
<DefaultData>00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="INT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_1_Distance" TagType="Base" DataType="DINT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_1_Programmed_Speed" TagType="Base" DataType="DINT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_1_Acceleration_Deceleration" TagType="Base" DataType="INT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="INT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_2_Distance" TagType="Base" DataType="DINT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_2_Programmed_Speed" TagType="Base" DataType="DINT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_2_Acceleration_Deceleration" TagType="Base" DataType="INT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="INT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_3_Distance" TagType="Base" DataType="DINT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_3_Programmed_Speed" TagType="Base" DataType="DINT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_3_Acceleration_Deceleration" TagType="Base" DataType="INT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="INT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_4_Distance" TagType="Base" DataType="DINT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_4_Programmed_Speed" TagType="Base" DataType="DINT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_4_Acceleration_Deceleration" TagType="Base" DataType="INT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="INT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_5_Distance" TagType="Base" DataType="DINT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_5_Programmed_Speed" TagType="Base" DataType="DINT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_5_Acceleration_Deceleration" TagType="Base" DataType="INT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="INT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_6_Distance" TagType="Base" DataType="DINT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_6_Programmed_Speed" TagType="Base" DataType="DINT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_6_Acceleration_Deceleration" TagType="Base" DataType="INT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="INT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_7_Distance" TagType="Base" DataType="DINT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_7_Programmed_Speed" TagType="Base" DataType="DINT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_7_Acceleration_Deceleration" TagType="Base" DataType="INT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="INT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_8_Distance" TagType="Base" DataType="DINT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_8_Programmed_Speed" TagType="Base" DataType="DINT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_8_Acceleration_Deceleration" TagType="Base" DataType="INT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="INT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_9_Distance" TagType="Base" DataType="DINT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_9_Programmed_Speed" TagType="Base" DataType="DINT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_9_Acceleration_Deceleration" TagType="Base" DataType="INT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="INT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_10_Distance" TagType="Base" DataType="DINT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_10_Programmed_Speed" TagType="Base" DataType="DINT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_10_Acceleration_Deceleration" TagType="Base" DataType="INT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="INT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_11_Distance" TagType="Base" DataType="DINT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_11_Programmed_Speed" TagType="Base" DataType="DINT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_11_Acceleration_Deceleration" TagType="Base" DataType="INT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="INT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_12_Distance" TagType="Base" DataType="DINT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_12_Programmed_Speed" TagType="Base" DataType="DINT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_12_Acceleration_Deceleration" TagType="Base" DataType="INT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="INT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_13_Distance" TagType="Base" DataType="DINT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_13_Programmed_Speed" TagType="Base" DataType="DINT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_13_Acceleration_Deceleration" TagType="Base" DataType="INT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="INT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_14_Distance" TagType="Base" DataType="DINT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_14_Programmed_Speed" TagType="Base" DataType="DINT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_14_Acceleration_Deceleration" TagType="Base" DataType="INT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="INT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_15_Distance" TagType="Base" DataType="DINT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_15_Programmed_Speed" TagType="Base" DataType="DINT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_15_Acceleration_Deceleration" TagType="Base" DataType="INT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="INT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_16_Distance" TagType="Base" DataType="DINT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_16_Programmed_Speed" TagType="Base" DataType="DINT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Segment_16_Acceleration_Deceleration" TagType="Base" DataType="INT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="INT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="EN" TagType="Base" DataType="BOOL" Usage="Output" Radix="Decimal" Required="false" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="BOOL" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="ER" TagType="Base" DataType="BOOL" Usage="Output" Radix="Decimal" Required="false" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="BOOL" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="IP" TagType="Base" DataType="BOOL" Usage="Output" Radix="Decimal" Required="false" Visible="true" ExternalAccess="Read/Write">
<DefaultData>00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="BOOL" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
<Parameter Name="Blend_Move_Programmed" TagType="Base" DataType="BOOL" Usage="Output" Radix="Decimal" Required="false" Visible="true" ExternalAccess="Read Only">
<DefaultData>00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="BOOL" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
</Parameters>
<LocalTags>
<LocalTag Name="command_data_block" DataType="INT" Dimensions="10" Radix="Decimal" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<Array DataType="INT" Dimensions="10" Radix="Decimal">
<Element Index="[0]" Value="0"/>
<Element Index="[1]" Value="0"/>
<Element Index="[2]" Value="0"/>
<Element Index="[3]" Value="0"/>
<Element Index="[4]" Value="0"/>
<Element Index="[5]" Value="0"/>
<Element Index="[6]" Value="0"/>
<Element Index="[7]" Value="0"/>
<Element Index="[8]" Value="0"/>
<Element Index="[9]" Value="0"/>
</Array>
</DefaultData>
</LocalTag>
<LocalTag Name="Blend_Move_setup" DataType="INT" Dimensions="10" Radix="Decimal" ExternalAccess="Read/Write">
<DefaultData>00 00 80 80 00 00 00 00 00 00 00 00 00 00 00 00 
00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<Array DataType="INT" Dimensions="10" Radix="Decimal">
<Element Index="[0]" Value="0"/>
<Element Index="[1]" Value="-32640"/>
<Element Index="[2]" Value="0"/>
<Element Index="[3]" Value="0"/>
<Element Index="[4]" Value="0"/>
<Element Index="[5]" Value="0"/>
<Element Index="[6]" Value="0"/>
<Element Index="[7]" Value="0"/>
<Element Index="[8]" Value="0"/>
<Element Index="[9]" Value="0"/>
</Array>
</DefaultData>
</LocalTag>
<LocalTag Name="Blend_Move_counter" DataType="COUNTER" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00 00 00 00 00 00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<Structure DataType="COUNTER">
<DataValueMember Name="PRE" DataType="DINT" Radix="Decimal" Value="0"/>
<DataValueMember Name="ACC" DataType="DINT" Radix="Decimal" Value="0"/>
<DataValueMember Name="CU" DataType="BOOL" Value="0"/>
<DataValueMember Name="CD" DataType="BOOL" Value="0"/>
<DataValueMember Name="DN" DataType="BOOL" Value="0"/>
<DataValueMember Name="OV" DataType="BOOL" Value="0"/>
<DataValueMember Name="UN" DataType="BOOL" Value="0"/>
</Structure>
</DefaultData>
</LocalTag>
<LocalTag Name="Programmed_Speed" DataType="DINT" Radix="Decimal" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</LocalTag>
<LocalTag Name="Distance" DataType="DINT" Radix="Decimal" ExternalAccess="Read/Write">
<DefaultData>00 00 00 00</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</LocalTag>
</LocalTags>
<Routines>
<Routine Name="EnableInFalse" Type="RLL">
<RLLContent>
<Rung Number="0" Type="N">
<Text>
<![CDATA[OTU(EN)OTU(ER)OTU(IP)RES(Blend_Move_counter)OTU(Blend_Move_Programmed);]]>
</Text>
</Rung>
</RLLContent>
</Routine>
<Routine Name="Logic" Type="RLL">
<RLLContent>
<Rung Number="0" Type="N">
<Text>
<![CDATA[OTL(EN);]]>
</Text>
</Rung>
<Rung Number="1" Type="N">
<Comment>
<![CDATA[For this subroutine to function properly, the controlling counter's preset value must be one more than the number of blend move segments. This rung adds one to the number of segments and places the result in the counter's preset value.  

In this example, the blend move profile consists of six programming blocks, one setup block and five segment blocks.  However, this Add On Instruction is written to output the maximum number of programming blocks.  ]]>
</Comment>
<Text>
<![CDATA[ADD(Number_of_Segments,1,Blend_Move_counter.PRE);]]>
</Text>
</Rung>
<Rung Number="2" Type="N">
<Text>
<![CDATA[MOV(Number_of_Segments,Blend_Move_setup[3])MOV(Acceleration_Type_segments_9_to_16,Blend_Move_setup[2])MOV(Acceleration_Type_segments_1_to_8,Blend_Move_setup[5])MOV(Final_Move_Deceleration,Blend_Move_setup[4]);]]>
</Text>
</Rung>
<Rung Number="3" Type="N">
<Comment>
<![CDATA[If the blend segment Acknowledge bit is not set and the counter's accumulator is equal to zero, copy the first blend move programming block to the NXFE2 module.  This first block contains the number of segments, the acceleration type (constant, triangular S curve, or trapezoidal S curve) for all of the segments, and the final segments deceleration value and type.  ]]>
</Comment>
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)EQU(Blend_Move_counter.ACC,0)CPS(Blend_Move_setup[0],command_data_block[0],10);]]>
</Text>
</Rung>
<Rung Number="4" Type="N">
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)EQU(Blend_Move_counter.ACC,1)MOV(Segment_1_Distance,Distance)MOV(Segment_1_Programmed_Speed,Programmed_Speed);]]>
</Text>
</Rung>
<Rung Number="5" Type="N">
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)EQU(Blend_Move_counter.ACC,2)MOV(Segment_2_Distance,Distance)MOV(Segment_2_Programmed_Speed,Programmed_Speed);]]>
</Text>
</Rung>
<Rung Number="6" Type="N">
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)EQU(Blend_Move_counter.ACC,3)MOV(Segment_3_Distance,Distance)MOV(Segment_3_Programmed_Speed,Programmed_Speed);]]>
</Text>
</Rung>
<Rung Number="7" Type="N">
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)EQU(Blend_Move_counter.ACC,4)MOV(Segment_4_Distance,Distance)MOV(Segment_4_Programmed_Speed,Programmed_Speed);]]>
</Text>
</Rung>
<Rung Number="8" Type="N">
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)EQU(Blend_Move_counter.ACC,5)MOV(Segment_5_Distance,Distance)MOV(Segment_5_Programmed_Speed,Programmed_Speed);]]>
</Text>
</Rung>
<Rung Number="9" Type="N">
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)EQU(Blend_Move_counter.ACC,6)MOV(Segment_6_Distance,Distance)MOV(Segment_6_Programmed_Speed,Programmed_Speed);]]>
</Text>
</Rung>
<Rung Number="10" Type="N">
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)EQU(Blend_Move_counter.ACC,7)MOV(Segment_7_Distance,Distance)MOV(Segment_7_Programmed_Speed,Programmed_Speed);]]>
</Text>
</Rung>
<Rung Number="11" Type="N">
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)EQU(Blend_Move_counter.ACC,8)MOV(Segment_8_Distance,Distance)MOV(Segment_8_Programmed_Speed,Programmed_Speed);]]>
</Text>
</Rung>
<Rung Number="12" Type="N">
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)EQU(Blend_Move_counter.ACC,9)MOV(Segment_9_Distance,Distance)MOV(Segment_9_Programmed_Speed,Programmed_Speed);]]>
</Text>
</Rung>
<Rung Number="13" Type="N">
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)EQU(Blend_Move_counter.ACC,10)MOV(Segment_10_Distance,Distance)MOV(Segment_10_Programmed_Speed,Programmed_Speed);]]>
</Text>
</Rung>
<Rung Number="14" Type="N">
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)EQU(Blend_Move_counter.ACC,11)MOV(Segment_11_Distance,Distance)MOV(Segment_11_Programmed_Speed,Programmed_Speed);]]>
</Text>
</Rung>
<Rung Number="15" Type="N">
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)EQU(Blend_Move_counter.ACC,12)MOV(Segment_12_Distance,Distance)MOV(Segment_12_Programmed_Speed,Programmed_Speed);]]>
</Text>
</Rung>
<Rung Number="16" Type="N">
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)EQU(Blend_Move_counter.ACC,13)MOV(Segment_13_Distance,Distance)MOV(Segment_13_Programmed_Speed,Programmed_Speed);]]>
</Text>
</Rung>
<Rung Number="17" Type="N">
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)EQU(Blend_Move_counter.ACC,14)MOV(Segment_14_Distance,Distance)MOV(Segment_14_Programmed_Speed,Programmed_Speed);]]>
</Text>
</Rung>
<Rung Number="18" Type="N">
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)EQU(Blend_Move_counter.ACC,15)MOV(Segment_15_Distance,Distance)MOV(Segment_15_Programmed_Speed,Programmed_Speed);]]>
</Text>
</Rung>
<Rung Number="19" Type="N">
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)EQU(Blend_Move_counter.ACC,16)MOV(Segment_16_Distance,Distance)MOV(Segment_16_Programmed_Speed,Programmed_Speed);]]>
</Text>
</Rung>
<Rung Number="20" Type="N">
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)GEQ(Blend_Move_counter.ACC,1)[BTD(Distance,16,command_data_block[3],0,16) ,BTD(Distance,0,command_data_block[2],0,16) ];]]>
</Text>
</Rung>
<Rung Number="21" Type="N">
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)GEQ(Blend_Move_counter.ACC,1)[BTD(Programmed_Speed,16,command_data_block[5],0,16) ,BTD(Programmed_Speed,0,command_data_block[4],0,16) ];]]>
</Text>
</Rung>
<Rung Number="22" Type="N">
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)EQU(Blend_Move_counter.ACC,1)MOV(-32640,command_data_block[1])MOV(Segment_1_Acceleration_Deceleration,command_data_block[6]);]]>
</Text>
</Rung>
<Rung Number="23" Type="N">
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)EQU(Blend_Move_counter.ACC,2)MOV(-32640,command_data_block[1])MOV(Segment_2_Acceleration_Deceleration,command_data_block[6]);]]>
</Text>
</Rung>
<Rung Number="24" Type="N">
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)EQU(Blend_Move_counter.ACC,3)MOV(-32640,command_data_block[1])MOV(Segment_3_Acceleration_Deceleration,command_data_block[6]);]]>
</Text>
</Rung>
<Rung Number="25" Type="N">
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)EQU(Blend_Move_counter.ACC,4)MOV(-32640,command_data_block[1])MOV(Segment_4_Acceleration_Deceleration,command_data_block[6]);]]>
</Text>
</Rung>
<Rung Number="26" Type="N">
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)EQU(Blend_Move_counter.ACC,5)MOV(-32640,command_data_block[1])MOV(Segment_5_Acceleration_Deceleration,command_data_block[6]);]]>
</Text>
</Rung>
<Rung Number="27" Type="N">
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)EQU(Blend_Move_counter.ACC,6)MOV(-32640,command_data_block[1])MOV(Segment_6_Acceleration_Deceleration,command_data_block[6]);]]>
</Text>
</Rung>
<Rung Number="28" Type="N">
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)EQU(Blend_Move_counter.ACC,7)MOV(-32640,command_data_block[1])MOV(Segment_7_Acceleration_Deceleration,command_data_block[6]);]]>
</Text>
</Rung>
<Rung Number="29" Type="N">
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)EQU(Blend_Move_counter.ACC,8)MOV(-32640,command_data_block[1])MOV(Segment_8_Acceleration_Deceleration,command_data_block[6]);]]>
</Text>
</Rung>
<Rung Number="30" Type="N">
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)EQU(Blend_Move_counter.ACC,9)MOV(-32640,command_data_block[1])MOV(Segment_9_Acceleration_Deceleration,command_data_block[6]);]]>
</Text>
</Rung>
<Rung Number="31" Type="N">
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)EQU(Blend_Move_counter.ACC,10)MOV(-32640,command_data_block[1])MOV(Segment_10_Acceleration_Deceleration,command_data_block[6]);]]>
</Text>
</Rung>
<Rung Number="32" Type="N">
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)EQU(Blend_Move_counter.ACC,11)MOV(-32640,command_data_block[1])MOV(Segment_11_Acceleration_Deceleration,command_data_block[6]);]]>
</Text>
</Rung>
<Rung Number="33" Type="N">
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)EQU(Blend_Move_counter.ACC,12)MOV(-32640,command_data_block[1])MOV(Segment_12_Acceleration_Deceleration,command_data_block[6]);]]>
</Text>
</Rung>
<Rung Number="34" Type="N">
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)EQU(Blend_Move_counter.ACC,13)MOV(-32640,command_data_block[1])MOV(Segment_13_Acceleration_Deceleration,command_data_block[6]);]]>
</Text>
</Rung>
<Rung Number="35" Type="N">
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)EQU(Blend_Move_counter.ACC,14)MOV(-32640,command_data_block[1])MOV(Segment_14_Acceleration_Deceleration,command_data_block[6]);]]>
</Text>
</Rung>
<Rung Number="36" Type="N">
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)EQU(Blend_Move_counter.ACC,15)MOV(-32640,command_data_block[1])MOV(Segment_15_Acceleration_Deceleration,command_data_block[6]);]]>
</Text>
</Rung>
<Rung Number="37" Type="N">
<Text>
<![CDATA[XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.BlendMoveACK)EQU(Blend_Move_counter.ACC,16)MOV(-32640,command_data_block[1])MOV(Segment_16_Acceleration_Deceleration,command_data_block[6]);]]>
</Text>
</Rung>
<Rung Number="38" Type="N">
<Comment>
<![CDATA[Words 7 to 9 are not used and must be reset to zero.  ]]>
</Comment>
<Text>
<![CDATA[FLL(0,command_data_block[7],3);]]>
</Text>
</Rung>
<Rung Number="39" Type="N">
<Comment>
<![CDATA[The NXFE2 acknowledges the receipt of a Blend programming block by resetting bit NXFE2_Status_Word_0.9.  When this bit is set, increment the counter controlling which programming block is being output, and unlatch the Read Blend Data bit Command_data_block[0].12.  This bit, along with bit 11 (the Program Blend Move Profile bit)  is set in word 0 of each of the Blend segment's programming blocks.    
]]>
</Comment>
<Text>
<![CDATA[XIC(NXFE2_Input_Data.BlendMoveACK)XIO(NXFE2_Input_Data.ProfileInvalid)[CTU(Blend_Move_counter,?,?) ,MOV(16#8000,command_data_block[1]) ];]]>
</Text>
</Rung>
<Rung Number="40" Type="N">
<Comment>
<![CDATA[If the counter Done bit is set, all of the Blend Move Profile's programming blocks have been sent to the NXFE2, set all of the output words to 0.  

]]>
</Comment>
<Text>
<![CDATA[XIC(Blend_Move_counter.DN)FLL(0,command_data_block[0],10)OTL(Blend_Move_Programmed);]]>
</Text>
</Rung>
<Rung Number="41" Type="N">
<Text>
<![CDATA[GRT(Blend_Move_counter.acc,0)XIO(Blend_Move_counter.DN)XIO(NXFE2_Input_Data.ProfileInvalid)OTE(IP);]]>
</Text>
</Rung>
<Rung Number="42" Type="N">
<Text>
<![CDATA[[XIC(NXFE2_Input_Data.ProfileInvalid) ,XIC(NXFE2_Input_Data.InputError) ,XIC(NXFE2_Input_Data.CommandError) ,XIC(NXFE2_Input_Data.ConfigurationError) ]MOV(0,command_data_block[1])OTL(ER);]]>
</Text>
</Rung>
<Rung Number="43" Type="N">
<Comment>
<![CDATA[Move the command block data internal to the Add on Instruction to the output registers assigned to the NXFE2.]]>
</Comment>
<Text>
<![CDATA[CPS(command_data_block[0],NXFE2_Output_Data,10);]]>
</Text>
</Rung>
</RLLContent>
</Routine>
</Routines>
<Dependencies>
<Dependency Type="DataType" Name="AMCI_NXFE2_Input_Data"/>
<Dependency Type="DataType" Name="AMCI_NXFE2_Output_Data"/>
</Dependencies>
</AddOnInstructionDefinition>
</AddOnInstructionDefinitions>
</Controller>
</RSLogix5000Content>
