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
690
Part III FP Instructions
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.
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. It converts the floating point
value -1234567.89 into the whole number value -1234568, 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
F328_DINT(input_value, output_value);
END_IF;

Table of Contents

Other manuals for Panasonic FP Series

Related product manuals