| <?xml version="1.0" encoding="UTF-8" ?> |
| <!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd"> |
| <FBType Comment="modulo" Name="F_MOD"> |
| <Identification Description="Copyright (c) 2013 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="61131-3" Classification="standard arithmetic function"/> |
| <VersionInfo Author="Monika Wenger" Date="2013-08-17" Organization="TU Wien ACIN" Version="1.0"/> |
| <InterfaceList> |
| <EventInputs> |
| <Event Comment="Normal Execution Request" Name="REQ" Type="Event"> |
| <With Var="IN1"/> |
| <With Var="IN2"/> |
| </Event> |
| </EventInputs> |
| <EventOutputs> |
| <Event Comment="Execution Confirmation" Name="CNF" Type="Event"> |
| <With Var="OUT"/> |
| </Event> |
| </EventOutputs> |
| <InputVars> |
| <VarDeclaration Comment="divident input" Name="IN1" Type="ANY_INT"/> |
| <VarDeclaration Comment="divisor input" Name="IN2" Type="ANY_INT"/> |
| </InputVars> |
| <OutputVars> |
| <VarDeclaration Comment="rest of IN1 devided by IN2" Name="OUT" Type="ANY_NUM"/> |
| </OutputVars> |
| </InterfaceList> |
| </FBType> |