EasyManua.ls Logo

Panasonic FP-E - Page 548

Panasonic FP-E
1334 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
High−level Instructions
3 − 284
Outline Rotates a specified number of bits in specified 32-bit data to the left.
For the FP0R/FPΣ/FP−X/FP0/FP−e, the P type high−level instruction
“P126 (PDROL)” is not available.
Program example
Ladder
Diagram
Boolean
Ladder Diagram
Address Instruction
nD
Trigger
F126 DROL, DT10, K410
R0
10
11
ST R 0
F126 (DROL)
DT 10
K4
D Lower 16-bit area of 32-bit data
n 16-bit equivalent constant or 16-bit area to specify number of bits to be rotated
Range of n: K0 to K255 (H0 to HFF)
Operands
Operand
Relay Timer/Counter Register
Index
register
Constant
Inde
x
Inte
g
er
Operand
WX WY WR WL SV EV DT LD
FL
(*1)
I K H f
Index
modifier
Integer
device
D N/A A A A A A A A A A N/A N/A N/A A N/A
n A A A A A A A A A A A A N/A A N/A
(*1) This cannot be used with the FP0R, FPΣ and FP−X.
Explanation of example
Rotates 4 bits in data registers DT11 and DT10 to the left when trigger R0 turns on.
The data in bit position 28 is transferred to special internal relay R9009 (carry flag).
10101100 1011
31 0
1100 1010
CY
28 27 24 23 4 3
···
1011
[DT11, DT10]
[DT11, DT10]
R0: on
0
F126
P126
(PDROL)
(DROL)
32-bit data left rotation
A
:
A
vailable
N/A: Not Available
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com