Automationdirect.com DirectLOGIC DL205 Series User Manual page 553

Table of Contents

Advertisement

Chapter 5: Intelligent Box (IBox) Instructions
CTRCLRT Example
1
Rung 1: This sets up the CTRIO module in slot 2 of the local base. Each CTRIO module in
the system will need a separate CTRIO Config IBox before any CTRxxxx IBoxes can be used.
The CTRIO has been configured to use V2000 through V2025 for its input data, and V2030
2
through V2061 for its output data.
3
4
5
6
7
NOTE: The CTRIO Configuration IBox instruction does not require a permissive contact. The top line will be
identified in BOLD italics, and the instruction name and ID will be in BOLD characters.
8
Rung 2: This rung is a sample method for enabling the CTRCLRT command. A C-bit is
used to allow the programmer to control the command from Data View for testing purposes.
9
Turning on C0 will cause the CTRCLRT instruction to clear the preset table for output #0
on the CTRIO in slot 2.
10
Operating procedure for this example code is to load the CTRCLRT_ex1.cwb file to your
CTRIO, then enter the code shown here, change to RUN mode, enable output #0 by turning
11
on C2 in Data View, turn encoder on CTRIO to value above 10 and output #0 light will
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 CTRCLRT command to clear the preset table, turn
12
on C2 to enable output #0, then turn encoder to value of 10+ (output #0 should NOT turn
on).
13
14
A
B
C
D
5–336
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