XML Code Start
<!DOCTYPE FBType SYSTEM "
http://www.holobloc.com/xml/
LibraryElement.dtd" >
<FBType Name="Basic" Comment="Basic Function Block Type" >
<Identification Standard="61499-2" />
<VersionInfo Organization="Rockwell Automation" Version="0.2"
Author="JHC" Date="2003-12-04" Remarks="Renamed for better indexing." /
>
<VersionInfo Organization="Rockwell Automation" Version="0.1"
Author="JHC" Date="2002-11-05" Remarks="Corrected missing ST element
in Algorithm REQ." />
<VersionInfo Organization="Rockwell Automation" Version="0.0"
Author="JHC" Date="2000-05-30" />
<CompilerInfo header="package fb.rt.template;" >
</CompilerInfo>
<InterfaceList>
<EventInputs>
<Event Name="INIT" Comment="Initialization Request" >
<With Var="QI" />
</Event>
<Event Name="REQ" Comment="Normal Execution Request" >
<With Var="QI" />
</Event>
</EventInputs>
<EventOutputs>
<Event Name="INITO" Comment="Initialization Confirm" >
<With Var="QO" />
</Event>
<Event Name="CNF" Comment="Execution Confirmation" >
<With Var="QO" />
</Event>
</EventOutputs>
<InputVars>
<VarDeclaration Name="QI" Type="BOOL" Comment="Input event
qualifier" />
<VarDeclaration Name="DIGI_IN" Type="BOOL" />
</InputVars>
<OutputVars>
<VarDeclaration Name="QO" Type="BOOL" Comment="Output event
qualifier" />
<VarDeclaration Name="DIGI_OUT0" Type="BOOL" />
<VarDeclaration Name="DIGI_OUT1" Type="BOOL" />
<VarDeclaration Name="DIGI_OUT2" Type="BOOL" />
<VarDeclaration Name="DIGI_OUT3" Type="BOOL" />
<VarDeclaration Name="DIGI_OUT4" Type="BOOL" />
<VarDeclaration Name="DIGI_OUT5" Type="BOOL" />
<VarDeclaration Name="DIGI_OUT6" Type="BOOL" />
<VarDeclaration Name="DIGI_OUT7" Type="BOOL" />
</OutputVars>
</InterfaceList>
<BasicFB>
<InternalVars>
<VarDeclaration Name="SEQUENTIAL_DELAY" Type="BOOL" />
</InternalVars>
<ECC >
<ECState Name="START" Comment="Initial State" x="552.9412"
y="429.4117" >
</ECState>
<ECState Name="INIT" Comment="Initialization" x="923.5294"
y="141.1765" >
<ECAction Algorithm="INIT" Output="INITO" />
</ECState>
<ECState Name="REQ" Comment="Normal execution" x="217.647"
y="752.9412" >
<ECAction Algorithm="REQ" Output="CNF" />
</ECState>
<ECTransition Source="START" Destination="INIT" Condition="INIT"
x="923.5294" y="429.4117" />
<ECTransition Source="INIT" Destination="START" Condition="1"
x="552.9412" y="141.1765" />
<ECTransition Source="START" Destination="REQ" Condition="REQ"
x="552.9412" y="600.0" />
<ECTransition Source="REQ" Destination="START" Condition="1"
x="217.647" y="429.4117" />
</ECC>
<Algorithm Name="INIT" Comment="Initialization algorithm" >
<ST Text="" />
</Algorithm>
<Algorithm Name="REQ" Comment="Normally executed algorithm" >
<ST Text="" />
</Algorithm>
</BasicFB>
</FBType>
XML Code End
Essentially what I am seeking to do is create an algorithm which will
delay each output sequentially, so in other words it receives input
data and the corresponding events, which I have used the Basic FB
model for, and then it will out put data on DIGI_OUT0, wait 0.5seconds
then out put data on DIGI_OUT1 and continue on until all outputs are
on. The purpose of this is for testing I/O on W2's. I am a EET Co-op,
so my knowledge of programming languages is still growing, I have not
had any experience with XML or Structural Text, only some C, so this
is a new language and it is still unfamiliar to me. Thanks for the
help.