Panasonic FP Series Programming Manual page 538

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Operands
For
DWX DWY DWR
s1, s2, s3
d
Error flags
No.
IEC address
%MX0.900.11
R900B
In this example, the same POU header is used for all programming languages. For an example
Example
using IL (instruction list), please refer to the online help.
POU header
All input and output variables used for programming this function have been declared in the POU
header.
In this example the input variables input_value_1, input_value _2 and selection are declared.
However, you can write constants directly at the input contact of the function instead.
Body
When the variable start is set to TRUE, the function is carried out.
LD
ST
When programming with structured text, enter the following:
IF
start
THEN
F219_DUNI( s1:= input_value1,
s2:= input_value2,
s3_Mask:= selection,
d=> output_value);
END_IF;
Relay
DWL
DSV
-
DWY DWR
DWL
DSV
Set
for an instant
T/C
Register
DEV
DDT
DLD
DFL
DEV
DDT
DLD
DFL
If
 the result calculated (output d) is 0.
Bitwise Boolean instructions
Constant
dec. or hex.
-
537

Advertisement

Table of Contents
loading

Table of Contents