| <?xml version="1.0" encoding="UTF-8" ?> |
| <!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd"> |
| <FBType Comment="find the character position of the beginning of the first occurrence of IN2 in IN1, no occurrence returns 0" Name="F_FIND"> |
| <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 character and string function"/> |
| <VersionInfo Author="Monika Wenger" Date="2013-08-30" Organization="TU Wien ACIN" Version="1.0"/> |
| <InterfaceList> |
| <EventInputs> |
| <Event Comment="Service Request" Name="REQ" Type="Event"> |
| <With Var="IN1"/> |
| <With Var="IN2"/> |
| </Event> |
| </EventInputs> |
| <EventOutputs> |
| <Event Comment="Confirmation of Requested Service" Name="CNF" Type="Event"> |
| <With Var="OUT"/> |
| </Event> |
| </EventOutputs> |
| <InputVars> |
| <VarDeclaration Comment="input string 1" Name="IN1" Type="ANY_STRING"/> |
| <VarDeclaration Comment="input string 2" Name="IN2" Type="ANY_STRING"/> |
| </InputVars> |
| <OutputVars> |
| <VarDeclaration Comment="number of occurrence" Name="OUT" Type="ANY_INT"/> |
| </OutputVars> |
| </InterfaceList> |
| </FBType> |