Aryshiftreglr - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

2 Instruction Descriptions

AryShiftRegLR

The AryShiftRegLR instruction shifts a bit string one bit to the left or right and inserts the input value to
the least-significant or most-significant bit. The bit string consists of array elements.
Instruction
AryShiftRegLR
Reversible Shift
Register
Variables
Name
Meaning
ShiftL
Left shift
ShiftR
Right shift
Reset
Reset
In
Input value
Size
Number of
elements in
array of bit
strings
InOut[]
Array of bit
(array)
strings
Bit strings
ShiftL
OK
ShiftR
OK
Reset
OK
In
OK
Size
InOut[]
OK OK OK OK OK
(array)
2-390
Name
FB/FUN
FB
I/O
Description
Shifted left when signal
changes to TRUE.
Shifted right when signal
changes to TRUE.
TRUE: Register is reset.
Value to insert to least-sig-
Input
nificant or most-significant
bit of InOut[]
Number of elements to use
as a shift register in InOut[].
In-out
Array of bit strings
OK
Graphic expression
AryShiftRegLR_instance
AryShiftRegLR
ShiftL
ENO
ShiftR
Reset
In
InOut
Size
Valid range
Depends on data type.
Depends on data type.
Integers
NY-series Instructions Reference Manual (W560)
ST expression
AryShiftRegLR_instance
(ShiftL, ShiftR,Reset, In,
InOut, Size);
Unit
Default
FALSE
---
1
---
---
Times, durations,
dates, and text strings

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents