EasyManuals Logo

Panasonic FP Series User Manual

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
Page #527 background imageLoading...
Page #527 background image
Bitwise Boolean instructions
526
Part III FP Instructions
F69_WUNI
16-bit data unite
[d] = ([s1] AND [s3]) OR ([s2] AND (NOT[s3]))
s1
1010 1011 1100 1101
ABCD
s3
s2
0001 0010 0011 0100
1234
1111 1111 0000 1111
FF0F
0000 0000 1111 0000
00F0
1010 1011 0000 1101
AB0D
d
1010 1011 0011 1101
AB3D
0000 0000 0011 0000
0030
s1 AND s3 s2 AND NOT s3
Bit inverted of s3
OR
ANDAND
When the value at input s3 = 16#0, the value at input s2 is returned at output d.
When the value at input s3 = 16#FFFF, the value at input s1 is returned at output d.
This instruction also exists as a P instruction (for FP2/2SH, FP3/5, FP10/10SH PLC types), which
is only executed at the rising edge of the EN trigger. Select [Insert P instruction] from the
"Instructions" pane if you require a P instruction. To facilitate reuse, the instruction then appears
under "Recently used" in the pop-up menu. Press <Ctrl>+<Shift>+<v> within the programming
area to open the list of recently used elements.
PLC types
Availability of F69_WUNI (see page 1326)
Variable Data type Function
s1, s2 16-bit area or 16-bit equivalent constant to be compared
s3 16-bit area that stores master data for combination or 16-bit
equivalent constant data
d
ANY16
16-bit area for storing calculated result
The variables s1, s2, s3 and d have to be of the same data type.
Description
The function combines the two values at inputs s1 and s2 with the value at input s3 by bit-unit
processing. The result of the function is returned at output d. The data-unite is calculated as
follows:
Data types

Table of Contents

Other manuals for Panasonic FP Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Panasonic FP Series and is the answer not in the manual?

Panasonic FP Series Specifications

General IconGeneral
MountingDIN rail
TypePLC
Communication InterfaceRS-232, RS-485, Ethernet (depending on model)
Input Voltage100-240V AC or 24V DC (depending on model)
Output TypeRelay, Transistor
I/O PointsVaries by model
Operating Temperature0°C to 55°C
DimensionsVaries by model
WeightVaries by model

Related product manuals