Drum
Instruction
Programming
6--5
Drum Instruction Programming
DL105 PLC User Manual, 3rd Edition
For example, if you program a 5 second time base and 12 counts for Step 1, then the
drum will spend 60 seconds in Step 1. The maximum time for any step is given by the
formula:
Max Time per step = 0.01 seconds X 9999 X 9999
= 999,800 seconds = 277.7 hours = 11.6 days
NOTE:
When first choosing the timebase resolution, a good rule of thumb is to make
it about 1/10 the duration of the shortest step in your drum. Then you will be able to
optimize the duration of that step in 10% increments. Other steps with longer
durations allow optimizing by even smaller increments (percentage-wise). Also,
note that the drum instruction executes once per CPU scan. Therefore, it is pointless
to specify a drum timebase that is much faster than the CPU scan time.
Step transitions may also occur based on time and/or external events. The figure
below shows how step transitions work in these cases.
Is Step event
true?
F
f f f
F
f
F
f f f f
F F
f f f
Step 1
Outputs:
f f f
F
f f f f
F F
f
F
f f
F F
Step 2
Outputs:
No
Yes
Increment
count timer
Has step
counts expired?
No
Yes
Use next transition criteria
When the drum enters Step 1, it sets the output pattern as shown. Then it begins
polling the external input programmed for that step. You can define event inputs as
X, Y, or C discrete point types. Suppose we select X0 for the Step 1 event input. If X0
is off, then the drum remains in Step 1. When X0 is On, the event criteria is met and
the timer increments. The timer increments as long as the event (X0) remains true.
When the counts for Step 1 have expired, then the drum moves to Step 2. The
outputs change immediately to match the new pattern for Step 2.
Timer and Event
Transitions
Содержание DL105
Страница 2: ...DL105 PLC User Manual Manual Number D1 USER M...
Страница 308: ...1B DL105 Error Codes In This Appendix Error Code Table...
Страница 314: ...1C Instruction Execution Times In This Appendix Introduction Instruction Execution Times...
Страница 324: ...1D Special Relays In This Appendix DL105 PLC Special Relays...
Страница 327: ...1E PLC Memory In This Appendix DL105 PLC Memory...
Страница 329: ...1F European Union Directives CE In This Appendix European Union EU Directives Basic EMC Installation Guidelines...