<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--AOI to read and write parameter data to an IO-Link T30R Analog.-->
<RSLogix5000Content SchemaRevision="1.0" SoftwareRevision="33.00" TargetName="Banner_T30RKU_Param_v4" TargetType="AddOnInstructionDefinition" TargetRevision="4.1 " TargetLastEdited="2023-10-18T15:13:36.598Z" ContainsContext="true" ExportDate="Wed Oct 18 10:13:45 2023" ExportOptions="References NoRawData L5KData DecoratedData Context Dependencies ForceProtectedEncoding AllProjDocTrans">
<Controller Use="Context" Name="Test">
<DataTypes Use="Context">
<DataType Name="Banner_IOL_Port_v4" Family="NoFamily" Class="User">
<Description>
<![CDATA[UDT that has all of the data items necessary to communicate with a specific Port on a IO-Link Master]]>
</Description>
<Members>
<Member Name="Port_Controlled" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[Each bit represents a port on an IO-Link Master.  Set to 1 to tell AOI to control that port.]]>
</Description>
</Member>
<Member Name="Port_Activate" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[Each bit represents a port on an IO-Link Master.  When ON that port will process any commands in queue.]]>
</Description>
</Member>
<Member Name="Port_Read" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[Each bit represents a port on an IO-Link Master.  Used to determine when device AOI has requested a Read command.]]>
</Description>
</Member>
<Member Name="Port_Write" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[Each bit represents a port on an IO-Link Master.  Used to determine when device AOI has requested a Write command.]]>
</Description>
</Member>
<Member Name="Port_RW_Complete" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[Each bit represents a port on an IO-Link Master.  Tells device AOI that Read or Write request has been completed.]]>
</Description>
</Member>
<Member Name="Port_Device_Read" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="Data_Transfer" DataType="SINT" Dimension="190" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[Array to transfer data from IO-Master to device AOIs.]]>
</Description>
</Member>
</Members>
</DataType>
<DataType Name="Banner_T30RKU_RD_v4" Family="NoFamily" Class="User">
<Description>
<![CDATA[UDT that stores the  Read Data for a T30RKU.]]>
</Description>
<Members>
<Member Name="Master_Cycle_Time" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="Min_Cycle_Time" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="M_Sequence_Capability" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="IO_Link_Version_ID" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="Process_Data_Input_Length" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="Process_Data_Output_Length" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="Combined_Vendor_ID" DataType="DINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[IO-Link Vendor ID]]>
</Description>
</Member>
<Member Name="Vendor_ID1" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="Vendor_ID2" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="Combined_Device_ID" DataType="DINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[IO-Link Device ID]]>
</Description>
</Member>
<Member Name="Device_ID1" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="Device_ID2" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="Device_ID3" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="Serial_Number" DataType="STRING" Dimension="0" Radix="NullType" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="Teach_State" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="SP1_TP1" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="SP1_TP2" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="SP2_TP1" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="SP2_TP2" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="Distance_Meaurement" DataType="DINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="Excess_Gain" DataType="DINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[Amount of singla measured over the minimum threshold.]]>
</Description>
</Member>
<Member Name="Stability" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="Fault_Status" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[0 = No Fault, 1 = Fault Present]]>
</Description>
</Member>
<Member Name="Analog_Output_Value" DataType="DINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="Temperature" DataType="DINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="Last_Taught_Temperature" DataType="DINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[Internal Temperature the last time device was taught.]]>
</Description>
</Member>
<Member Name="All_Time_Run_Time" DataType="DINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[Read only counter that tracks the total time sensor has been running since manufacture.  Value in Hours.]]>
</Description>
</Member>
<Member Name="MDC_Lower_Limit" DataType="DINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="MDC_Upper_Limit" DataType="DINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="MDC_Unit" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="MDC_Scale" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
</Members>
</DataType>
<DataType Name="Banner_T30RKU_v4" Family="NoFamily" Class="User">
<Description>
<![CDATA[All of the parameters for a T30RKU.]]>
</Description>
<Members>
<Member Name="ZZZZZZZZZZBanner_T300" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="true" ExternalAccess="Read/Write"/>
<Member Name="Initial_Global_Read" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZBanner_T300" BitNumber="0" ExternalAccess="Read/Write">
<Description>
<![CDATA[Determines if all of the IO-Link data has been read into the PLC yet]]>
</Description>
</Member>
<Member Name="Command" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[Value placed in here will activate a read or write to a specifc IO-Link Index]]>
</Description>
</Member>
<Member Name="Read_Data" DataType="Banner_T30RKU_RD_v4" Dimension="0" Radix="NullType" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[Read Only Data]]>
</Description>
</Member>
<Member Name="Write_Data" DataType="Banner_T30RKU_WD_v4" Dimension="0" Radix="NullType" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[Write Data]]>
</Description>
</Member>
<Member Name="Archive" DataType="Banner_T30RKU_WD_v4" Dimension="0" Radix="NullType" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[Archive Data]]>
</Description>
</Member>
<Member Name="ZZZZZZZZZZBanner_T306" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="true" ExternalAccess="Read/Write"/>
<Member Name="Reset" DataType="BIT" Dimension="0" Radix="Decimal" Hidden="false" Target="ZZZZZZZZZZBanner_T306" BitNumber="0" ExternalAccess="Read/Write">
<Description>
<![CDATA[Resets AOI.  This will force a complete parameter read of the sensor.]]>
</Description>
</Member>
</Members>
<Dependencies>
<Dependency Type="DataType" Name="Banner_T30RKU_RD_v4"/>
<Dependency Type="DataType" Name="Banner_T30RKU_WD_v4"/>
<Dependency Type="DataType" Name="Banner_T30RKU_WD_v4"/>
</Dependencies>
</DataType>
<DataType Name="Banner_T30RKU_WD_v4" Family="NoFamily" Class="User">
<Description>
<![CDATA[UDT that stores the  Write Data for a T30RKU.]]>
</Description>
<Members>
<Member Name="System_Command" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[See IODD file for list of commands that can be activated via the System Command interface]]>
</Description>
</Member>
<Member Name="Parameter_Access_Lock" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[Write access to all parameters is prohibited while value is 1.  Only this parameter can be adjusted when value is 1.]]>
</Description>
</Member>
<Member Name="Data_Storage_Lock" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[Automatic data storage is disabled when this value is equal to 1.  Read access is not affected.]]>
</Description>
</Member>
<Member Name="Local_Parameterization_Lock" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[Parameterization via local control elements on device is disabled.]]>
</Description>
</Member>
<Member Name="Local_User_Interface_Lock" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[Operation of local user interface is disabled.]]>
</Description>
</Member>
<Member Name="Function_Tag" DataType="STRING" Dimension="0" Radix="NullType" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="Location_Tag" DataType="STRING" Dimension="0" Radix="NullType" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="Teach_in_Channel" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[0 = Default, 1 = BDC1, 192 = AO1]]>
</Description>
</Member>
<Member Name="BDC1_Setpoint_1" DataType="DINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[0 to 15000. SP1 switch point in Switch or Window mode.]]>
</Description>
</Member>
<Member Name="BDC1_Setpoint_2" DataType="DINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[0 to 15000. SP2 switch point in Window mode only.]]>
</Description>
</Member>
<Member Name="BDC1_Switchpoint_Logic" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[0 = Light Operate, 1 = Dark Operate]]>
</Description>
</Member>
<Member Name="BDC1_Mode" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[1 = Switch Mode/Single Mode, 2 = Window Mode]]>
</Description>
</Member>
<Member Name="BDC1_Hysteresis" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[0 to 15000]]>
</Description>
</Member>
<Member Name="Response_Speed" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[0 = Fast, 1 = Medium, 2 = Slow]]>
</Description>
</Member>
<Member Name="Peak_Select_Mode" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[0 = Strongest Peak, 1 = First Peak]]>
</Description>
</Member>
<Member Name="Sensor_Lockout" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[0 = Unlocked, 1 = Locked]]>
</Description>
</Member>
<Member Name="Output_Polarity" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[0 = NPN, 1 = PNP]]>
</Description>
</Member>
<Member Name="Process_Data_Filter_Time" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="Process_Data_Layout" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[0 = Digital Measurement Sensor, 1 = Distance and Excess Gain, 2 = Distance and Excess Gain with Binary Data]]>
</Description>
</Member>
<Member Name="Remote_Input_Mode" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[0 = Disabled, 1 = Teach]]>
</Description>
</Member>
<Member Name="Amplitude_Threshold" DataType="DINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[100 to 5000]]>
</Description>
</Member>
<Member Name="Limit_Filter_Enabled" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[0 = Disabled, 1 = Enabled. Rate of change filter for the distance measurement.]]>
</Description>
</Member>
<Member Name="Limit_Filter_Hold_Time" DataType="DINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[50 to 60000. Hold time for when distance change exceeds configured window.]]>
</Description>
</Member>
<Member Name="Limit_Filter_Positive_Distance" DataType="DINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[0 to 1000. Window size for distance changes going away from sensor (set to 0 to disable)]]>
</Description>
</Member>
<Member Name="Limit_Filter_Negative_Distance" DataType="DINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[0 to 1000. Window size for distance changes goin towards sensor (set to 0 to disable)]]>
</Description>
</Member>
<Member Name="BDC1_Delay_Timer_1" DataType="DINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[0 to 60000 ms]]>
</Description>
</Member>
<Member Name="BDC1_Delay_Timer_2" DataType="DINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[0 to 60000 ms]]>
</Description>
</Member>
<Member Name="BDC1_Teach_Offset" DataType="DINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[-15000 to 15000.]]>
</Description>
</Member>
<Member Name="Resettable_Run_Time" DataType="DINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="AO1_Setpoint_1" DataType="DINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[300 to 15000.]]>
</Description>
</Member>
<Member Name="AO1_Setpoint_2" DataType="DINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[300 to 15000.]]>
</Description>
</Member>
<Member Name="AO1_Output_Type" DataType="INT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[0 = 4-20 mA, 128 = 0-10V, 129 = .5-4.5V]]>
</Description>
</Member>
<Member Name="AO1_Slope" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[0 = Positive, 1 = Negative]]>
</Description>
</Member>
<Member Name="AO1_Loss_of_Signal" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[0 = Hold, 1 = Low, 2 = High]]>
</Description>
</Member>
<Member Name="AO1_Average" DataType="SINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[0 = 1, 1 = 2, 2= 4, 3 = 8, 4 = 16, 5 = 32, 6 = 64, 7 = 128, 8 = 256, 9 = 512]]>
</Description>
</Member>
<Member Name="All_Time_Run_Time_Event_Time" DataType="DINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="Resettable_Run_Time_Event_Time" DataType="DINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write"/>
<Member Name="Active_Sensing_Range_Near" DataType="DINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[0 to 16000.]]>
</Description>
</Member>
<Member Name="Active_Sensing_Range_Far" DataType="DINT" Dimension="0" Radix="Decimal" Hidden="false" ExternalAccess="Read/Write">
<Description>
<![CDATA[0 to 16000.]]>
</Description>
</Member>
</Members>
</DataType>
</DataTypes>
<AddOnInstructionDefinitions Use="Context">
<AddOnInstructionDefinition Use="Target" Name="Banner_T30RKU_Param_v4" Revision="4.1" Vendor="Banner Engineering" ExecutePrescan="false" ExecutePostscan="false" ExecuteEnableInFalse="false" CreatedDate="2017-05-04T16:29:17.778Z" CreatedBy="DUKE\2011324" EditedDate="2023-10-18T15:13:36.598Z" EditedBy="DUKE\jpreisen"
 SoftwareRevision="v33.00">
<Description>
<![CDATA[AOI to read and write parameter data to an IO-Link T30R Analog.]]>
</Description>
<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="T30RKU" TagType="Base" DataType="Banner_T30RKU_v4" Usage="InOut" Required="true" Visible="true" Constant="false"/>
<Parameter Name="Port_Data" TagType="Base" DataType="Banner_IOL_Port_v4" Usage="InOut" Required="true" Visible="true" Constant="false"/>
<Parameter Name="Port" TagType="Base" DataType="DINT" Usage="Input" Radix="Decimal" Required="true" Visible="true" ExternalAccess="Read/Write">
<DefaultData Format="L5K">
<![CDATA[0]]>
</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="DINT" Radix="Decimal" Value="0"/>
</DefaultData>
</Parameter>
</Parameters>
<LocalTags>
<LocalTag Name="Local_Control" 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="Global_Read_Command_Value" DataType="INT" Radix="Decimal" ExternalAccess="None">
<DefaultData Format="L5K">
<![CDATA[0]]>
</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="INT" Radix="Decimal" Value="0"/>
</DefaultData>
</LocalTag>
<LocalTag Name="Global_Write_Command_Value" DataType="INT" Radix="Decimal" ExternalAccess="None">
<DefaultData Format="L5K">
<![CDATA[0]]>
</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="INT" Radix="Decimal" Value="0"/>
</DefaultData>
</LocalTag>
<LocalTag Name="Command_Being_Processed" DataType="BOOL" Radix="Decimal" ExternalAccess="None">
<DefaultData Format="L5K">
<![CDATA[0]]>
</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="BOOL" Radix="Decimal" Value="0"/>
</DefaultData>
</LocalTag>
<LocalTag Name="Update_Archive" DataType="BOOL" Radix="Decimal" ExternalAccess="None">
<DefaultData Format="L5K">
<![CDATA[0]]>
</DefaultData>
<DefaultData Format="Decorated">
<DataValue DataType="BOOL" Radix="Decimal" Value="0"/>
</DefaultData>
</LocalTag>
<LocalTag Name="Index_Write_Inprocess" 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="Index_Write_Control" 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="Inprocess_Index" 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[When reset is activated reset all tags used in the AOI.]]>
</Comment>
<Text>
<![CDATA[XIC(T30RKU.Reset)OTU(T30RKU.Initial_Global_Read)OTU(Command_Being_Processed)OTU(Update_Archive)MOV(0,T30RKU.Command)MOV(0,Index_Write_Inprocess)MOV(0,Index_Write_Control)MOV(0,Global_Read_Command_Value)MOV(0,Global_Write_Command_Value)MOV(0,Local_Control)OTU(T30RKU.Reset);]]>
</Text>
</Rung>
<Rung Number="1" Type="N">
<Text>
<![CDATA[MOV(0,Port_Data.Data_Transfer[186]);]]>
</Text>
</Rung>
<Rung Number="2" Type="N">
<Comment>
<![CDATA[*****Check to see if the Global Read command has been activated.  The next few rungs control reading of all Q18E parameters.*****]]>
</Comment>
<Text>
<![CDATA[[XIO(T30RKU.Initial_Global_Read) ,EQU(T30RKU.Command,1) ,XIC(Port_Data.Port_Device_Read.[Port]) ]XIO(Local_Control.0)XIO(Local_Control.2)MOV(1,Global_Read_Command_Value)MOV(0,T30RKU.Command)OTL(Local_Control.0);]]>
</Text>
</Rung>
<Rung Number="3" Type="N">
<Text>
<![CDATA[XIC(Local_Control.0)XIO(Local_Control.1)LES(Global_Read_Command_Value,24)ADD(Global_Read_Command_Value,1,Global_Read_Command_Value)MOV(Global_Read_Command_Value,T30RKU.Command)OTL(Local_Control.1);]]>
</Text>
</Rung>
<Rung Number="4" Type="N">
<Text>
<![CDATA[XIC(Local_Control.0)GEQ(Global_Read_Command_Value,24)MOV(1,Global_Read_Command_Value)MOV(0,T30RKU.Command)OTL(T30RKU.Initial_Global_Read)OTU(Local_Control.0)OTL(Update_Archive)OTU(Local_Control.1);]]>
</Text>
</Rung>
<Rung Number="5" Type="N">
<Comment>
<![CDATA[Update Archive with latest cycle information.]]>
</Comment>
<Text>
<![CDATA[XIC(Update_Archive)COP(T30RKU.Write_Data,T30RKU.Archive,1)OTU(Update_Archive);]]>
</Text>
</Rung>
<Rung Number="6" Type="N">
<Comment>
<![CDATA[*****Check to see if the Global Write command has been activated.  The next few rungs control writing of all QS18E parameters.*****]]>
</Comment>
<Text>
<![CDATA[XIC(T30RKU.Initial_Global_Read)EQU(T30RKU.Command,41)XIO(Local_Control.0)XIO(Local_Control.2)MOV(41,Global_Write_Command_Value)MOV(0,T30RKU.Command)OTL(Local_Control.2);]]>
</Text>
</Rung>
<Rung Number="7" Type="N">
<Text>
<![CDATA[XIO(T30RKU.Initial_Global_Read)EQU(T30RKU.Command,41)MOV(0,T30RKU.Command)OTU(Local_Control.2);]]>
</Text>
</Rung>
<Rung Number="8" Type="N">
<Text>
<![CDATA[XIC(Local_Control.2)XIO(Local_Control.3)LES(Global_Write_Command_Value,59)ADD(Global_Write_Command_Value,1,Global_Write_Command_Value)MOV(Global_Write_Command_Value,T30RKU.Command)OTL(Local_Control.3);]]>
</Text>
</Rung>
<Rung Number="9" Type="N">
<Text>
<![CDATA[XIC(Local_Control.2)GEQ(Global_Write_Command_Value,59)MOV(0,Global_Write_Command_Value)MOV(0,T30RKU.Command)OTU(Local_Control.2)OTU(Local_Control.3);]]>
</Text>
</Rung>
<Rung Number="10" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="11" Type="N">
<Comment>
<![CDATA[Global Read command logic.]]>
</Comment>
<Text>
<![CDATA[XIC(Local_Control.4)XIO(Local_Control.5)XIC(Port_Data.Port_RW_Complete.[Port])OTL(Local_Control.5);]]>
</Text>
</Rung>
<Rung Number="12" Type="N">
<Text>
<![CDATA[XIC(Local_Control.6)XIO(Port_Data.Port_RW_Complete.[Port])MOV(0,T30RKU.Command)OTU(Local_Control.1)OTU(Command_Being_Processed)OTU(Local_Control.4)OTU(Local_Control.5)OTU(Local_Control.6);]]>
</Text>
</Rung>
<Rung Number="13" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="14" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls reading of the direct parameters (index 0).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIO(Command_Being_Processed)XIO(Local_Control.4)EQU(T30RKU.Command,2)OTL(Command_Being_Processed)MOV(Port,Port_Data.Data_Transfer[185])MOV(0,Port_Data.Data_Transfer[187])MOV(0,Port_Data.Data_Transfer[188])MOV(16,Port_Data.Data_Transfer[189])OTL(Port_Data.Port_Read.[Port])OTL(Local_Control.4);]]>
</Text>
</Rung>
<Rung Number="15" Type="N">
<Text>
<![CDATA[XIC(Local_Control.5)XIO(Local_Control.6)EQU(T30RKU.Command,2)BTD(Port_Data.Data_Transfer[1],0,T30RKU.Read_Data.Master_Cycle_Time,0,8)BTD(Port_Data.Data_Transfer[2],0,T30RKU.Read_Data.Min_Cycle_Time,0,8)BTD(Port_Data.Data_Transfer[3],0,T30RKU.Read_Data.M_Sequence_Capability,0,8)BTD(Port_Data.Data_Transfer[4],0,T30RKU.Read_Data.IO_Link_Version_ID,0,8)BTD(Port_Data.Data_Transfer[5],0,T30RKU.Read_Data.Process_Data_Input_Length,0,8)BTD(Port_Data.Data_Transfer[6],0,T30RKU.Read_Data.Process_Data_Output_Length,0,8)BTD(Port_Data.Data_Transfer[7],0,T30RKU.Read_Data.Combined_Vendor_ID,8,8)BTD(Port_Data.Data_Transfer[8],0,T30RKU.Read_Data.Combined_Vendor_ID,0,8)MOV(Port_Data.Data_Transfer[7],T30RKU.Read_Data.Vendor_ID1)MOV(Port_Data.Data_Transfer[8],T30RKU.Read_Data.Vendor_ID2)BTD(Port_Data.Data_Transfer[9],0,T30RKU.Read_Data.Combined_Device_ID,16,8)BTD(Port_Data.Data_Transfer[10],0,T30RKU.Read_Data.Combined_Device_ID,8,8)BTD(Port_Data.Data_Transfer[11],0,T30RKU.Read_Data.Combined_Device_ID,0,8)MOV(Port_Data.Data_Transfer[9],T30RKU.Read_Data.Device_ID1)MOV(Port_Data.Data_Transfer[10],T30RKU.Read_Data.Device_ID2)MOV(Port_Data.Data_Transfer[11],T30RKU.Read_Data.Device_ID3)OTU(Port_Data.Port_Read.[Port])OTL(Local_Control.6);]]>
</Text>
</Rung>
<Rung Number="16" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="17" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls reading of the Device Access Locks parameters (index 12).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIO(Command_Being_Processed)XIO(Local_Control.4)EQU(T30RKU.Command,3)OTL(Command_Being_Processed)MOV(Port,Port_Data.Data_Transfer[185])MOV(0,Port_Data.Data_Transfer[187])MOV(12,Port_Data.Data_Transfer[188])MOV(2,Port_Data.Data_Transfer[189])OTL(Port_Data.Port_Read.[Port])OTL(Local_Control.4);]]>
</Text>
</Rung>
<Rung Number="18" Type="N">
<Text>
<![CDATA[XIC(Local_Control.5)XIO(Local_Control.6)EQU(T30RKU.Command,3)BTD(Port_Data.Data_Transfer[1],0,T30RKU.Write_Data.Parameter_Access_Lock,0,1)BTD(Port_Data.Data_Transfer[1],1,T30RKU.Write_Data.Data_Storage_Lock,0,1)BTD(Port_Data.Data_Transfer[1],2,T30RKU.Write_Data.Local_Parameterization_Lock,0,1)BTD(Port_Data.Data_Transfer[1],3,T30RKU.Write_Data.Local_User_Interface_Lock,0,1)OTU(Port_Data.Port_Read.[Port])OTL(Local_Control.6);]]>
</Text>
</Rung>
<Rung Number="19" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="20" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls reading of the Serial Number parameter (index 21).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIO(Command_Being_Processed)XIO(Local_Control.4)EQU(T30RKU.Command,4)OTL(Command_Being_Processed)MOV(Port,Port_Data.Data_Transfer[185])MOV(0,Port_Data.Data_Transfer[187])MOV(21,Port_Data.Data_Transfer[188])MOV(16,Port_Data.Data_Transfer[189])OTL(Port_Data.Port_Read.[Port])OTL(Local_Control.4);]]>
</Text>
</Rung>
<Rung Number="21" Type="N">
<Text>
<![CDATA[XIC(Local_Control.5)XIO(Local_Control.6)EQU(T30RKU.Command,4)MOV(16,T30RKU.Read_Data.Serial_Number.LEN)CPS(Port_Data.Data_Transfer[0],T30RKU.Read_Data.Serial_Number.DATA[0],16)OTU(Port_Data.Port_Read.[Port])OTL(Local_Control.6);]]>
</Text>
</Rung>
<Rung Number="22" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="23" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls reading of the Function Tag parameter (index 25).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIO(Command_Being_Processed)XIO(Local_Control.4)EQU(T30RKU.Command,5)OTL(Command_Being_Processed)MOV(Port,Port_Data.Data_Transfer[185])MOV(0,Port_Data.Data_Transfer[187])MOV(25,Port_Data.Data_Transfer[188])MOV(32,Port_Data.Data_Transfer[189])OTL(Port_Data.Port_Read.[Port])OTL(Local_Control.4);]]>
</Text>
</Rung>
<Rung Number="24" Type="N">
<Text>
<![CDATA[XIC(Local_Control.5)XIO(Local_Control.6)EQU(T30RKU.Command,5)MOV(32,T30RKU.Write_Data.Function_Tag.LEN)CPS(Port_Data.Data_Transfer[0],T30RKU.Write_Data.Function_Tag.DATA[0],32)OTU(Port_Data.Port_Read.[Port])OTL(Local_Control.6);]]>
</Text>
</Rung>
<Rung Number="25" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="26" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls reading of the Location Tag parameter (index 26).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIO(Command_Being_Processed)XIO(Local_Control.4)EQU(T30RKU.Command,6)OTL(Command_Being_Processed)MOV(Port,Port_Data.Data_Transfer[185])MOV(0,Port_Data.Data_Transfer[187])MOV(26,Port_Data.Data_Transfer[188])MOV(32,Port_Data.Data_Transfer[189])OTL(Port_Data.Port_Read.[Port])OTL(Local_Control.4);]]>
</Text>
</Rung>
<Rung Number="27" Type="N">
<Text>
<![CDATA[XIC(Local_Control.5)XIO(Local_Control.6)EQU(T30RKU.Command,6)MOV(32,T30RKU.Write_Data.Location_Tag.LEN)CPS(Port_Data.Data_Transfer[0],T30RKU.Write_Data.Location_Tag.DATA[0],32)OTU(Port_Data.Port_Read.[Port])OTL(Local_Control.6);]]>
</Text>
</Rung>
<Rung Number="28" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="29" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls reading of the Teach in Channel parameter (index 58).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIO(Command_Being_Processed)XIO(Local_Control.4)EQU(T30RKU.Command,7)OTL(Command_Being_Processed)MOV(Port,Port_Data.Data_Transfer[185])MOV(0,Port_Data.Data_Transfer[187])MOV(58,Port_Data.Data_Transfer[188])MOV(1,Port_Data.Data_Transfer[189])OTL(Port_Data.Port_Read.[Port])OTL(Local_Control.4);]]>
</Text>
</Rung>
<Rung Number="30" Type="N">
<Text>
<![CDATA[XIC(Local_Control.5)XIO(Local_Control.6)EQU(T30RKU.Command,7)BTD(Port_Data.Data_Transfer[0],0,T30RKU.Write_Data.Teach_in_Channel,0,8)OTU(Port_Data.Port_Read.[Port])OTL(Local_Control.6);]]>
</Text>
</Rung>
<Rung Number="31" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="32" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls reading of the Teach in Status parameter (index 59).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIO(Command_Being_Processed)XIO(Local_Control.4)EQU(T30RKU.Command,8)OTL(Command_Being_Processed)MOV(Port,Port_Data.Data_Transfer[185])MOV(0,Port_Data.Data_Transfer[187])MOV(59,Port_Data.Data_Transfer[188])MOV(1,Port_Data.Data_Transfer[189])OTL(Port_Data.Port_Read.[Port])OTL(Local_Control.4);]]>
</Text>
</Rung>
<Rung Number="33" Type="N">
<Text>
<![CDATA[XIC(Local_Control.5)XIO(Local_Control.6)EQU(T30RKU.Command,8)BTD(Port_Data.Data_Transfer[0],0,T30RKU.Read_Data.Teach_State,0,4)BTD(Port_Data.Data_Transfer[0],4,T30RKU.Read_Data.SP1_TP1,0,1)BTD(Port_Data.Data_Transfer[0],5,T30RKU.Read_Data.SP1_TP2,0,1)BTD(Port_Data.Data_Transfer[0],6,T30RKU.Read_Data.SP2_TP1,0,1)BTD(Port_Data.Data_Transfer[0],7,T30RKU.Read_Data.SP2_TP2,0,1)OTU(Port_Data.Port_Read.[Port])OTL(Local_Control.6);]]>
</Text>
</Rung>
<Rung Number="34" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="35" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls reading of the BDC1 Setpoints parameter (index 60).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIO(Command_Being_Processed)XIO(Local_Control.4)EQU(T30RKU.Command,9)OTL(Command_Being_Processed)MOV(Port,Port_Data.Data_Transfer[185])MOV(0,Port_Data.Data_Transfer[187])MOV(60,Port_Data.Data_Transfer[188])MOV(8,Port_Data.Data_Transfer[189])OTL(Port_Data.Port_Read.[Port])OTL(Local_Control.4);]]>
</Text>
</Rung>
<Rung Number="36" Type="N">
<Text>
<![CDATA[XIC(Local_Control.5)XIO(Local_Control.6)EQU(T30RKU.Command,9)BTD(Port_Data.Data_Transfer[0],0,T30RKU.Write_Data.BDC1_Setpoint_1,24,8)BTD(Port_Data.Data_Transfer[1],0,T30RKU.Write_Data.BDC1_Setpoint_1,16,8)BTD(Port_Data.Data_Transfer[2],0,T30RKU.Write_Data.BDC1_Setpoint_1,8,8)BTD(Port_Data.Data_Transfer[3],0,T30RKU.Write_Data.BDC1_Setpoint_1,0,8)BTD(Port_Data.Data_Transfer[4],0,T30RKU.Write_Data.BDC1_Setpoint_2,24,8)BTD(Port_Data.Data_Transfer[5],0,T30RKU.Write_Data.BDC1_Setpoint_2,16,8)BTD(Port_Data.Data_Transfer[6],0,T30RKU.Write_Data.BDC1_Setpoint_2,8,8)BTD(Port_Data.Data_Transfer[7],0,T30RKU.Write_Data.BDC1_Setpoint_2,0,8)OTU(Port_Data.Port_Read.[Port])OTL(Local_Control.6);]]>
</Text>
</Rung>
<Rung Number="37" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="38" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls reading of the BDC1 Configuration parameter (index 61).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIO(Command_Being_Processed)XIO(Local_Control.4)EQU(T30RKU.Command,10)OTL(Command_Being_Processed)MOV(Port,Port_Data.Data_Transfer[185])MOV(0,Port_Data.Data_Transfer[187])MOV(61,Port_Data.Data_Transfer[188])MOV(4,Port_Data.Data_Transfer[189])OTL(Port_Data.Port_Read.[Port])OTL(Local_Control.4);]]>
</Text>
</Rung>
<Rung Number="39" Type="N">
<Text>
<![CDATA[XIC(Local_Control.5)XIO(Local_Control.6)EQU(T30RKU.Command,10)BTD(Port_Data.Data_Transfer[0],0,T30RKU.Write_Data.BDC1_Switchpoint_Logic,0,8)BTD(Port_Data.Data_Transfer[1],0,T30RKU.Write_Data.BDC1_Mode,0,8)BTD(Port_Data.Data_Transfer[2],0,T30RKU.Write_Data.BDC1_Hysteresis,8,8)BTD(Port_Data.Data_Transfer[3],0,T30RKU.Write_Data.BDC1_Hysteresis,0,8)OTU(Port_Data.Port_Read.[Port])OTL(Local_Control.6);]]>
</Text>
</Rung>
<Rung Number="40" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="41" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls reading of the AO1 Setpoints parameter (index 74).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIO(Command_Being_Processed)XIO(Local_Control.4)EQU(T30RKU.Command,11)OTL(Command_Being_Processed)MOV(Port,Port_Data.Data_Transfer[185])MOV(0,Port_Data.Data_Transfer[187])MOV(74,Port_Data.Data_Transfer[188])MOV(8,Port_Data.Data_Transfer[189])OTL(Port_Data.Port_Read.[Port])OTL(Local_Control.4);]]>
</Text>
</Rung>
<Rung Number="42" Type="N">
<Text>
<![CDATA[XIC(Local_Control.5)XIO(Local_Control.6)EQU(T30RKU.Command,11)BTD(Port_Data.Data_Transfer[0],0,T30RKU.Write_Data.AO1_Setpoint_1,24,8)BTD(Port_Data.Data_Transfer[1],0,T30RKU.Write_Data.AO1_Setpoint_1,16,8)BTD(Port_Data.Data_Transfer[2],0,T30RKU.Write_Data.AO1_Setpoint_1,8,8)BTD(Port_Data.Data_Transfer[3],0,T30RKU.Write_Data.AO1_Setpoint_1,0,8)BTD(Port_Data.Data_Transfer[4],0,T30RKU.Write_Data.AO1_Setpoint_2,24,8)BTD(Port_Data.Data_Transfer[5],0,T30RKU.Write_Data.AO1_Setpoint_2,16,8)BTD(Port_Data.Data_Transfer[6],0,T30RKU.Write_Data.AO1_Setpoint_2,8,8)BTD(Port_Data.Data_Transfer[7],0,T30RKU.Write_Data.AO1_Setpoint_2,0,8)OTU(Port_Data.Port_Read.[Port])OTL(Local_Control.6);]]>
</Text>
</Rung>
<Rung Number="43" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="44" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls reading of the AO1 Configuration parameter (index 75).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIO(Command_Being_Processed)XIO(Local_Control.4)EQU(T30RKU.Command,12)OTL(Command_Being_Processed)MOV(Port,Port_Data.Data_Transfer[185])MOV(0,Port_Data.Data_Transfer[187])MOV(75,Port_Data.Data_Transfer[188])MOV(4,Port_Data.Data_Transfer[189])OTL(Port_Data.Port_Read.[Port])OTL(Local_Control.4);]]>
</Text>
</Rung>
<Rung Number="45" Type="N">
<Text>
<![CDATA[XIC(Local_Control.5)XIO(Local_Control.6)EQU(T30RKU.Command,12)BTD(Port_Data.Data_Transfer[0],0,T30RKU.Write_Data.AO1_Average,0,8)BTD(Port_Data.Data_Transfer[1],0,T30RKU.Write_Data.AO1_Loss_of_Signal,0,8)BTD(Port_Data.Data_Transfer[2],0,T30RKU.Write_Data.AO1_Slope,0,8)BTD(Port_Data.Data_Transfer[3],0,T30RKU.Write_Data.AO1_Output_Type,0,8)OTU(Port_Data.Port_Read.[Port])OTL(Local_Control.6);]]>
</Text>
</Rung>
<Rung Number="46" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="47" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls reading of the Configuration parameter (index 64).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIO(Command_Being_Processed)XIO(Local_Control.4)EQU(T30RKU.Command,13)OTL(Command_Being_Processed)MOV(Port,Port_Data.Data_Transfer[185])MOV(0,Port_Data.Data_Transfer[187])MOV(64,Port_Data.Data_Transfer[188])MOV(25,Port_Data.Data_Transfer[189])OTL(Port_Data.Port_Read.[Port])OTL(Local_Control.4);]]>
</Text>
</Rung>
<Rung Number="48" Type="N">
<Text>
<![CDATA[XIC(Local_Control.5)XIO(Local_Control.6)EQU(T30RKU.Command,13)BTD(Port_Data.Data_Transfer[0],0,T30RKU.Write_Data.Limit_Filter_Negative_Distance,24,8)BTD(Port_Data.Data_Transfer[1],0,T30RKU.Write_Data.Limit_Filter_Negative_Distance,16,8)BTD(Port_Data.Data_Transfer[2],0,T30RKU.Write_Data.Limit_Filter_Negative_Distance,8,8)BTD(Port_Data.Data_Transfer[3],0,T30RKU.Write_Data.Limit_Filter_Negative_Distance,0,8)BTD(Port_Data.Data_Transfer[4],0,T30RKU.Write_Data.Limit_Filter_Positive_Distance,24,8)BTD(Port_Data.Data_Transfer[5],0,T30RKU.Write_Data.Limit_Filter_Positive_Distance,16,8)BTD(Port_Data.Data_Transfer[6],0,T30RKU.Write_Data.Limit_Filter_Positive_Distance,8,8)BTD(Port_Data.Data_Transfer[7],0,T30RKU.Write_Data.Limit_Filter_Positive_Distance,0,8)BTD(Port_Data.Data_Transfer[8],0,T30RKU.Write_Data.Limit_Filter_Hold_Time,24,8)BTD(Port_Data.Data_Transfer[9],0,T30RKU.Write_Data.Limit_Filter_Hold_Time,16,8)BTD(Port_Data.Data_Transfer[10],0,T30RKU.Write_Data.Limit_Filter_Hold_Time,8,8)BTD(Port_Data.Data_Transfer[11],0,T30RKU.Write_Data.Limit_Filter_Hold_Time,0,8)BTD(Port_Data.Data_Transfer[12],0,T30RKU.Write_Data.Limit_Filter_Enabled,0,8)BTD(Port_Data.Data_Transfer[13],0,T30RKU.Write_Data.Amplitude_Threshold,24,8)BTD(Port_Data.Data_Transfer[14],0,T30RKU.Write_Data.Amplitude_Threshold,16,8)BTD(Port_Data.Data_Transfer[15],0,T30RKU.Write_Data.Amplitude_Threshold,8,8)BTD(Port_Data.Data_Transfer[16],0,T30RKU.Write_Data.Amplitude_Threshold,0,8)BTD(Port_Data.Data_Transfer[17],0,T30RKU.Write_Data.Remote_Input_Mode,0,8)BTD(Port_Data.Data_Transfer[18],0,T30RKU.Write_Data.Process_Data_Layout,0,8)BTD(Port_Data.Data_Transfer[19],0,T30RKU.Write_Data.Process_Data_Filter_Time,8,8)BTD(Port_Data.Data_Transfer[20],0,T30RKU.Write_Data.Process_Data_Filter_Time,0,8)BTD(Port_Data.Data_Transfer[21],0,T30RKU.Write_Data.Output_Polarity,0,8)BTD(Port_Data.Data_Transfer[22],0,T30RKU.Write_Data.Sensor_Lockout,0,8)BTD(Port_Data.Data_Transfer[23],0,T30RKU.Write_Data.Peak_Select_Mode,0,8)BTD(Port_Data.Data_Transfer[24],0,T30RKU.Write_Data.Response_Speed,0,8)OTU(Port_Data.Port_Read.[Port])OTL(Local_Control.6);]]>
</Text>
</Rung>
<Rung Number="49" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="50" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls reading of the BDC1 Vendor Specific Configuration parameter (index 65).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIO(Command_Being_Processed)XIO(Local_Control.4)EQU(T30RKU.Command,14)OTL(Command_Being_Processed)MOV(Port,Port_Data.Data_Transfer[185])MOV(0,Port_Data.Data_Transfer[187])MOV(65,Port_Data.Data_Transfer[188])MOV(12,Port_Data.Data_Transfer[189])OTL(Port_Data.Port_Read.[Port])OTL(Local_Control.4);]]>
</Text>
</Rung>
<Rung Number="51" Type="N">
<Text>
<![CDATA[XIC(Local_Control.5)XIO(Local_Control.6)EQU(T30RKU.Command,14)BTD(Port_Data.Data_Transfer[0],0,T30RKU.Write_Data.BDC1_Teach_Offset,24,8)BTD(Port_Data.Data_Transfer[1],0,T30RKU.Write_Data.BDC1_Teach_Offset,16,8)BTD(Port_Data.Data_Transfer[2],0,T30RKU.Write_Data.BDC1_Teach_Offset,8,8)BTD(Port_Data.Data_Transfer[3],0,T30RKU.Write_Data.BDC1_Teach_Offset,0,8)BTD(Port_Data.Data_Transfer[4],0,T30RKU.Write_Data.BDC1_Delay_Timer_2,24,8)BTD(Port_Data.Data_Transfer[5],0,T30RKU.Write_Data.BDC1_Delay_Timer_2,16,8)BTD(Port_Data.Data_Transfer[6],0,T30RKU.Write_Data.BDC1_Delay_Timer_2,8,8)BTD(Port_Data.Data_Transfer[7],0,T30RKU.Write_Data.BDC1_Delay_Timer_2,0,8)BTD(Port_Data.Data_Transfer[8],0,T30RKU.Write_Data.BDC1_Delay_Timer_1,24,8)BTD(Port_Data.Data_Transfer[9],0,T30RKU.Write_Data.BDC1_Delay_Timer_1,16,8)BTD(Port_Data.Data_Transfer[10],0,T30RKU.Write_Data.BDC1_Delay_Timer_1,8,8)BTD(Port_Data.Data_Transfer[11],0,T30RKU.Write_Data.BDC1_Delay_Timer_1,0,8)OTU(Port_Data.Port_Read.[Port])OTL(Local_Control.6);]]>
</Text>
</Rung>
<Rung Number="52" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="53" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Not Used
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIO(Command_Being_Processed)XIO(Local_Control.4)EQU(T30RKU.Command,15)OTL(Local_Control.6);]]>
</Text>
</Rung>
<Rung Number="54" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="55" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls reading of the Status parameter (index 67).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIO(Command_Being_Processed)XIO(Local_Control.4)EQU(T30RKU.Command,16)OTL(Command_Being_Processed)MOV(Port,Port_Data.Data_Transfer[185])MOV(0,Port_Data.Data_Transfer[187])MOV(67,Port_Data.Data_Transfer[188])MOV(22,Port_Data.Data_Transfer[189])OTL(Port_Data.Port_Read.[Port])OTL(Local_Control.4);]]>
</Text>
</Rung>
<Rung Number="56" Type="N">
<Text>
<![CDATA[XIC(Local_Control.5)XIO(Local_Control.6)EQU(T30RKU.Command,16)BTD(Port_Data.Data_Transfer[0],0,T30RKU.Read_Data.Last_Taught_Temperature,24,8)BTD(Port_Data.Data_Transfer[1],0,T30RKU.Read_Data.Last_Taught_Temperature,16,8)BTD(Port_Data.Data_Transfer[2],0,T30RKU.Read_Data.Last_Taught_Temperature,8,8)BTD(Port_Data.Data_Transfer[3],0,T30RKU.Read_Data.Last_Taught_Temperature,0,8)BTD(Port_Data.Data_Transfer[4],0,T30RKU.Read_Data.Temperature,24,8)BTD(Port_Data.Data_Transfer[5],0,T30RKU.Read_Data.Temperature,16,8)BTD(Port_Data.Data_Transfer[6],0,T30RKU.Read_Data.Temperature,8,8)BTD(Port_Data.Data_Transfer[7],0,T30RKU.Read_Data.Temperature,0,8)BTD(Port_Data.Data_Transfer[8],0,T30RKU.Read_Data.Analog_Output_Value,24,8)BTD(Port_Data.Data_Transfer[9],0,T30RKU.Read_Data.Analog_Output_Value,16,8)BTD(Port_Data.Data_Transfer[10],0,T30RKU.Read_Data.Analog_Output_Value,8,8)BTD(Port_Data.Data_Transfer[11],0,T30RKU.Read_Data.Analog_Output_Value,0,8)BTD(Port_Data.Data_Transfer[12],0,T30RKU.Read_Data.Fault_Status,0,8)BTD(Port_Data.Data_Transfer[13],0,T30RKU.Read_Data.Stability,0,8)BTD(Port_Data.Data_Transfer[14],0,T30RKU.Read_Data.Excess_Gain,24,8)BTD(Port_Data.Data_Transfer[15],0,T30RKU.Read_Data.Excess_Gain,16,8)BTD(Port_Data.Data_Transfer[16],0,T30RKU.Read_Data.Excess_Gain,8,8)BTD(Port_Data.Data_Transfer[17],0,T30RKU.Read_Data.Excess_Gain,0,8)BTD(Port_Data.Data_Transfer[18],0,T30RKU.Read_Data.Distance_Meaurement,24,8)BTD(Port_Data.Data_Transfer[19],0,T30RKU.Read_Data.Distance_Meaurement,16,8)BTD(Port_Data.Data_Transfer[20],0,T30RKU.Read_Data.Distance_Meaurement,8,8)BTD(Port_Data.Data_Transfer[21],0,T30RKU.Read_Data.Distance_Meaurement,0,8)OTU(Port_Data.Port_Read.[Port])OTL(Local_Control.6);]]>
</Text>
</Rung>
<Rung Number="57" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="58" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls reading of the All Time Run Time parameter (index 69).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIO(Command_Being_Processed)XIO(Local_Control.4)EQU(T30RKU.Command,17)OTL(Command_Being_Processed)MOV(Port,Port_Data.Data_Transfer[185])MOV(0,Port_Data.Data_Transfer[187])MOV(69,Port_Data.Data_Transfer[188])MOV(4,Port_Data.Data_Transfer[189])OTL(Port_Data.Port_Read.[Port])OTL(Local_Control.4);]]>
</Text>
</Rung>
<Rung Number="59" Type="N">
<Text>
<![CDATA[XIC(Local_Control.5)XIO(Local_Control.6)EQU(T30RKU.Command,17)BTD(Port_Data.Data_Transfer[0],0,T30RKU.Read_Data.All_Time_Run_Time,24,8)BTD(Port_Data.Data_Transfer[1],0,T30RKU.Read_Data.All_Time_Run_Time,16,8)BTD(Port_Data.Data_Transfer[2],0,T30RKU.Read_Data.All_Time_Run_Time,8,8)BTD(Port_Data.Data_Transfer[3],0,T30RKU.Read_Data.All_Time_Run_Time,0,8)OTU(Port_Data.Port_Read.[Port])OTL(Local_Control.6);]]>
</Text>
</Rung>
<Rung Number="60" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="61" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls reading of the Resettable Run Time parameter (index 70).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIO(Command_Being_Processed)XIO(Local_Control.4)EQU(T30RKU.Command,18)OTL(Command_Being_Processed)MOV(Port,Port_Data.Data_Transfer[185])MOV(0,Port_Data.Data_Transfer[187])MOV(70,Port_Data.Data_Transfer[188])MOV(4,Port_Data.Data_Transfer[189])OTL(Port_Data.Port_Read.[Port])OTL(Local_Control.4);]]>
</Text>
</Rung>
<Rung Number="62" Type="N">
<Text>
<![CDATA[XIC(Local_Control.5)XIO(Local_Control.6)EQU(T30RKU.Command,18)BTD(Port_Data.Data_Transfer[0],0,T30RKU.Write_Data.Resettable_Run_Time,24,8)BTD(Port_Data.Data_Transfer[1],0,T30RKU.Write_Data.Resettable_Run_Time,16,8)BTD(Port_Data.Data_Transfer[2],0,T30RKU.Write_Data.Resettable_Run_Time,8,8)BTD(Port_Data.Data_Transfer[3],0,T30RKU.Write_Data.Resettable_Run_Time,0,8)OTU(Port_Data.Port_Read.[Port])OTL(Local_Control.6);]]>
</Text>
</Rung>
<Rung Number="63" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="64" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Not Used
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIO(Command_Being_Processed)XIO(Local_Control.4)EQU(T30RKU.Command,19)OTL(Command_Being_Processed)OTL(Local_Control.6);]]>
</Text>
</Rung>
<Rung Number="65" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="66" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls reading of the All time Run Time Event Time parameter (index 76).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIO(Command_Being_Processed)XIO(Local_Control.4)EQU(T30RKU.Command,20)OTL(Command_Being_Processed)MOV(Port,Port_Data.Data_Transfer[185])MOV(0,Port_Data.Data_Transfer[187])MOV(76,Port_Data.Data_Transfer[188])MOV(4,Port_Data.Data_Transfer[189])OTL(Port_Data.Port_Read.[Port])OTL(Local_Control.4);]]>
</Text>
</Rung>
<Rung Number="67" Type="N">
<Text>
<![CDATA[XIC(Local_Control.5)XIO(Local_Control.6)EQU(T30RKU.Command,20)BTD(Port_Data.Data_Transfer[0],0,T30RKU.Write_Data.All_Time_Run_Time_Event_Time,24,8)BTD(Port_Data.Data_Transfer[1],0,T30RKU.Write_Data.All_Time_Run_Time_Event_Time,16,8)BTD(Port_Data.Data_Transfer[2],0,T30RKU.Write_Data.All_Time_Run_Time_Event_Time,8,8)BTD(Port_Data.Data_Transfer[3],0,T30RKU.Write_Data.All_Time_Run_Time_Event_Time,0,8)OTU(Port_Data.Port_Read.[Port])OTL(Local_Control.6);]]>
</Text>
</Rung>
<Rung Number="68" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="69" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls reading of the Resetable Run Time Event Time parameter (index 77).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIO(Command_Being_Processed)XIO(Local_Control.4)EQU(T30RKU.Command,21)OTL(Command_Being_Processed)MOV(Port,Port_Data.Data_Transfer[185])MOV(0,Port_Data.Data_Transfer[187])MOV(77,Port_Data.Data_Transfer[188])MOV(4,Port_Data.Data_Transfer[189])OTL(Port_Data.Port_Read.[Port])OTL(Local_Control.4);]]>
</Text>
</Rung>
<Rung Number="70" Type="N">
<Text>
<![CDATA[XIC(Local_Control.5)XIO(Local_Control.6)EQU(T30RKU.Command,21)BTD(Port_Data.Data_Transfer[0],0,T30RKU.Write_Data.Resettable_Run_Time_Event_Time,24,8)BTD(Port_Data.Data_Transfer[1],0,T30RKU.Write_Data.Resettable_Run_Time_Event_Time,16,8)BTD(Port_Data.Data_Transfer[2],0,T30RKU.Write_Data.Resettable_Run_Time_Event_Time,8,8)BTD(Port_Data.Data_Transfer[3],0,T30RKU.Write_Data.Resettable_Run_Time_Event_Time,0,8)OTU(Port_Data.Port_Read.[Port])OTL(Local_Control.6);]]>
</Text>
</Rung>
<Rung Number="71" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="72" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls reading of the MDC Descriptor parameter (index 16512 or 16#4080).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIO(Command_Being_Processed)XIO(Local_Control.4)EQU(T30RKU.Command,22)OTL(Command_Being_Processed)MOV(Port,Port_Data.Data_Transfer[185])MOV(16#40,Port_Data.Data_Transfer[187])MOV(16#80,Port_Data.Data_Transfer[188])MOV(11,Port_Data.Data_Transfer[189])OTL(Port_Data.Port_Read.[Port])OTL(Local_Control.4);]]>
</Text>
</Rung>
<Rung Number="73" Type="N">
<Text>
<![CDATA[XIC(Local_Control.5)XIO(Local_Control.6)EQU(T30RKU.Command,22)BTD(Port_Data.Data_Transfer[0],0,T30RKU.Read_Data.MDC_Lower_Limit,24,8)BTD(Port_Data.Data_Transfer[1],0,T30RKU.Read_Data.MDC_Lower_Limit,16,8)BTD(Port_Data.Data_Transfer[2],0,T30RKU.Read_Data.MDC_Lower_Limit,8,8)BTD(Port_Data.Data_Transfer[3],0,T30RKU.Read_Data.MDC_Lower_Limit,0,8)BTD(Port_Data.Data_Transfer[4],0,T30RKU.Read_Data.MDC_Upper_Limit,24,8)BTD(Port_Data.Data_Transfer[5],0,T30RKU.Read_Data.MDC_Upper_Limit,16,8)BTD(Port_Data.Data_Transfer[6],0,T30RKU.Read_Data.MDC_Upper_Limit,8,8)BTD(Port_Data.Data_Transfer[7],0,T30RKU.Read_Data.MDC_Upper_Limit,0,8)BTD(Port_Data.Data_Transfer[8],0,T30RKU.Read_Data.MDC_Unit,8,8)BTD(Port_Data.Data_Transfer[9],0,T30RKU.Read_Data.MDC_Unit,0,8)BTD(Port_Data.Data_Transfer[10],0,T30RKU.Read_Data.MDC_Scale,0,8)OTU(Port_Data.Port_Read.[Port])OTL(Local_Control.6);]]>
</Text>
</Rung>
<Rung Number="74" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="75" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls reading of the Active Sensing Range parameter (index 78).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIO(Command_Being_Processed)XIO(Local_Control.4)EQU(T30RKU.Command,23)OTL(Command_Being_Processed)MOV(Port,Port_Data.Data_Transfer[185])MOV(0,Port_Data.Data_Transfer[187])MOV(78,Port_Data.Data_Transfer[188])MOV(8,Port_Data.Data_Transfer[189])OTL(Port_Data.Port_Read.[Port])OTL(Local_Control.4);]]>
</Text>
</Rung>
<Rung Number="76" Type="N">
<Text>
<![CDATA[XIC(Local_Control.5)XIO(Local_Control.6)EQU(T30RKU.Command,23)BTD(Port_Data.Data_Transfer[0],0,T30RKU.Write_Data.Active_Sensing_Range_Far,24,8)BTD(Port_Data.Data_Transfer[1],0,T30RKU.Write_Data.Active_Sensing_Range_Far,16,8)BTD(Port_Data.Data_Transfer[2],0,T30RKU.Write_Data.Active_Sensing_Range_Far,8,8)BTD(Port_Data.Data_Transfer[3],0,T30RKU.Write_Data.Active_Sensing_Range_Far,0,8)BTD(Port_Data.Data_Transfer[4],0,T30RKU.Write_Data.Active_Sensing_Range_Near,24,8)BTD(Port_Data.Data_Transfer[5],0,T30RKU.Write_Data.Active_Sensing_Range_Near,16,8)BTD(Port_Data.Data_Transfer[6],0,T30RKU.Write_Data.Active_Sensing_Range_Near,8,8)BTD(Port_Data.Data_Transfer[7],0,T30RKU.Write_Data.Active_Sensing_Range_Near,0,8)OTU(Port_Data.Port_Read.[Port])OTL(Local_Control.6);]]>
</Text>
</Rung>
<Rung Number="77" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="78" Type="N">
<Comment>
<![CDATA[Check all Write parameters to see if they need to be updated.]]>
</Comment>
<Text>
<![CDATA[XIC(T30RKU.Initial_Global_Read)XIO(Local_Control.0)XIO(Index_Write_Control.0)XIO(Update_Archive)NEQ(T30RKU.Write_Data.System_Command,T30RKU.Archive.System_Command)OTL(Index_Write_Inprocess.0)XIO(Command_Being_Processed)EQU(T30RKU.Command,0)MOV(42,T30RKU.Command)OTL(Index_Write_Control.0);]]>
</Text>
</Rung>
<Rung Number="79" Type="N">
<Text>
<![CDATA[XIC(T30RKU.Initial_Global_Read)XIO(Local_Control.0)XIO(Index_Write_Control.1)XIO(Update_Archive)[NEQ(T30RKU.Write_Data.Parameter_Access_Lock,T30RKU.Archive.Parameter_Access_Lock) ,NEQ(T30RKU.Write_Data.Data_Storage_Lock,T30RKU.Archive.Data_Storage_Lock) ,NEQ(T30RKU.Write_Data.Local_Parameterization_Lock,T30RKU.Archive.Local_Parameterization_Lock) ,NEQ(T30RKU.Write_Data.Local_User_Interface_Lock,T30RKU.Archive.Local_User_Interface_Lock) ]OTL(Index_Write_Inprocess.1)XIO(Command_Being_Processed)EQU(T30RKU.Command,0)MOV(43,T30RKU.Command)OTL(Index_Write_Control.1);]]>
</Text>
</Rung>
<Rung Number="80" Type="N">
<Text>
<![CDATA[XIC(T30RKU.Initial_Global_Read)XIO(Local_Control.0)XIO(Index_Write_Control.2)XIO(Update_Archive)NEQ(T30RKU.Write_Data.Function_Tag,T30RKU.Archive.Function_Tag)OTL(Index_Write_Inprocess.2)XIO(Command_Being_Processed)EQU(T30RKU.Command,0)MOV(44,T30RKU.Command)OTL(Index_Write_Control.2);]]>
</Text>
</Rung>
<Rung Number="81" Type="N">
<Text>
<![CDATA[XIC(T30RKU.Initial_Global_Read)XIO(Local_Control.0)XIO(Index_Write_Control.3)XIO(Update_Archive)NEQ(T30RKU.Write_Data.Location_Tag,T30RKU.Archive.Location_Tag)OTL(Index_Write_Inprocess.3)XIO(Command_Being_Processed)EQU(T30RKU.Command,0)MOV(45,T30RKU.Command)OTL(Index_Write_Control.3);]]>
</Text>
</Rung>
<Rung Number="82" Type="N">
<Text>
<![CDATA[XIC(T30RKU.Initial_Global_Read)XIO(Local_Control.0)XIO(Index_Write_Control.4)XIO(Update_Archive)NEQ(T30RKU.Write_Data.Teach_in_Channel,T30RKU.Archive.Teach_in_Channel)OTL(Index_Write_Inprocess.4)XIO(Command_Being_Processed)EQU(T30RKU.Command,0)MOV(46,T30RKU.Command)OTL(Index_Write_Control.4);]]>
</Text>
</Rung>
<Rung Number="83" Type="N">
<Text>
<![CDATA[XIC(T30RKU.Initial_Global_Read)XIO(Local_Control.0)XIO(Index_Write_Control.5)XIO(Update_Archive)[NEQ(T30RKU.Write_Data.BDC1_Setpoint_1,T30RKU.Archive.BDC1_Setpoint_1) ,NEQ(T30RKU.Write_Data.BDC1_Setpoint_2,T30RKU.Archive.BDC1_Setpoint_2) ]OTL(Index_Write_Inprocess.5)XIO(Command_Being_Processed)EQU(T30RKU.Command,0)MOV(47,T30RKU.Command)OTL(Index_Write_Control.5);]]>
</Text>
</Rung>
<Rung Number="84" Type="N">
<Text>
<![CDATA[XIC(T30RKU.Initial_Global_Read)XIO(Local_Control.0)XIO(Index_Write_Control.6)XIO(Update_Archive)[NEQ(T30RKU.Write_Data.BDC1_Switchpoint_Logic,T30RKU.Archive.BDC1_Switchpoint_Logic) ,NEQ(T30RKU.Write_Data.BDC1_Mode,T30RKU.Archive.BDC1_Mode) ,NEQ(T30RKU.Write_Data.BDC1_Hysteresis,T30RKU.Archive.BDC1_Hysteresis) ]OTL(Index_Write_Inprocess.6)XIO(Command_Being_Processed)EQU(T30RKU.Command,0)MOV(48,T30RKU.Command)OTL(Index_Write_Control.6);]]>
</Text>
</Rung>
<Rung Number="85" Type="N">
<Text>
<![CDATA[XIC(T30RKU.Initial_Global_Read)XIO(Local_Control.0)XIO(Index_Write_Control.7)XIO(Update_Archive)[NEQ(T30RKU.Write_Data.AO1_Setpoint_1,T30RKU.Archive.AO1_Setpoint_1) ,NEQ(T30RKU.Write_Data.AO1_Setpoint_2,T30RKU.Archive.AO1_Setpoint_2) ]OTL(Index_Write_Inprocess.7)XIO(Command_Being_Processed)EQU(T30RKU.Command,0)MOV(49,T30RKU.Command)OTL(Index_Write_Control.7);]]>
</Text>
</Rung>
<Rung Number="86" Type="N">
<Text>
<![CDATA[XIC(T30RKU.Initial_Global_Read)XIO(Local_Control.0)XIO(Index_Write_Control.8)XIO(Update_Archive)[NEQ(T30RKU.Write_Data.AO1_Output_Type,T30RKU.Archive.AO1_Output_Type) ,NEQ(T30RKU.Write_Data.AO1_Slope,T30RKU.Archive.AO1_Slope) ,NEQ(T30RKU.Write_Data.AO1_Loss_of_Signal,T30RKU.Archive.AO1_Loss_of_Signal) ,NEQ(T30RKU.Write_Data.AO1_Average,T30RKU.Archive.AO1_Average) ]OTL(Index_Write_Inprocess.8)XIO(Command_Being_Processed)EQU(T30RKU.Command,0)MOV(50,T30RKU.Command)OTL(Index_Write_Control.8);]]>
</Text>
</Rung>
<Rung Number="87" Type="N">
<Text>
<![CDATA[XIC(T30RKU.Initial_Global_Read)XIO(Local_Control.0)XIO(Index_Write_Control.9)XIO(Update_Archive)[NEQ(T30RKU.Write_Data.Response_Speed,T30RKU.Archive.Response_Speed) ,NEQ(T30RKU.Write_Data.Peak_Select_Mode,T30RKU.Archive.Peak_Select_Mode) ,NEQ(T30RKU.Write_Data.Sensor_Lockout,T30RKU.Archive.Sensor_Lockout) ,NEQ(T30RKU.Write_Data.Output_Polarity,T30RKU.Archive.Output_Polarity) ,NEQ(T30RKU.Write_Data.Process_Data_Filter_Time,T30RKU.Archive.Process_Data_Filter_Time) ,NEQ(T30RKU.Write_Data.Process_Data_Layout,T30RKU.Archive.Process_Data_Layout) ,NEQ(T30RKU.Write_Data.Remote_Input_Mode,T30RKU.Archive.Remote_Input_Mode) ,NEQ(T30RKU.Write_Data.Amplitude_Threshold,T30RKU.Archive.Amplitude_Threshold) ,NEQ(T30RKU.Write_Data.Limit_Filter_Enabled,T30RKU.Archive.Limit_Filter_Enabled) ,NEQ(T30RKU.Write_Data.Limit_Filter_Hold_Time,T30RKU.Archive.Limit_Filter_Hold_Time) ,NEQ(T30RKU.Write_Data.Limit_Filter_Positive_Distance,T30RKU.Archive.Limit_Filter_Positive_Distance) ,NEQ(T30RKU.Write_Data.Limit_Filter_Negative_Distance,T30RKU.Archive.Limit_Filter_Negative_Distance) ]OTL(Index_Write_Inprocess.9)XIO(Command_Being_Processed)EQU(T30RKU.Command,0)MOV(51,T30RKU.Command)OTL(Index_Write_Control.9);]]>
</Text>
</Rung>
<Rung Number="88" Type="N">
<Text>
<![CDATA[XIC(T30RKU.Initial_Global_Read)XIO(Local_Control.0)XIO(Index_Write_Control.10)XIO(Update_Archive)[NEQ(T30RKU.Write_Data.BDC1_Delay_Timer_1,T30RKU.Archive.BDC1_Delay_Timer_1) ,NEQ(T30RKU.Write_Data.BDC1_Delay_Timer_2,T30RKU.Archive.BDC1_Delay_Timer_2) ,NEQ(T30RKU.Write_Data.BDC1_Teach_Offset,T30RKU.Archive.BDC1_Teach_Offset) ]OTL(Index_Write_Inprocess.10)XIO(Command_Being_Processed)EQU(T30RKU.Command,0)MOV(52,T30RKU.Command)OTL(Index_Write_Control.10);]]>
</Text>
</Rung>
<Rung Number="89" Type="N">
<Text>
<![CDATA[XIC(T30RKU.Initial_Global_Read)XIO(Local_Control.0)XIO(Index_Write_Control.12)XIO(Update_Archive)NEQ(T30RKU.Write_Data.Resettable_Run_Time,T30RKU.Archive.Resettable_Run_Time)OTL(Index_Write_Inprocess.12)XIO(Command_Being_Processed)EQU(T30RKU.Command,0)MOV(54,T30RKU.Command)OTL(Index_Write_Control.12);]]>
</Text>
</Rung>
<Rung Number="90" Type="N">
<Text>
<![CDATA[XIC(T30RKU.Initial_Global_Read)XIO(Local_Control.0)XIO(Index_Write_Control.14)XIO(Update_Archive)NEQ(T30RKU.Write_Data.All_Time_Run_Time_Event_Time,T30RKU.Archive.All_Time_Run_Time_Event_Time)OTL(Index_Write_Inprocess.14)XIO(Command_Being_Processed)EQU(T30RKU.Command,0)MOV(56,T30RKU.Command)OTL(Index_Write_Control.14);]]>
</Text>
</Rung>
<Rung Number="91" Type="N">
<Text>
<![CDATA[XIC(T30RKU.Initial_Global_Read)XIO(Local_Control.0)XIO(Index_Write_Control.15)XIO(Update_Archive)NEQ(T30RKU.Write_Data.Resettable_Run_Time_Event_Time,T30RKU.Archive.Resettable_Run_Time_Event_Time)OTL(Index_Write_Inprocess.15)XIO(Command_Being_Processed)EQU(T30RKU.Command,0)MOV(57,T30RKU.Command)OTL(Index_Write_Control.15);]]>
</Text>
</Rung>
<Rung Number="92" Type="N">
<Text>
<![CDATA[XIC(T30RKU.Initial_Global_Read)XIO(Local_Control.0)XIO(Index_Write_Control.16)XIO(Update_Archive)[NEQ(T30RKU.Write_Data.Active_Sensing_Range_Near,T30RKU.Archive.Active_Sensing_Range_Near) ,NEQ(T30RKU.Write_Data.Active_Sensing_Range_Far,T30RKU.Archive.Active_Sensing_Range_Far) ]OTL(Index_Write_Inprocess.16)XIO(Command_Being_Processed)EQU(T30RKU.Command,0)MOV(58,T30RKU.Command)OTL(Index_Write_Control.16);]]>
</Text>
</Rung>
<Rung Number="93" Type="N">
<Comment>
<![CDATA[Wait until all automatic write updates are complete.  Request Archive update.]]>
</Comment>
<Text>
<![CDATA[GRT(Index_Write_Control,0)EQU(Index_Write_Inprocess,0)MOV(0,Index_Write_Control)OTL(Update_Archive);]]>
</Text>
</Rung>
<Rung Number="94" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="95" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls writing of the Standard Command parameter (index 2).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIC(T30RKU.Initial_Global_Read)XIO(Command_Being_Processed)XIO(Local_Control.11)EQU(T30RKU.Command,42)OTL(Command_Being_Processed)BTD(T30RKU.Write_Data.System_Command,0,Port_Data.Data_Transfer[0],0,8)MOV(Port,Port_Data.Data_Transfer[185])MOV(0,Port_Data.Data_Transfer[187])MOV(2,Port_Data.Data_Transfer[188])MOV(1,Port_Data.Data_Transfer[189])MOV(0,Inprocess_Index)OTL(Port_Data.Port_Write.[Port])OTL(Local_Control.11);]]>
</Text>
</Rung>
<Rung Number="96" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="97" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls writing of the Device Access Locks parameter (index 12).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIC(T30RKU.Initial_Global_Read)XIO(Command_Being_Processed)XIO(Local_Control.11)EQU(T30RKU.Command,43)OTL(Command_Being_Processed)MOV(0,Port_Data.Data_Transfer[0])MOV(0,Port_Data.Data_Transfer[1])BTD(T30RKU.Write_Data.Parameter_Access_Lock,0,Port_Data.Data_Transfer[1],0,1)BTD(T30RKU.Write_Data.Data_Storage_Lock,0,Port_Data.Data_Transfer[1],1,1)BTD(T30RKU.Write_Data.Local_Parameterization_Lock,0,Port_Data.Data_Transfer[1],2,1)BTD(T30RKU.Write_Data.Local_User_Interface_Lock,0,Port_Data.Data_Transfer[1],3,1)MOV(Port,Port_Data.Data_Transfer[185])MOV(0,Port_Data.Data_Transfer[187])MOV(12,Port_Data.Data_Transfer[188])MOV(2,Port_Data.Data_Transfer[189])MOV(1,Inprocess_Index)OTL(Port_Data.Port_Write.[Port])OTL(Local_Control.11);]]>
</Text>
</Rung>
<Rung Number="98" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="99" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls writing of the Function Tag parameter (index 25).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIC(T30RKU.Initial_Global_Read)XIO(Command_Being_Processed)XIO(Local_Control.11)EQU(T30RKU.Command,44)OTL(Command_Being_Processed)MOV(0,Port_Data.Data_Transfer[0])MOV(0,Port_Data.Data_Transfer[1])CPS(T30RKU.Write_Data.Function_Tag.DATA[0],Port_Data.Data_Transfer[0],T30RKU.Write_Data.Function_Tag.LEN)MOV(Port,Port_Data.Data_Transfer[185])MOV(0,Port_Data.Data_Transfer[187])MOV(25,Port_Data.Data_Transfer[188])MOV(T30RKU.Write_Data.Function_Tag.LEN,Port_Data.Data_Transfer[189])MOV(2,Inprocess_Index)OTL(Port_Data.Port_Write.[Port])OTL(Local_Control.11);]]>
</Text>
</Rung>
<Rung Number="100" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="101" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls writing of the Location Tag parameter (index 26).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIC(T30RKU.Initial_Global_Read)XIO(Command_Being_Processed)XIO(Local_Control.11)EQU(T30RKU.Command,45)OTL(Command_Being_Processed)MOV(0,Port_Data.Data_Transfer[0])MOV(0,Port_Data.Data_Transfer[1])CPS(T30RKU.Write_Data.Location_Tag.DATA[0],Port_Data.Data_Transfer[0],T30RKU.Write_Data.Location_Tag.LEN)MOV(Port,Port_Data.Data_Transfer[185])MOV(0,Port_Data.Data_Transfer[187])MOV(26,Port_Data.Data_Transfer[188])MOV(T30RKU.Write_Data.Location_Tag.LEN,Port_Data.Data_Transfer[189])MOV(3,Inprocess_Index)OTL(Port_Data.Port_Write.[Port])OTL(Local_Control.11);]]>
</Text>
</Rung>
<Rung Number="102" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="103" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls writing of the Teach in Channel parameter (index 58).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIC(T30RKU.Initial_Global_Read)XIO(Command_Being_Processed)XIO(Local_Control.11)EQU(T30RKU.Command,46)OTL(Command_Being_Processed)MOV(0,Port_Data.Data_Transfer[0])MOV(0,Port_Data.Data_Transfer[1])BTD(T30RKU.Write_Data.Teach_in_Channel,0,Port_Data.Data_Transfer[0],0,8)MOV(Port,Port_Data.Data_Transfer[185])MOV(0,Port_Data.Data_Transfer[187])MOV(58,Port_Data.Data_Transfer[188])MOV(1,Port_Data.Data_Transfer[189])MOV(4,Inprocess_Index)OTL(Port_Data.Port_Write.[Port])OTL(Local_Control.11);]]>
</Text>
</Rung>
<Rung Number="104" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="105" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls writing of the BDC1 Setpoints parameter (index 60).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIC(T30RKU.Initial_Global_Read)XIO(Command_Being_Processed)XIO(Local_Control.11)EQU(T30RKU.Command,47)OTL(Command_Being_Processed)MOV(0,Port_Data.Data_Transfer[0])MOV(0,Port_Data.Data_Transfer[1])BTD(T30RKU.Write_Data.BDC1_Setpoint_1,24,Port_Data.Data_Transfer[0],0,8)BTD(T30RKU.Write_Data.BDC1_Setpoint_1,16,Port_Data.Data_Transfer[1],0,8)BTD(T30RKU.Write_Data.BDC1_Setpoint_1,8,Port_Data.Data_Transfer[2],0,8)BTD(T30RKU.Write_Data.BDC1_Setpoint_1,0,Port_Data.Data_Transfer[3],0,8)BTD(T30RKU.Write_Data.BDC1_Setpoint_2,24,Port_Data.Data_Transfer[4],0,8)BTD(T30RKU.Write_Data.BDC1_Setpoint_2,16,Port_Data.Data_Transfer[5],0,8)BTD(T30RKU.Write_Data.BDC1_Setpoint_2,8,Port_Data.Data_Transfer[6],0,8)BTD(T30RKU.Write_Data.BDC1_Setpoint_2,0,Port_Data.Data_Transfer[7],0,8)MOV(Port,Port_Data.Data_Transfer[185])MOV(0,Port_Data.Data_Transfer[187])MOV(60,Port_Data.Data_Transfer[188])MOV(8,Port_Data.Data_Transfer[189])MOV(5,Inprocess_Index)OTL(Port_Data.Port_Write.[Port])OTL(Local_Control.11);]]>
</Text>
</Rung>
<Rung Number="106" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="107" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls writing of the BDC1 Configuration parameter (index 61).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIC(T30RKU.Initial_Global_Read)XIO(Command_Being_Processed)XIO(Local_Control.11)EQU(T30RKU.Command,48)OTL(Command_Being_Processed)BTD(T30RKU.Write_Data.BDC1_Switchpoint_Logic,0,Port_Data.Data_Transfer[0],0,8)BTD(T30RKU.Write_Data.BDC1_Mode,0,Port_Data.Data_Transfer[1],0,8)BTD(T30RKU.Write_Data.BDC1_Hysteresis,8,Port_Data.Data_Transfer[2],0,8)BTD(T30RKU.Write_Data.BDC1_Hysteresis,0,Port_Data.Data_Transfer[3],0,8)MOV(Port,Port_Data.Data_Transfer[185])MOV(0,Port_Data.Data_Transfer[187])MOV(61,Port_Data.Data_Transfer[188])MOV(4,Port_Data.Data_Transfer[189])MOV(6,Inprocess_Index)OTL(Port_Data.Port_Write.[Port])OTL(Local_Control.11);]]>
</Text>
</Rung>
<Rung Number="108" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="109" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls writing of the AO1 Setpoints parameter (index 74).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIC(T30RKU.Initial_Global_Read)XIO(Command_Being_Processed)XIO(Local_Control.11)EQU(T30RKU.Command,49)OTL(Command_Being_Processed)MOV(0,Port_Data.Data_Transfer[0])MOV(0,Port_Data.Data_Transfer[1])BTD(T30RKU.Write_Data.AO1_Setpoint_1,24,Port_Data.Data_Transfer[0],0,8)BTD(T30RKU.Write_Data.AO1_Setpoint_1,16,Port_Data.Data_Transfer[1],0,8)BTD(T30RKU.Write_Data.AO1_Setpoint_1,8,Port_Data.Data_Transfer[2],0,8)BTD(T30RKU.Write_Data.AO1_Setpoint_1,0,Port_Data.Data_Transfer[3],0,8)BTD(T30RKU.Write_Data.AO1_Setpoint_2,24,Port_Data.Data_Transfer[4],0,8)BTD(T30RKU.Write_Data.AO1_Setpoint_2,16,Port_Data.Data_Transfer[5],0,8)BTD(T30RKU.Write_Data.AO1_Setpoint_2,8,Port_Data.Data_Transfer[6],0,8)BTD(T30RKU.Write_Data.AO1_Setpoint_2,0,Port_Data.Data_Transfer[7],0,8)MOV(Port,Port_Data.Data_Transfer[185])MOV(0,Port_Data.Data_Transfer[187])MOV(74,Port_Data.Data_Transfer[188])MOV(8,Port_Data.Data_Transfer[189])MOV(7,Inprocess_Index)OTL(Port_Data.Port_Write.[Port])OTL(Local_Control.11);]]>
</Text>
</Rung>
<Rung Number="110" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="111" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls writing of the AO1 Configuration parameter (index 75).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIC(T30RKU.Initial_Global_Read)XIO(Command_Being_Processed)XIO(Local_Control.11)EQU(T30RKU.Command,50)OTL(Command_Being_Processed)BTD(T30RKU.Write_Data.AO1_Average,0,Port_Data.Data_Transfer[0],0,8)BTD(T30RKU.Write_Data.AO1_Loss_of_Signal,0,Port_Data.Data_Transfer[1],0,8)BTD(T30RKU.Write_Data.AO1_Slope,0,Port_Data.Data_Transfer[2],0,8)BTD(T30RKU.Write_Data.AO1_Output_Type,0,Port_Data.Data_Transfer[3],0,8)MOV(Port,Port_Data.Data_Transfer[185])MOV(0,Port_Data.Data_Transfer[187])MOV(75,Port_Data.Data_Transfer[188])MOV(4,Port_Data.Data_Transfer[189])MOV(8,Inprocess_Index)OTL(Port_Data.Port_Write.[Port])OTL(Local_Control.11);]]>
</Text>
</Rung>
<Rung Number="112" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="113" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls writing of the Configuration parameter (index 64).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIC(T30RKU.Initial_Global_Read)XIO(Command_Being_Processed)XIO(Local_Control.11)EQU(T30RKU.Command,51)OTL(Command_Being_Processed)BTD(T30RKU.Write_Data.Limit_Filter_Negative_Distance,24,Port_Data.Data_Transfer[0],0,8)BTD(T30RKU.Write_Data.Limit_Filter_Negative_Distance,16,Port_Data.Data_Transfer[1],0,8)BTD(T30RKU.Write_Data.Limit_Filter_Negative_Distance,8,Port_Data.Data_Transfer[2],0,8)BTD(T30RKU.Write_Data.Limit_Filter_Negative_Distance,0,Port_Data.Data_Transfer[3],0,8)BTD(T30RKU.Write_Data.Limit_Filter_Positive_Distance,24,Port_Data.Data_Transfer[4],0,8)BTD(T30RKU.Write_Data.Limit_Filter_Positive_Distance,16,Port_Data.Data_Transfer[5],0,8)BTD(T30RKU.Write_Data.Limit_Filter_Positive_Distance,8,Port_Data.Data_Transfer[6],0,8)BTD(T30RKU.Write_Data.Limit_Filter_Positive_Distance,0,Port_Data.Data_Transfer[7],0,8)BTD(T30RKU.Write_Data.Limit_Filter_Hold_Time,24,Port_Data.Data_Transfer[8],0,8)BTD(T30RKU.Write_Data.Limit_Filter_Hold_Time,16,Port_Data.Data_Transfer[9],0,8)BTD(T30RKU.Write_Data.Limit_Filter_Hold_Time,8,Port_Data.Data_Transfer[10],0,8)BTD(T30RKU.Write_Data.Limit_Filter_Hold_Time,0,Port_Data.Data_Transfer[11],0,8)BTD(T30RKU.Write_Data.Limit_Filter_Enabled,0,Port_Data.Data_Transfer[12],0,8)BTD(T30RKU.Write_Data.Amplitude_Threshold,24,Port_Data.Data_Transfer[13],0,8)BTD(T30RKU.Write_Data.Amplitude_Threshold,16,Port_Data.Data_Transfer[14],0,8)BTD(T30RKU.Write_Data.Amplitude_Threshold,8,Port_Data.Data_Transfer[15],0,8)BTD(T30RKU.Write_Data.Amplitude_Threshold,0,Port_Data.Data_Transfer[16],0,8)BTD(T30RKU.Write_Data.Remote_Input_Mode,0,Port_Data.Data_Transfer[17],0,8)BTD(T30RKU.Write_Data.Process_Data_Layout,0,Port_Data.Data_Transfer[18],0,8)BTD(T30RKU.Write_Data.Process_Data_Filter_Time,8,Port_Data.Data_Transfer[19],0,8)BTD(T30RKU.Write_Data.Process_Data_Filter_Time,0,Port_Data.Data_Transfer[20],0,8)BTD(T30RKU.Write_Data.Output_Polarity,0,Port_Data.Data_Transfer[21],0,8)BTD(T30RKU.Write_Data.Sensor_Lockout,0,Port_Data.Data_Transfer[22],0,8)BTD(T30RKU.Write_Data.Peak_Select_Mode,0,Port_Data.Data_Transfer[23],0,8)BTD(T30RKU.Write_Data.Response_Speed,0,Port_Data.Data_Transfer[24],0,8)MOV(Port,Port_Data.Data_Transfer[185])MOV(0,Port_Data.Data_Transfer[187])MOV(64,Port_Data.Data_Transfer[188])MOV(25,Port_Data.Data_Transfer[189])MOV(9,Inprocess_Index)OTL(Port_Data.Port_Write.[Port])OTL(Local_Control.11);]]>
</Text>
</Rung>
<Rung Number="114" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="115" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls writing of the BDC1 Vendor Specific Configuration parameter (index 65).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIC(T30RKU.Initial_Global_Read)XIO(Command_Being_Processed)XIO(Local_Control.11)EQU(T30RKU.Command,52)OTL(Command_Being_Processed)BTD(T30RKU.Write_Data.BDC1_Teach_Offset,24,Port_Data.Data_Transfer[0],0,8)BTD(T30RKU.Write_Data.BDC1_Teach_Offset,16,Port_Data.Data_Transfer[1],0,8)BTD(T30RKU.Write_Data.BDC1_Teach_Offset,8,Port_Data.Data_Transfer[2],0,8)BTD(T30RKU.Write_Data.BDC1_Teach_Offset,0,Port_Data.Data_Transfer[3],0,8)BTD(T30RKU.Write_Data.BDC1_Delay_Timer_2,24,Port_Data.Data_Transfer[4],0,8)BTD(T30RKU.Write_Data.BDC1_Delay_Timer_2,16,Port_Data.Data_Transfer[5],0,8)BTD(T30RKU.Write_Data.BDC1_Delay_Timer_2,8,Port_Data.Data_Transfer[6],0,8)BTD(T30RKU.Write_Data.BDC1_Delay_Timer_2,0,Port_Data.Data_Transfer[7],0,8)BTD(T30RKU.Write_Data.BDC1_Delay_Timer_1,24,Port_Data.Data_Transfer[8],0,8)BTD(T30RKU.Write_Data.BDC1_Delay_Timer_1,16,Port_Data.Data_Transfer[9],0,8)BTD(T30RKU.Write_Data.BDC1_Delay_Timer_1,8,Port_Data.Data_Transfer[10],0,8)BTD(T30RKU.Write_Data.BDC1_Delay_Timer_1,0,Port_Data.Data_Transfer[11],0,8)MOV(Port,Port_Data.Data_Transfer[185])MOV(0,Port_Data.Data_Transfer[187])MOV(65,Port_Data.Data_Transfer[188])MOV(12,Port_Data.Data_Transfer[189])MOV(10,Inprocess_Index)OTL(Port_Data.Port_Write.[Port])OTL(Local_Control.11);]]>
</Text>
</Rung>
<Rung Number="116" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="117" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Not Used
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIC(T30RKU.Initial_Global_Read)XIO(Command_Being_Processed)XIO(Local_Control.11)EQU(T30RKU.Command,53)MOV(11,Inprocess_Index)OTL(Local_Control.12);]]>
</Text>
</Rung>
<Rung Number="118" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="119" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls writing of the Resetable Run Time parameter (index 70).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIC(T30RKU.Initial_Global_Read)XIO(Command_Being_Processed)XIO(Local_Control.11)EQU(T30RKU.Command,54)OTL(Command_Being_Processed)BTD(T30RKU.Write_Data.Resettable_Run_Time,24,Port_Data.Data_Transfer[0],0,8)BTD(T30RKU.Write_Data.Resettable_Run_Time,16,Port_Data.Data_Transfer[1],0,8)BTD(T30RKU.Write_Data.Resettable_Run_Time,8,Port_Data.Data_Transfer[2],0,8)BTD(T30RKU.Write_Data.Resettable_Run_Time,0,Port_Data.Data_Transfer[3],0,8)MOV(Port,Port_Data.Data_Transfer[185])MOV(0,Port_Data.Data_Transfer[187])MOV(70,Port_Data.Data_Transfer[188])MOV(4,Port_Data.Data_Transfer[189])MOV(12,Inprocess_Index)OTL(Port_Data.Port_Write.[Port])OTL(Local_Control.11);]]>
</Text>
</Rung>
<Rung Number="120" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="121" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Not Used
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIC(T30RKU.Initial_Global_Read)XIO(Command_Being_Processed)XIO(Local_Control.11)EQU(T30RKU.Command,55)MOV(13,Inprocess_Index)OTL(Local_Control.12);]]>
</Text>
</Rung>
<Rung Number="122" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="123" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls writing of the All Time Run Time Event Time parameter (index 76).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIC(T30RKU.Initial_Global_Read)XIO(Command_Being_Processed)XIO(Local_Control.11)EQU(T30RKU.Command,56)OTL(Command_Being_Processed)BTD(T30RKU.Write_Data.All_Time_Run_Time_Event_Time,24,Port_Data.Data_Transfer[0],0,8)BTD(T30RKU.Write_Data.All_Time_Run_Time_Event_Time,16,Port_Data.Data_Transfer[1],0,8)BTD(T30RKU.Write_Data.All_Time_Run_Time_Event_Time,8,Port_Data.Data_Transfer[2],0,8)BTD(T30RKU.Write_Data.All_Time_Run_Time_Event_Time,0,Port_Data.Data_Transfer[3],0,8)MOV(Port,Port_Data.Data_Transfer[185])MOV(0,Port_Data.Data_Transfer[187])MOV(76,Port_Data.Data_Transfer[188])MOV(4,Port_Data.Data_Transfer[189])MOV(14,Inprocess_Index)OTL(Port_Data.Port_Write.[Port])OTL(Local_Control.11);]]>
</Text>
</Rung>
<Rung Number="124" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="125" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls writing of the Resetable Run Time Event Time parameter (index 77).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIC(T30RKU.Initial_Global_Read)XIO(Command_Being_Processed)XIO(Local_Control.11)EQU(T30RKU.Command,57)OTL(Command_Being_Processed)BTD(T30RKU.Write_Data.Resettable_Run_Time_Event_Time,24,Port_Data.Data_Transfer[0],0,8)BTD(T30RKU.Write_Data.Resettable_Run_Time_Event_Time,16,Port_Data.Data_Transfer[1],0,8)BTD(T30RKU.Write_Data.Resettable_Run_Time_Event_Time,8,Port_Data.Data_Transfer[2],0,8)BTD(T30RKU.Write_Data.Resettable_Run_Time_Event_Time,0,Port_Data.Data_Transfer[3],0,8)MOV(Port,Port_Data.Data_Transfer[185])MOV(0,Port_Data.Data_Transfer[187])MOV(77,Port_Data.Data_Transfer[188])MOV(4,Port_Data.Data_Transfer[189])MOV(15,Inprocess_Index)OTL(Port_Data.Port_Write.[Port])OTL(Local_Control.11);]]>
</Text>
</Rung>
<Rung Number="126" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="127" Type="N">
<Comment>
<![CDATA[************************************************************************************************************
Section of AOI that controls writing of the Active Sensing Range parameter (index 78).
************************************************************************************************************]]>
</Comment>
<Text>
<![CDATA[XIC(T30RKU.Initial_Global_Read)XIO(Command_Being_Processed)XIO(Local_Control.11)EQU(T30RKU.Command,58)OTL(Command_Being_Processed)BTD(T30RKU.Write_Data.Active_Sensing_Range_Far,24,Port_Data.Data_Transfer[0],0,8)BTD(T30RKU.Write_Data.Active_Sensing_Range_Far,16,Port_Data.Data_Transfer[1],0,8)BTD(T30RKU.Write_Data.Active_Sensing_Range_Far,8,Port_Data.Data_Transfer[2],0,8)BTD(T30RKU.Write_Data.Active_Sensing_Range_Far,0,Port_Data.Data_Transfer[3],0,8)BTD(T30RKU.Write_Data.Active_Sensing_Range_Near,24,Port_Data.Data_Transfer[4],0,8)BTD(T30RKU.Write_Data.Active_Sensing_Range_Near,16,Port_Data.Data_Transfer[5],0,8)BTD(T30RKU.Write_Data.Active_Sensing_Range_Near,8,Port_Data.Data_Transfer[6],0,8)BTD(T30RKU.Write_Data.Active_Sensing_Range_Near,0,Port_Data.Data_Transfer[7],0,8)MOV(Port,Port_Data.Data_Transfer[185])MOV(0,Port_Data.Data_Transfer[187])MOV(78,Port_Data.Data_Transfer[188])MOV(8,Port_Data.Data_Transfer[189])MOV(16,Inprocess_Index)OTL(Port_Data.Port_Write.[Port])OTL(Local_Control.11);]]>
</Text>
</Rung>
<Rung Number="128" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="129" Type="N">
<Comment>
<![CDATA[Global Write Commands]]>
</Comment>
<Text>
<![CDATA[XIC(Local_Control.11)XIO(Local_Control.12)XIC(Port_Data.Port_RW_Complete.[Port])OTU(Port_Data.Port_Write.[Port])OTL(Local_Control.12);]]>
</Text>
</Rung>
<Rung Number="130" Type="N">
<Text>
<![CDATA[XIC(Local_Control.12)XIO(Port_Data.Port_RW_Complete.[Port])MOV(0,T30RKU.Command)OTU(Index_Write_Inprocess.[Inprocess_Index])OTU(Local_Control.3)OTU(Command_Being_Processed)OTU(Local_Control.11)OTU(Local_Control.12);]]>
</Text>
</Rung>
<Rung Number="131" Type="N">
<Text>
<![CDATA[NOP();]]>
</Text>
</Rung>
<Rung Number="132" Type="N">
<Text>
<![CDATA[EQU(Local_Control,0)XIO(Update_Archive)OTU(Port_Data.Port_Activate.[Port]);]]>
</Text>
</Rung>
</RLLContent>
</Routine>
</Routines>
<Dependencies>
<Dependency Type="DataType" Name="Banner_IOL_Port_v4"/>
<Dependency Type="DataType" Name="Banner_T30RKU_v4"/>
</Dependencies>
</AddOnInstructionDefinition>
</AddOnInstructionDefinitions>
</Controller>
</RSLogix5000Content>
