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...
Conversion instructions
688
Part III FP 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 variable input_value is declared. However, you can write a constant
directly at the input contact of the function instead.
Body
When the variable start is set to TRUE, the function is carried out. It converts the floating point
value -1.234 into the whole number value -2, which is transferred to the variable output_value at
the output. Since the whole number may not exceed the floating point value, the function rounds
down here.
LD
ST
When programming with structured text, enter the following:
IF start THEN
F327_INT(input_value, output_value);
END_IF;

Table of Contents

Other manuals for Panasonic FP Series

Related product manuals