Shift N-Bit Data Right: Nsfr(055) - Omron SYSMAC CV Series Operation Manual

Ladder diagrams
Hide thumbs Also See for SYSMAC CV Series:
Table of Contents

Advertisement

Shift Instructions

5-14-6 SHIFT N-BIT DATA RIGHT: NSFR(055)

Ladder Symbol
(
)
055
NSFR D C N
Variations
NSFR(055)
Description
Precautions
Flags
D+1: Wd 0002
N: 18 bits
04
MSB
1
1
0
1
0
0
1
CY
04
MSB
1
0
1
0
0
1
1
CY
1
Operand Data Areas
D: Beginning word for shift CIO, G, A
C: Beginning bit
N: Shift data length
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.
0
C must be between 0000 and 0015 and must be BCD.
Note Refer to page 115 for general precautions on operand data areas.
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.
D: Wd 0001
03
1
0 0
1
0
1
0 0 0 1 1
After one execution
03
0 0
1
0
1
0 0 0 1 1
CIO, G, A, T, C, #, DM, DR, IR
CIO, G, A, T, C, #, DM, DR, IR
D Wd: C bit
N bits
D Wd
CY
Section 5-14
LSB
0
LSB
0
(CVM1 V2)
167

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cv2000Cvm1Cv500Cv1000

Table of Contents