| <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| <!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd"> |
| <FBType Comment="Event-driven bistable" Name="E_SR"> |
| <Identification Description="Copyright (c) 2017 fortiss GmbH This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0/ SPDX-License-Identifier: EPL-2.0" Standard="61499-1 Annex A"/> |
| <VersionInfo Author="Alois Zoitl" Date="2017-09-22" Organization="fortiss GmbH" Remarks="initial API and implementation and/or initial documentation" Version="1.0"/> |
| <InterfaceList> |
| <EventInputs> |
| <Event Comment="Set output Q" Name="S" Type="Event"/> |
| <Event Comment="Reset output Q" Name="R" Type="Event"/> |
| </EventInputs> |
| <EventOutputs> |
| <Event Comment="Output Q has changed" Name="EO" Type="Event"> |
| <With Var="Q"/> |
| </Event> |
| </EventOutputs> |
| <InputVars/> |
| <OutputVars> |
| <VarDeclaration Comment="" Name="Q" Type="BOOL"/> |
| </OutputVars> |
| </InterfaceList> |
| <BasicFB> |
| <ECC> |
| <ECState Comment="Initial State" Name="START" x="500.0" y="385.0"/> |
| <ECState Comment="" Name="SET" x="1200.0" y="400.0"> |
| <ECAction Algorithm="SET" Output="EO"/> |
| </ECState> |
| <ECState Comment="" Name="RESET" x="1165.0" y="845.0"> |
| <ECAction Algorithm="RESET" Output="EO"/> |
| </ECState> |
| <ECTransition Comment="" Condition="S" Destination="SET" Source="START" x="995.0" y="455.0"/> |
| <ECTransition Comment="" Condition="R" Destination="RESET" Source="SET" x="1205.0" y="685.0"/> |
| <ECTransition Comment="" Condition="S" Destination="SET" Source="RESET" x="1460.0" y="675.0"/> |
| </ECC> |
| <Algorithm Comment="new algorithm" Name="SET"> |
| <ST Text="Q := TRUE;"/> |
| </Algorithm> |
| <Algorithm Comment="new algorithm" Name="RESET"> |
| <ST Text="Q := FALSE;"/> |
| </Algorithm> |
| </BasicFB> |
| </FBType> |