IDEC MICROSmart FC6A Series Ladder Programming Manual page 123

Automation organizer windldr
Hide thumbs Also See for MICROSmart FC6A Series:
Table of Contents

Advertisement

Bidirectional Shift Register
A bidirectional shift register can be created by first programming the SFR instruction as detailed in the "Forward Shift Register
(SFR)" on page 4-24. Next, the SFRN instruction is programed as detailed in the "Reverse Shift Register (SFRN)" on page 4-26.
Ladder Diagram
Reset
SFR
R22
6
I1
Pulse
I2
Data
I3
Reset
SFRN
R22
6
I4
Pulse
I5
Data
I6
R23
Q0
R24
Q1
R26
Q2
Structural Diagram
Reset
First Bit: R22
I1
Data
R22
R23 R24 R25
I3
Pulse
Last Bit: R22
I2
Note: Output is initiated only for those bits highlighted in bold print.
Program List
Instruction
LOD
LOD
LOD
SFR
LOD
LOD
LOD
SFRN
LOD
OUT
LOD
OUT
LOD
OUT
Forward Shifting
# of Bits: 6
Reset
Data
R26 R27
Pulse
# of Bits: 6
Reverse Shifting
FC6A S
MICROS
ERIES
MART
Data
I1
I2
I3
R22
6
I4
I5
I6
R22
6
R23
Q0
R24
Q1
R26
Q2
I4
I6
I5
L
P
M
ADDER
ROGRAMMING
ANUAL
4: B
ASIC
FC9Y-B1726
I
NSTRUCTIONS
4-27

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents