Panasonic FP Series Programming Manual page 514

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Operands
For
WX
s
-
d
Explanation with example value 16#8888 and bit at position 2 moves to destination value at bit
position 15
source
15
bit pos
1
target
bit pos
15
1
result
bit pos
15
0
Bit at position 15 is exchanged, destination value in this example: 16#7FFF
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.
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
F5_BTM( s:= input_value,
n:= copy_operand,
d=> output_value);
END_IF;
Relay
T/C
WY
WR
WL
SV
EV
WY
WR
WL
SV
EV
.
.
12
11
.
.
8
7
0
0
0
1
0
0
0
1
.
.
12
11
.
.
8
7
1 1
1
1
1
1
1
1
.
.
12
11
.
.
8
7
1
1
1
Register
Constant
DT
LD
FL
dec. or hex.
DT
LD
FL
-
.
.
5
4
.
.
0
0
0
0
1
0
0
0
.
.
.
.
.
.
5
4
.
.
0
1
1
1
1
1
1
1
.
.
5
4
.
.
0
Bitwise Boolean instructions
513

Advertisement

Table of Contents
loading

Table of Contents