EasyManua.ls Logo

Panasonic FP Series - Page 278

Panasonic FP Series
1345 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
String instructions
277
Part II IEC Instructions
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,
(Monitoring) icon was
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, IN2:=input_string2, P:=6);

Table of Contents

Other manuals for Panasonic FP Series

Related product manuals