<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<RSLogix5000Content SchemaRevision="1.0" SoftwareRevision="16.03" TargetType="AddOnInstructionDefinition" ContainsContext="true" Owner="TConnolly" ExportDate="Sat Aug 30 13:08:08 2008" ExportOptions="Context">
<Controller Use="Context" Name="Time">
<AddOnInstructionDefinitions Use="Context">
<AddOnInstructionDefinition Use="Target" Name="GetDateTIme" Revision="1.0" ExecutePrescan="false" ExecutePostscan="false" ExecuteEnableInFalse="false" CreatedDate="2008-08-30T18:45:47.218Z" CreatedBy="TConnolly" EditedDate="2008-08-30T19:06:30.718Z" EditedBy="TConnolly" SoftwareRevision="v16.03"
>
<Parameters>
<Parameter Name="Year" DataType="DINT" Usage="Output" Radix="Decimal" Required="false" Visible="true">
<Description>
<![CDATA[WallClockTIme Calendar Year]]>
</Description>
<DefaultData>00 00 00 00</DefaultData>
</Parameter>
<Parameter Name="Month" DataType="DINT" Usage="Output" Radix="Decimal" Required="false" Visible="true">
<Description>
<![CDATA[WallClockTIme Calendar Month]]>
</Description>
<DefaultData>00 00 00 00</DefaultData>
</Parameter>
<Parameter Name="Day" DataType="DINT" Usage="Output" Radix="Decimal" Required="false" Visible="true">
<Description>
<![CDATA[WallClockTIme Calendar Day]]>
</Description>
<DefaultData>00 00 00 00</DefaultData>
</Parameter>
<Parameter Name="Hour" DataType="DINT" Usage="Output" Radix="Decimal" Required="false" Visible="true">
<Description>
<![CDATA[WallClockTime
Hour]]>
</Description>
<DefaultData>00 00 00 00</DefaultData>
</Parameter>
<Parameter Name="Minute" DataType="DINT" Usage="Output" Radix="Decimal" Required="false" Visible="true">
<Description>
<![CDATA[WallClockTIme Minute]]>
</Description>
<DefaultData>00 00 00 00</DefaultData>
</Parameter>
<Parameter Name="Second" DataType="DINT" Usage="Output" Radix="Decimal" Required="false" Visible="true">
<Description>
<![CDATA[WallClockTIme Second]]>
</Description>
<DefaultData>00 00 00 00</DefaultData>
</Parameter>
</Parameters>
<LocalTags>
<LocalTag Name="wct" DataType="DINT" Dimensions="7" Radix="Decimal">
<DefaultData>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00</DefaultData>
</LocalTag>
</LocalTags>
<Routines>
<Routine Name="Logic" Type="ST">
<STContent>
<Line Number="0">
<![CDATA[//AOI - returns the cuttent date and time to individualt instruction outputs for use in FB.]]>
</Line>
<Line Number="1">
<![CDATA[GSV(WallClockTime,,LocalDateTime,wct[0]);]]>
</Line>
<Line Number="2">
<![CDATA[Year:= wct[0];]]>
</Line>
<Line Number="3">
<![CDATA[Month:=wct[1];]]>
</Line>
<Line Number="4">
<![CDATA[Day:=wct[2];]]>
</Line>
<Line Number="5">
<![CDATA[Hour:=wct[3];]]>
</Line>
<Line Number="6">
<![CDATA[Minute:=wct[4];]]>
</Line>
<Line Number="7">
<![CDATA[Second:=wct[5];]]>
</Line>
<Line Number="8">
<![CDATA[]]>
</Line>
</STContent>
</Routine>
</Routines>
</AddOnInstructionDefinition>
</AddOnInstructionDefinitions>
</Controller>
</RSLogix5000Content>