EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 338

Omron CP - PROGRAMMING MANUAL 05-2007
1175 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...
305
Data Shift Instructions Section 3-8
Examples When CIO 0.00 is ON, words CIO 1000 through CIO 1002 will shift by one
digit (4 bits) to the right. A zero will be placed in bits 12 to 15 of CIO 1002 and
the contents of bits 0 to 3 of word CIO 1000 will be lost.
3-8-19 SHIFT N-BIT DATA LEFT: NSFL(578)
Purpose Shifts the specified number of bits to the left.
Ladder Symbol
Variations
Applicable Program Areas
Operands C: 0000 to 000F hex (0 to 15)
N: 0000 to FFFF hex (0 to 65535)
Note All words in the shift register must be in the same area.
Operand Specifications
E
0.00
1000
1002
Lost
St
St: CIO 1000St+1: CIO 1001E: CIO 1002
NSFL(578)
D
C
N
D: Beginning word for shift
C: Beginning bit
N: Shift data length
Variations Executed Each Cycle for ON Condition NSFL(578)
Executed Once for Upward Differentiation @NSFL(578)
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification Not supported
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK OK
Area DCN
CIO Area CIO 0 to CIO 6143
Work Area W0 to W511
Holding Bit Area H0 to H511
Auxiliary Bit Area A448 to A959 A0 to A959
Timer Area T0000 to T4095
Counter Area C0000 to C4095
DM Area D0 to D32767
Indirect DM addresses
in binary
@ D0 to @ D32767
Indirect DM addresses
in BCD
*D0 to *D32767
Constants --- #0000 to #000F
(binary) or &0 to
&15
#0000 to #FFFF
(binary) or &0 to
&65535
Data Registers --- DR0 to DR15

Table of Contents

Related product manuals