Chapter 5: Intelligent Box (IBox) Instructions
CTREDRL Example (cont'd)
1
Rung 2: This rung is a sample method for enabling the CTREDRL command. A C-bit is
used to allow the programmer to control the command from Data View for testing purposes.
2
Turning on C0 will cause the CTREDRL instruction to change the second preset in file 1
from a reset value of 20 to a reset value of 30.
Operating procedure for this example code is to load the CTREDRL_ex1.cwb file to your
3
CTRIO, then enter the code shown here, change to RUN mode, enable output #0 by turning
on C2 in Data View, turn encoder on CTRIO to value above 10 and output #0 light will
4
come on, continue to a count above 20 and the output #0 light will turn off. Now reset the
counter with C1, enable C0 to execute CTREDRL command to change the second preset
5
count value to 30, then turn encoder to value of 10+ (output #0 should turn on) and
continue on to a value of 30+ and the output #0 light will turn off.
Note that it is not necessary to reload this file separately, however, the command can only
6
change one value at a time.
7
8
9
10
11
12
13
14
A
B
(example continued on next page)
C
D
5–344
DL205 User Manual, 4th Edition, Rev. B
Need help?
Do you have a question about the DirectLOGIC DL205 Series and is the answer not in the manual?