Drum
Instruction
Programming
6--10
Drum Instruction Programming
DL105 PLC User Manual, 3rd Edition
Drum Control Techniques
Now we are ready to put together the
concepts on the previous pages and
demonstrate general control of the drum
instruction box. The drawing to the right
shows
a
simplified
generic
drum
instruction. Inputs from ladder logic
control the Start, Jog, and Reset Inputs.
The first counter bit of the drum (CT0, for
example) indicates the drum cycle is
done.
f f F f f f
f f f f f f
f f f f F f
F F f F F f
f F F f F f
f F F f F F
f F f f F F
f F F f f F
Outputs
Steps
Setup
Info.
X0
X1
Start
Jog
X2
Reset
The timing diagram below shows an arbitrary timer drum input sequence and how
the drum responds. As the CPU enters Run mode it initializes the step number to the
preset step number (typically it is Step 1). When the Start input turns on the drum
begins running, waiting for an event and/or running the timer (depends on the setup).
After the drum enters Step 2, Reset turns On while Start is still On. Since Reset has
priority over Start, the drum goes to the preset step (Step 1). Note that the drum is
held
in the preset step during Reset, and that step
does not run
(respond to events or
run the timer) until Reset turns off.
After the drum has entered step 3, the Start input goes off momentarily, halting the
drum’s timer until Start turns on again.
Start
0
1
Jog
0
1
Step #
Drum
Complete (CT0)
0
1
Inputs
1
1
2
1
1
2
3
3
4
...
15
16
16
16
1
1
Drum Status
Start
drum
Reset
drum
Hold
drum
Resume
drum
Drum
Complete
Reset
drum
0
1
Outputs (x 16)
Reset
0
1
When the drum completes the last step (Step 16 in this example), the Drum
Complete bit (CT0) turns on, and the step number remains at 16. When the Reset
input turns on, it turns off the Drum Complete bit (CT0), and forces the drum to enter
the preset step.
NOTE:
The timing diagram shows all steps using equal time durations. Step times
can vary greatly, depending on the counts/step programmed.
Drum
Control Inputs
Summary of Contents for DL105
Page 2: ...DL105 PLC User Manual Manual Number D1 USER M...
Page 308: ...1B DL105 Error Codes In This Appendix Error Code Table...
Page 314: ...1C Instruction Execution Times In This Appendix Introduction Instruction Execution Times...
Page 324: ...1D Special Relays In This Appendix DL105 PLC Special Relays...
Page 327: ...1E PLC Memory In This Appendix DL105 PLC Memory...