| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| /******************************************************************************* |
| * Copyright (c) 2010 Profactor GmbH |
| * |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Gerhard Ebenhofer |
| * - initial API and implementation and/or initial documentation |
| *******************************************************************************/ |
| --> |
| <!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd" > |
| <FBType Name="Simple" Comment="A simple FB with a single algorithm and REQ/CNF pair" > |
| <Identification Standard="61499-1" /> |
| <VersionInfo Organization="4DIAC-Consortium" Version="0.0" Author="4DIAC-IDE" Date="2008-07-10" /> |
| <InterfaceList> |
| <EventInputs> |
| <Event Name="REQ" Comment="Normal Execution Request" > |
| <With Var="QI" /> |
| </Event> |
| </EventInputs> |
| <EventOutputs> |
| <Event Name="CNF" Comment="Execution Confirmation" > |
| <With Var="QO" /> |
| </Event> |
| </EventOutputs> |
| <InputVars> |
| <VarDeclaration Name="QI" Type="BOOL" Comment="Input event qualifier" /> |
| </InputVars> |
| <OutputVars> |
| <VarDeclaration Name="QO" Type="BOOL" Comment="Output event qualifier" /> |
| </OutputVars> |
| </InterfaceList> |
| <BasicFB> |
| <Algorithm Name="REQ" Comment="Normally executed algorithm" > |
| <ST Text="QO := QI; " /> |
| </Algorithm> |
| </BasicFB> |
| </FBType> |