Shift Register Bit - Siemens SIMATIC S7-200 System Manual

Hide thumbs Also See for SIMATIC S7-200:
Table of Contents

Advertisement

Shift Register Bit

L
A
D
EN
F
B
DATA
D
S_BIT
N
S
SHRB DATA,
T
S_BIT, N
L
221
222 224
Inputs/Outputs
DATA, S_BIT
I, Q, M, SM, T, C, V, S, L
N
VB, IB, QB, MB, SMB, LB, AC, Constant, *VD, *AC, SB, *LD
S7-200 Programmable Controller System Manual
A5E00066097-02
The Shift Register Bit (SHRB) instruction shifts the
value of DATA into the Shift Register. S_BIT specifies the
SHRB
least significant bit of the Shift Register. N specifies the
ENO
length of the Shift Register and the direction of the shift
(Shift Plus = N, Shift Minus = -N).
Each bit shifted out by the SHRB instruction is placed in
the overflow memory bit (SM1.1).
Error conditions that set ENO = 0: SM4.3 (run-time),
0006 (indirect address), 0091 (operand out of range),
0092 (error in count field)
This instruction affects the following Special Memory bit:
SM1.1 (overflow)
226
Operands
SIMATIC Instructions
Data Types
BOOL
BYTE
9-127

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents