blob: 0baa676f401db52f67f3e2c986c10f648337a20e [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd">
<FBType Comment="Switching (demultiplexing) an event based on boolean input G" Name="E_SWITCH">
<Identification Description="Copyright (c) 2017 fortiss GmbH&#13;&#10; &#13;&#10;This program and the accompanying materials are made&#13;&#10;available under the terms of the Eclipse Public License 2.0&#13;&#10;which is available at https://www.eclipse.org/legal/epl-2.0/&#13;&#10;&#13;&#10;SPDX-License-Identifier: EPL-2.0" Standard="61499-1 Annex A"/>
<VersionInfo Author="Alois Zoitl" Date="2017-09-21" Organization="fortiss GmbH" Remarks="initial API and implementation and/or initial documentation" Version="1.0"/>
<InterfaceList>
<EventInputs>
<Event Comment="" Name="EI" Type="Event">
<With Var="G"/>
</Event>
</EventInputs>
<EventOutputs>
<Event Comment="" Name="EO0" Type="Event"/>
<Event Comment="" Name="EO1" Type="Event"/>
</EventOutputs>
<InputVars>
<VarDeclaration Comment="" Name="G" Type="BOOL"/>
</InputVars>
<OutputVars/>
</InterfaceList>
<BasicFB>
<ECC>
<ECState Comment="Initial State" Name="START" x="550.0" y="425.0"/>
<ECState Comment="" Name="G0" x="1700.0" y="730.0">
<ECAction Output="EO0"/>
</ECState>
<ECState Comment="" Name="G1" x="320.0" y="1020.0">
<ECAction Output="EO1"/>
</ECState>
<ECTransition Comment="" Condition="1" Destination="START" Source="G0" x="1255.0" y="660.0"/>
<ECTransition Comment="" Condition="1" Destination="START" Source="G1" x="535.0" y="795.0"/>
<ECTransition Comment="" Condition="EI[NOT G]" Destination="G0" Source="START" x="1435.0" y="440.0"/>
<ECTransition Comment="" Condition="EI[G]" Destination="G1" Source="START" x="350.0" y="550.0"/>
</ECC>
</BasicFB>
</FBType>