Automationdirect.com DirectLOGIC DL205 Series User Manual page 557

Table of Contents

Advertisement

Chapter 5: Intelligent Box (IBox) Instructions
CTREDPT Example (cont'd)
1
Rung 2: This rung is a sample method for enabling the CTREDPT 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 CTREDPT instruction to change the second preset from a reset
at a count of 20 to a reset at a count of 30 for output #0 on the CTRIO in slot 2.
Operating procedure for this example code is to load the CTREDPT_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 and stay on until a count of 20 is reached, where it will turn off. Now reset the
counter with C1, enable C0 to execute CTREDPT command to change the second preset,
5
turn on C2 to enable output #0, then turn encoder to value of 10+ (output #0 should turn
on) and then continue past a count of 30 (output #0 should turn off ).
Note that we must also reload the profile after changing the preset(s), this is why the
6
CTRLDPR command follows the CTREDPT command in this example.
7
8
9
10
11
12
13
14
A
B
C
D
5–340
DL205 User Manual, 4th Edition, Rev. B

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DirectLOGIC DL205 Series and is the answer not in the manual?

Table of Contents

Save PDF