<FBType Name="DistributionControllerFBT" Comment="Basic Function Block">
	<Identification Standard="61499-2" Description=""/>
	<CompilerInfo header="" classdef=""/>
	<InterfaceList>
		<InputVars/>
		<OutputVars/>
		<EventInputs>
      <Event Name="start" Type="" Comment="Normal Execution Request"/>
      <Event Name="stop" Type="" Comment=""/>
      <Event Name="pieceReady" Type="" Comment=""/>
      <Event Name="pieceMoved" Type="" Comment=""/>
      <Event Name="ready4Piece" Type="" Comment=""/>
    </EventInputs>
		<EventOutputs>
      <Event Name="fMovePiece" Type="" Comment="Execution Confirmation"/>
      <Event Name="cMovePiece" Type="" Comment=""/>
      <Event Name="pieceReady2Move" Type="" Comment=""/>
    </EventOutputs>
	</InterfaceList>
	<Service/>
	<BasicFB>
		<InternalVars/>
		<ECC>
      <ECState Name="START" Comment="" x="529.3807" y="611.7287"/>
      <ECState Name="SIGNAL_FEEDER" Comment="" x="541.1447" y="1688.1347">
        <ECAction Algorithm="" Output="fMovePiece"/>
      </ECState>
      <ECState Name="FEEDER_MOVING_PIECE" Comment="" x="470.5607" y="1952.8247"/>
      <ECState Name="WAIT_FOR_TC" Comment="" x="535.2627" y="2235.1607">
        <ECAction Algorithm="" Output="pieceReady2Move"/>
      </ECState>
      <ECState Name="SIGNAL_CONVERTER" Comment="" x="529.3807" y="2535.1427">
        <ECAction Algorithm="" Output="cMovePiece"/>
      </ECState>
      <ECState Name="CONVERTER_MOVING_PIECE" Comment="" x="517.6167" y="2799.8327"/>
      <ECTransition Source="START" Destination="SIGNAL_FEEDER" Condition="start" x="299.9827" y="1141.1087"/>
      <ECTransition Source="SIGNAL_FEEDER" Destination="FEEDER_MOVING_PIECE" Condition="1" x="529.3807" y="1817.5387"/>
      <ECTransition Source="FEEDER_MOVING_PIECE" Destination="WAIT_FOR_TC" Condition="pieceReady" x="217.6347" y="2123.4027"/>
      <ECTransition Source="WAIT_FOR_TC" Destination="SIGNAL_CONVERTER" Condition="ready4Piece" x="152.9327" y="2417.5027"/>
      <ECTransition Source="SIGNAL_CONVERTER" Destination="CONVERTER_MOVING_PIECE" Condition="1" x="523.4987" y="2664.5467"/>
      <ECTransition Source="CONVERTER_MOVING_PIECE" Destination="SIGNAL_FEEDER" Condition="pieceMoved" x="2435.1487" y="2341.0367"/>
    </ECC>  <Algorithm Name="INIT" Comment="Initialization algorithm"/>
    <Algorithm Name="REQ" Comment="Normally executed algorithm"/>
  </BasicFB>  <VersionInfo Organization="Software Engineering Group" Version="1.0" Author="-" Date="2006-02-07" Remarks="The FB type template"/>
</FBType>
