| <?xml version="1.0" encoding="UTF-8" ?> |
| <!DOCTYPE FBType SYSTEM "http://www.holobloc.com/xml/LibraryElement.dtd"> |
| <FBType Comment="replace L characters of IN1 by IN2 starting at the P-th character position" Name="F_REPLACE"> |
| <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-28" Organization="TU Wien ACIN" Version="1.0"/> |
| <InterfaceList> |
| <EventInputs> |
| <Event Comment="Service Request" Name="REQ" Type="Event"> |
| <With Var="IN1"/> |
| <With Var="IN2"/> |
| <With Var="L"/> |
| <With Var="P"/> |
| </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"/> |
| <VarDeclaration Comment="length to replace" Name="L" Type="ANY_INT"/> |
| <VarDeclaration Comment="start position" Name="P" Type="ANY_INT"/> |
| </InputVars> |
| <OutputVars> |
| <VarDeclaration Comment="substring" Name="OUT" Type="ANY_STRING"/> |
| </OutputVars> |
| </InterfaceList> |
| </FBType> |