Panasonic FP Series Programming Manual page 406

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Table of Contents