<FBType Name="ShiftOutCylinderFBT" Comment="Basic Function Block">
	<Identification Standard="61499-2" Description=""/>
	<CompilerInfo header="" classdef=""/>
	<InterfaceList>
		<InputVars/>
		<OutputVars/>
		<EventInputs>
      <Event Name="movePiece" Type="" Comment="Normal Execution Request"/>
      <Event Name="backPosR" Type="" Comment=""/>
      <Event Name="frontPosR" Type="" Comment=""/>
    </EventInputs>
		<EventOutputs>
      <Event Name="pieceMoved" Type="" Comment="Execution Confirmation"/>
      <Event Name="moveBack" Type="" Comment=""/>
      <Event Name="moveFront" Type="" Comment=""/>
      <Event Name="stop" Type="" Comment=""/>
    </EventOutputs>
	</InterfaceList>
	<Service/>
	<BasicFB>
		<InternalVars/>
		<ECC>
      <ECState Name="START" Comment="" x="570.5547" y="552.9087"/>
      <ECState Name="MOVING_F" Comment="" x="623.4927" y="1382.2707">
        <ECAction Algorithm="" Output="moveFront"/>
      </ECState>
      <ECState Name="FRONT_POS" Comment="" x="623.4927" y="1670.4887">
        <ECAction Algorithm="" Output="stop"/>
        <ECAction Algorithm="" Output="moveBack"/>
      </ECState>
      <ECState Name="MOVING_BACK" Comment="" x="635.2567" y="1923.4147"/>
      <ECState Name="BACK_POS" Comment="" x="635.2567" y="2199.8687">
        <ECAction Algorithm="" Output="stop"/>
        <ECAction Algorithm="" Output="pieceMoved"/>
      </ECState>
      <ECTransition Source="START" Destination="MOVING_F" Condition="movePiece" x="335.2747" y="970.5307"/>
      <ECTransition Source="MOVING_F" Destination="FRONT_POS" Condition="frontPosR" x="317.6287" y="1552.8487"/>
      <ECTransition Source="FRONT_POS" Destination="MOVING_BACK" Condition="1" x="364.6847" y="1799.8927"/>
      <ECTransition Source="MOVING_BACK" Destination="BACK_POS" Condition="backPosR" x="329.3927" y="2082.2287"/>
      <ECTransition Source="BACK_POS" Destination="START" Condition="1" x="2652.7827" y="1499.9107"/>
    </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>
