167
D+1: Wd 0002 D: Wd 0001
N: 18 bits
After one execution
CY
0
000
00 0 00011111111
04 03MSB LSB
000 00 0 00011111111
04 03MSB LSB
CY
1
1
0
5-14-6 SHIFT N-BIT DATA RIGHT: NSFR(055)
(
055
)
NSFR D C N
Operand Data AreasLadder Symbol
Variations
↑NSFR(055)
N: Shift data length CIO, G, A, T, C, #, DM, DR, IR
D: Beginning word for shift CIO, G, A
C: Beginning bit CIO, G, A, T, C, #, DM, DR, IR
When the execution condition is OFF, NSFR(055) is not executed. When the ex-
ecution condition is ON, NSFR(055) shifts the specified number of bits (i.e., the
shift data length) from the beginning bit of the beginning word (bit C of word D),
one bit to the right. A “0” is entered for the beginning bit. The status of the Nth bit
is shifted to CY (A50004).
If the shift data length (D) is “0,” the beginning bit (C) data will be copied to C and
the status of the beginning bit (C) will not be changed.
Set the beginning bit to a value from 0000 to 0015 BCD.
CY
D Wd: C bit
N bits
0
D Wd
Precautions C must be between 0000 and 0015 and must be BCD.
Note Refer to page 115 for general precautions on operand data areas.
Flags ER (A50003): C is not 0000 to 0015 BCD.
Content of a*DM word is not BCD when set for BCD.
CY (A50004): “1” has been shifted to CY.
Description
(CVM1 V2)
Shift Instructions Section 5-14