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...
Arithmetic instructions
504
Part III FP Instructions
In this example, the input variable sort_order is declared. However, you can write a constant
directly at the input contact of the function instead.
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. Since the variable sort_order is
set to 1, the specified data field in sorted in descending order.
LD
ST
IF start THEN
F278_DSORT( s1_Start:= data_field[0],
s2_End:= data_field[4],
s3_Descending:= sort_order);
END_IF;

Table of Contents

Other manuals for Panasonic FP Series

Related product manuals