EasyManua.ls Logo

Panasonic FP Series - Page 503

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...
Arithmetic instructions
502
Part III FP Instructions
Example
In this example, the same POU header is used for all programming languages. For an example
using IL (instruction list), please refer to the online help.
POU header
All input and output variables used for programming this function have been declared in the POU
header.
Body
When the variable start is set to TRUE, the function is carried out. The constant 0 is specified at
input s3, which means the sorting is carried out in an ascending order. However, you can declare a
variable in the POU header and write it in the function in the body at input s3.
LD
ST
IF start THEN
F277_SORT( s1_Start:= data_field[0],
s2_End:= data_field[4],
s3_Descending:= 0);
END_IF;

Table of Contents

Other manuals for Panasonic FP Series

Related product manuals