Panasonic FP Series Programming Manual page 278

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Body
In this example the input variables input_string1, input_string2 and position have been
declared. However, you may enter the values directly at the function's input contact pins instead.
The STRING values have to be put in inverted commas, both in the POU header and at the contact
pins. input_string2 ('for ') is inserted into input_string1 ('Ideas life') after character position 6. The
result ('Ideas for life') is returned at output_value. In the LD example,
activated while in online mode, hence you can see the results immediately.
LD
ST
When programming with structured text, enter the following:
output_value:=INSERT(IN1:=input_string1,
(Monitoring) icon was
IN2:=input_string2,
String instructions
P:=6);
277

Advertisement

Table of Contents
loading

Table of Contents