Panasonic FP Series Programming Manual page 672

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

F241_LINE
The function converts a bit column out of an ARRAY at input s and returns it at output d. The
Description
position at which the conversion takes place is specified at input n. The value assigned at input n
should be between 0 and 15.
datafield[0]
datafield[15]
Bit combination 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.
Availability of F241_LINE (see page 1323)
PLC types
Data types
Variable
Data type
ARRAY [0..15] OF
s
ANY16
n
ANY16
d
Bit column to bit line conversion
Position n = 10
15
10
1
0
0
1
1
0
1
1
1
0
0
0
1
0
1
0
15
0
1 0 1 0
0 0 1
1
1
Function
source area where bit column will be read
specifies bit position
destination area for storing converted data
0
s
0
0 1
1 0
0 1
Conversion instructions
671

Advertisement

Table of Contents
loading

Table of Contents