Delta AS Series Programming Manual page 623

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

A S S er i es Pr og r am m ing M an u a l
API
Instruction code
1112
Device
X
D
n
Data
type
D
n
Symbol
Explanation
1.
This instruction shifts the states of the n bit devices starting from D by one bit to the right. The instruction clears
_6
state of D+n-1 to 0, and transmits the state of D to the carry flag SM602.
2.
In general, the BSFRP pulse instruction is used.
3.
The operand n must be between 1–1024.
Example
When X0.0 is ON, the instruction shifts the states of M0–M5 by one bit to the right, clears the state of M5 to zero, and
transmits the state of M0 to the carry flag SM602.
6 - 3 4 4
Operand
BSFR
P
Y
M
S
T
C
D : First device for the shift
n : Data length
Shifting the states of n bit devices by one bit to the
D, n
HC
D
FR
SM
Pulse instruction
16-bit instruction
AS
Function
right
SR
E
K
16#
"$"
32-bit instruction
AS
-
F

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents