EasyManuals Logo

Automationdirect.com DL05 User Manual

Automationdirect.com DL05
480 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #107 background imageLoading...
Page #107 background image
High-Speed Input and
Pulse Output Features
3–21
High-Speed Input and Pulse Output Features
You may recall that the Up-Down counter instruction is standard in the DL05
instruction set. Refer to the figure below. The mnemonic for the counter is UDC
(up-down counter).The DL05 can have up to 128 counters, labeled CT0 through
CT177. The quadrature counter in the HSIO circuit is accessed in ladder logic by
using UDC CT76. It uses counter registers CT76 and CT77 exclusively when the
HSIO mode 20 is active (otherwise, CT76 and CT77 are available for standard
counter use). The HSIO counter needs two registers because it is a double-word
counter. It also has three inputs as shown, but they are redefined. The first input is
the enable signal, the middle is a preload (write), and the bottom is the reset. The
enable input must be on before the counter will count. The enable input must be off
during a preload.
Reset Input
UDC
CT76
Kxxxxxxxx
Enable Input
Dummy Input
Reset Input
UDC
CTxx
Kxxxxxxxx
UP Count
DOWN Count
Standard Counter Function HSIO Counter Function
D Counts UP and DOWN D Counts UP and DOWN (from X0, X1)
D Reset input is internal only D Reset may be internal or external
D Preload counter by write to value D Can use Dummy Input to change count
The next figure shows the how the HSIO quadrature counter will appear in a ladder
program.
Preset Range:
1-99999999
Reset Input
UDC
CT76
Kxxxxxxxx
Enable Input
Dummy Input
When the enable input is energized, the counter will respond to quadrature pulses
on X0 and X1, incrementing or decrementing the counter at CT76 – CT77. The reset
input contact behaves in a logical OR fashion with the physical reset input X2. This
means the quadrature counter can receive a reset from either the contact(s) on the
reset rung in the ladder, OR the external reset X2.
Since presets are not available in quadrature counting, this mode is best suited for
simple counting and measuring. The example program on the following page shows
how to configure the quadrature counter. The program configures the HSIO circuit
for Mode 20 operation, so X0 is Phase A and X1 is Phase B clock inputs.
Writing Your
Control Program
Quadrature
Counter w/Preload
Program Example

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Automationdirect.com DL05 and is the answer not in the manual?

Automationdirect.com DL05 Specifications

General IconGeneral
BrandAutomationdirect.com
ModelDL05
CategoryController
LanguageEnglish

Related product manuals