<FBType Name="ElevatorFBT" Comment="Basic Function Block">
	<Identification Standard="61499-2" Description=""/>
	<CompilerInfo header="" classdef=""/>
	<InterfaceList>
		<InputVars/>
		<OutputVars/>
		<EventInputs>
      <Event Name="moveUp" Type="" Comment="Normal Execution Request"/>
      <Event Name="moveDown" Type="" Comment=""/>
      <Event Name="downPosR" Type="" Comment=""/>
      <Event Name="upPosR" Type="" Comment=""/>
    </EventInputs>
		<EventOutputs>
      <Event Name="upPosR" Type="" Comment="Execution Confirmation"/>
      <Event Name="downPosR" Type="" Comment=""/>
      <Event Name="moveDown" Type="" Comment=""/>
      <Event Name="moveUp" Type="" Comment=""/>
      <Event Name="stop" Type="" Comment=""/>
    </EventOutputs>
	</InterfaceList>
	<Service/>
	<BasicFB>
		<InternalVars/>
		<ECC>
      <ECState Name="START" Comment="" x="570.5547" y="852.8907"/>
      <ECState Name="MOVING_UP" Comment="" x="564.6727" y="1699.8987">
        <ECAction Algorithm="" Output="moveUp"/>
      </ECState>
      <ECState Name="UP_POS" Comment="" x="594.0827" y="2064.5827">
        <ECAction Algorithm="" Output="stop"/>
        <ECAction Algorithm="" Output="upPosR"/>
      </ECState>
      <ECState Name="MOVING_DOWN" Comment="" x="605.8467" y="2393.9747">
        <ECAction Algorithm="" Output="moveDown"/>
      </ECState>
      <ECState Name="STOPPING" Comment="" x="623.4927" y="2693.9567">
        <ECAction Algorithm="" Output="stop"/>
      </ECState>
      <ECTransition Source="UP_POS" Destination="MOVING_DOWN" Condition="moveDown" x="317.6287" y="2293.9807"/>
      <ECTransition Source="START" Destination="MOVING_UP" Condition="moveUp" x="382.3307" y="1546.9667"/>
      <ECTransition Source="MOVING_UP" Destination="UP_POS" Condition="upPosR" x="358.8027" y="1917.5327"/>
      <ECTransition Source="MOVING_DOWN" Destination="STOPPING" Condition="1" x="358.8027" y="2605.7267"/>
      <ECTransition Source="STOPPING" Destination="START" Condition="1" x="3435.0887" y="1993.9987"/>
    </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>
