Panasonic FP Series Programming Manual page 503

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Arithmetic instructions
In this example, the same POU header is used for all programming languages. For an example
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;
502

Advertisement

Table of Contents
loading

Table of Contents