String replacement
REPLACE(_E)
High
Basic
Process
performance
Structured ladder/FBD
REPLACE_E
EN
ENO
s1
s2
n1
n2
The following function(s) can go in the dotted squares.
REPLACE, REPLACE_E
■Argument
Input/output
argument
Input argument
Output argument
5 APPLICATION FUNCTIONS
162
5.7 Standard Character String Functions
LCPU
Redundant Universal
ST
ENO:=
d
REPLACE_E
Name
Description
EN
Executing condition (TRUE: Execution, FALSE:
Stop)
s1(_IN1)
Input
s2(_IN2)
n1(_L)
Number of characters to be replaced
n2(_P)
Start position to be replaced
ENO
Execution result (TRUE: Normal, FALSE: Error)
d
Output
(EN, s1, s2, n1, n2, d);
Data type
Bit
String (255)
Word (signed)
Word (signed)
Bit
String (255)