Chapter 5: Intelligent Box (IBox) Instructions
CTRINPT Example (cont'd)
1
Rung 2: This rung is a sample method for enabling the CTRINPT 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 CTRINPT instruction to create a single entry preset table, but
not as a file, and use it for the output #0. In this case the single preset will be set at a count of
15 for output #0.
3
Operating procedure for this example code is to load the CTRINPT_ex1.cwb file to your
CTRIO, then enter the code shown here, change to RUN mode, enable output #0 by turning
4
on C2 in Data View, turn encoder on CTRIO to value above 15 and output #0 light will not
come on. Now reset the counter with C1, enable C0 to execute CTRINPT command to
5
create a single preset table with a preset to set output#0 at a count of 15, then turn encoder to
value of 15+ (output #0 should turn on).
6
7
8
9
10
11
12
13
14
A
B
C
D
5–348
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?