Panasonic FP Series Programming Manual page 402

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Data types
Variable
Data type
DWORD
s1
DWORD
s1
ARRAY [0..1] of
d
DWORD
Operands
For
DWX DWY
s1, s2
d
Error flags
No.
IEC address
%MX0.900.11
R900B
In this example the function has been programmed in ladder diagram (LD) and structured text
Example
(ST).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
F51_DBMUL(multiplicand, multiplicator, output_value);
END_IF;
Function
multiplicand, 32-bit area for 8-digit BCD data or equivalent
constant
multiplier, 32-bit area for 8-digit BCD data or equivalent
constant
result
Relay
DWR
DWL
DSV
-
DWY
DWR
DWL
DSV
Set
for an instant
T/C
Register
DEV
DDT
DLD
DFL
DEV
DDT
DLD
DFL
If
 the calculated result is 0.
Arithmetic instructions
Constant
dec. or hex.
-
401

Advertisement

Table of Contents
loading

Table of Contents