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 #593 background imageLoading...
Page #593 background image
Bit-shift instructions
592
Part III FP Instructions
F123_RCL
16-bit data left rotate with carry-flag data
This example rotates one bit to the left:
·· ·· ·· ··
D
15 12 11 8 7 4 3 0
·· ·· ·· ··
D
15 12 11 8 7 4 3 0
0101 01010101 0101
010101010101 0101
0
Special internal relay
R9009 (carry flag)
Carry flag data “0”
Bit position
Bit position
When n bits with carry-flag data are rotated to the left,
the data in bit position 16-n (nth bit starting from bit position 15) is transferred to special internal
relay R9009 (carry-flag).
n bits starting from bit position 15 are shifted out to the left and carry-flag data and n-1 bits starting
from bit position 15 are shifted into lower bit positions of the 16-bit data specified by 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 F123_RCL (see page 1320)
Variable Data type Function
d ANY16 16-bit area
n INT number of bits to be rotated
For Relay T/C Register Constant
d - WY WR WL SV EV DT LD FL -
n WX WY WR WL SV EV DT LD FL dec. or hex.
Description
Rotates n bits of the 16-bit data specified by d including the data of carry-flag to the left if the
trigger EN is in the ON-state.
Data types
Operands
Example
In this example the function has been programmed in ladder diagram (LD) and structured text
(ST).The same POU header is used for all programming languages.

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