
8.2 Details
3-331
1
8
Chapter 8 Programming Examples
■ Repeat shift circuit
Turns ON every output for a second sequentially. Sets 1000 to 2008 (ON for 1st
scan only at startup) and shifts outputs from 7500 to 7504 every second at T001.
When 1005 turns ON, 1000 is set and the same sequence as above repeats.
Ladder diagram Coding
■ Synchronous shift register
Turns ON input relay 0002 to reset the shift register (1000 to 1010) when the data
input to 0000 does not synchronize with the clock input to 0001.
Timing diagram
Ladder diagram Coding
2008
T001
2003
T001
2003
1000
D
SFT
1000
1001
1002
CLK
RES
7502
1005
1003
7503
#00010
T001
7500
7501
1004
7504
1005
1000
SET
1000
SET
0000
0001
1000
1001
1002
.
.
.
Line No. Instruction Operand
0000 LD 2008
0001 SET 1000
0002 LDB T001
0003 T001 #00010
0004 LD 2003
0005 LD T001
0006 LD 2003
0007 SFT 1000 1005
0008 LD 1000
0009 OUT 7500
0010 LD 1001
0011 OUT 7501
0012 LD 1002
0013 OUT 7502
0014 LD 1003
0015 OUT 7503
0016 LD 1004
0017 OUT 7504
0018 LD 1005
0019 SET 1000
0000
1100
2003
0001
0002
1000
D
SFT
CLK
RES
1010
1100
DIFU
SET
1000
Line No. Instruction Operand
0000 LD 0000
0001 DIFU 1100
0002 LD 1100
0003 SET 100
0004 LD 2003
0005 LD 0001
0006 LD 0002
0007 SFT 1000 1010
KVNKA Chap 08.p65 08.3.11, 0:12 PM331
Comentarios a estos manuales