-

INSERT_WSTRING

Type Function
Description Inserts a string connected to IN2 in a given string connected to IN1. The input string at IN2 is inserted in IN1 after character position P.
Notes
  • P cannot be 0. The first position in a string is 1. If you want to insert a string before another use the CONCAT function.
  • Do not use the same string as input and output string because the output string will add up until the output string is too short and the string is cleared.
  • When the string output is longer than 80 characters and the FU/FB is directly connected to another FU/FB, temporary string variables of size 80 are used. Calculation/usage will fail. Use an intermediate local variable in-between.
Parameters Inputs

IN1

IN2

P

Output

OUT
Error behavior Error behavior
Additional information EN/ENO behavior