EasyManua.ls Logo

Panasonic FP Series

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
269
Part II IEC Instructions
POU header
All input and output variables used for programming this function have been declared in the POU
header.
In this example the input variables (input_string, character_number and start_position) have
been declared. Instead, you may enter the string ('Ideas for life'), the number of characters to be
delivered and the start position directly into the function. The string has to be put in inverted
commas, both in the POU header and in the function.
Body
Starting from start_position (7), character_number (8) of input_string (‘Ideas for life’) is copied
to output_string (‘for life’).
LD
ST
When programming with structured text, enter the following:
output_string:=MID(IN:=input_string, L:=character_number,
P:=start_position);

Table of Contents

Other manuals for Panasonic FP Series

Related product manuals