EasyManua.ls Logo

Panasonic FP Series - Page 406

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
405
Part III FP Instructions
Variable Data type Function
s1 dividend
s2 divisor
d
ANY32
quotient
The variables s1, s2 and d have to be of the same data type.
For Relay T/C Register Constant
s1, s2 DWX DWY DWR DWL DSV DEV DDT DLD DFL dec. or hex.
d - DWY DWR DWL DSV DEV DDT DLD DFL -
Data types
Operands
Example
In this example, the same POU header is used for all programming languages.
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.
LD
ST
IF start THEN
F33_DDIV(dividend, divisor, output_value);
END_IF;

Table of Contents

Other manuals for Panasonic FP Series

Related product manuals