
2.4 Instruction Details
3-82
2
Chapter 2 Instructions
SFT: Shift
Sets a shift register.
Example
Coding
Timing diagram
Description
• First relay No. 1000 turns ON (OFF) when the data input relay is ON (OFF) at the
rising edge of the clock pulse.
• Clock pulse A) shifts the ON status of input relay 0001 to relay 1000, and shifts
the status of other relays in sequence as shown in A) on the right.
• When the data input is OFF as for clock pulse E), OFF status is shifted to relay
1000.
• When the RESET input relay turns ON, all the relays (from the first one to the last
one) turn OFF.
• Several SFT instructions can be used in a program.
Note: No SFT operand relay No. can be duplicated in a program.
SFT
nnnn
mmmm
D
CLK
RES
OR
9
ORL
3
FUN
0001
0002
0003
1002
0500
SFT
D
1000
CLK
1002
RES
Line No. Instruction Operand
0000 LD 0001
0001 LD 0002
0002 LD 0003
0003 SFT 1000 1002
0004 LD 1002
0005 OUT 0500
0500
1002
1001
1000
0002
OFF
ON
0001
0003
OFF
ON
OFF
ON
ON
ON
ON
ON ON
1002 1001 1000 0001
0 OFF
1 ON
001 1
A)
ON ON
ON ON
1002 1001 1000 0001
011 1
B)
1002 1001 1000 0001
111 1
C)
1002 1001 1000 0001
111 1
D)
1002 1001 1000 0001
110 0
E)
1002 1001 1000 0001
100 1
F)
1002 1001 1000 0001
001 1
G)
ABCDEFG
RESET input
Data input
First relay No.
Clock
Last relay No.
RESET input
Data input
Clock
:
SFT
Relay shift
operation
Lost
Lost
Lost
Lost
Lost
Lost
Lost
KVNKA Chap 02_4aP.p65 08.3.11, 11:58 AM82
Komentáře k této Příručce