Panasonic FP-E Programming Manual page 495

Fp series
Table of Contents

Advertisement

Description
Shifts n bits of the 16-bit data area specified by D to the right (to the lower bit position).
Bit position
15
1211
· ·
D
Bit position
15
12
· ·
0
0 0
0
D
The higher n bits of D are filled with 0s.
When n bits are shifted to the right,
− The higher n bits of the 16-bit data area are filled with 0s.
− The data in the n th bit is transferred to special internal relay R9009 (carry flag).
The n is effective only for the lower 8 bits of the 16−bit data. The amount of the shift can be specified within a
range of 1 bit to 255 bits.
15
1211
8 7
· ·
· ·
· ·
n
0
0 0
— — — —
— — — —
Upper 8 bits
K0 to K255
are invalid
(H00 to HFF)
Flag conditions
・Error flag (R9007):
・Error flag (R9008):
・Carry flag (R9009): Turns on for an instant when the content of bit transferred to R9009 (n th bit)
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
n
8 7
4 3
·
·
· ·
· ·
11
8 7
4 3
·
·
· ·
· ·
4 3
0
· ·
0
0
0 0
0
Turns on and stays on when the area specified using the index modifier
exceeds the limit.
Turns on for an instant when the area specified using the index modifier
exceeds the limit.
is recognized as 1.
0
The data in the n th bit is transferred to R9009 (carry flag).
0
High−level Instructions
3 − 231

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents