GE PACSystems RX7i Cpu Programmer's Reference Manual page 98

Hide thumbs Also See for PACSystems RX7i:
Table of Contents

Advertisement

Operands for Shift Left, Shift Right, Shift Left and Shift Right
Parameter
Description
Length (??)
The number of WORDs or DWORDs in the string.
1  Length  256.
IN
The string of WORDs or DWORDs to shift
The number of places (bits) to shift the array.
N
0 ≤ N ≤ Length
If N is 0, no shift occurs, but power flow is
generated.
If N is greater than the number of bits in the
string (Length), all bits in Q are set to the value
B1, OK is set FALSE, and B2 is set to B1.
B1
The bit value to shift into the array
B2
The bit value of the last bit shifted out of the
array.
Q
The first WORD or DWORD of the shifted array
(Must be the same
data type as IN)
Example
Whenever input V_I0001 is set, the bits in the input string that begins
at WORD1 are copied to the output bit string that starts at WORD2.
WORD2 is left-shifted by 8 bits, as specified by the input N. The
resulting open bits at the beginning of the output string are set to the
value of V_I0002.
GFK-2950C
Chapter 4. Ladder Diagram (LD) Programming
February 2018
Allowed Operands
Constants.
All. Constants are legal
only when Length = 1.
All except variables in
%S— %SC memories
flow
flow
All except constants and
variables in %S memory.
Optional
No
No
No
No
Yes
No
83

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pacsystems rx3iPacsystems rsti-ep

Table of Contents