| <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| <!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd"> |
| <FBType Comment="Convert TIME to LREAL in microseconds" Name="F_TIME_IN_US_TO_LREAL"> |
| <Identification Description="Copyright (c) 2019 TU Wien/ACIN 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"/> |
| <VersionInfo Author="Martin Melik Merkumians" Date="2019-07-08" Organization="TU Wien/ACIN" Version="1.0"/> |
| <InterfaceList> |
| <EventInputs> |
| <Event Comment="Normal Execution Request" Name="REQ" Type="Event"> |
| <With Var="IN"/> |
| </Event> |
| </EventInputs> |
| <EventOutputs> |
| <Event Comment="Execution Confirmation" Name="CNF" Type="Event"> |
| <With Var="OUT"/> |
| </Event> |
| </EventOutputs> |
| <InputVars> |
| <VarDeclaration Comment="" Name="IN" Type="TIME"/> |
| </InputVars> |
| <OutputVars> |
| <VarDeclaration Comment="" Name="OUT" Type="LREAL"/> |
| </OutputVars> |
| </InterfaceList> |
| <SimpleFB> |
| <Algorithm Comment="" Name="REQ"> |
| <ST Text="OUT := TIME_IN_US_TO_LREAL(IN);"/> |
| </Algorithm> |
| </SimpleFB> |
| </FBType> |