![Omron CVM1D Operation Manual Download Page 159](http://html1.mh-extra.com/html/omron/cvm1d/cvm1d_operation-manual_742532159.webp)
154
5-14-5 SHIFT N-BIT DATA LEFT: NSFL(054)
(
054
)
NSFL D C N
Operand Data Areas
Ladder Symbol
Variations
↑
NSFL(054)
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, NSFL(054) is not executed. When the ex-
ecution condition is ON, NSFL(054) shifts the specified number of bits (i.e., the
shift data length) from the beginning bit in the beginning word (bit C of word D),
one bit to the left. A “0” is shifted into 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 CY
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 101 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.
Example
When the CIO 000000 is ON in the following example, the 18 bits of data starting
from bit 03 of CIO 0001 are shifted to the left one bit at a time. A “0” is entered for
the beginning bit (CIO 000103) of the shift. The status of bit CIO 000204 is
shifted to CY.
Address
Instruction
Operands
00000
LD
000000
00001
NSFL(054)
0001
#0003
#0018
Description
Shift Instructions
Section 5-14
(054)
NSFL 0001 #0003 #0018
0000
00
Summary of Contents for CVM1D
Page 462: ...SYSMAC CVM1D Duplex System Programmable Controllers Operation Manual Revised August 2001...
Page 463: ...iv...
Page 465: ...vi...