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 #94 background imageLoading...
Page #94 background image
High-Speed Input and
Pulse Output Features
3–8
High-speed Input and Pulse Output Features
Recall that V7633 is the HSIO Mode Select register. Refer to the diagram below. Use
BCD 10 in the lower byte of V7633 to select the High-Speed Counter Mode. The
DL05 does not use bits 8 - 15 in V7633.
015 14 13 12
Memory Location V7633
11 10 123456789Bits
00000010000
HSIO Mode Setup (BCD)
0000
10 = High-Speed Counter
00 01
0
Bits 8 - 15 are not used
in V7633.
Choose the most convenient method of programming V7633 from the following:
S Include load and out instructions in your ladder program
S DirectSOFT’s memory editor or Data View
S Use the Handheld Programmer D2–HPP
We recommend using the first method above so that the HSIO setup becomes an
integral part of your application program. An example program later in this section
shows how to do this.
The goal of counting is to do a special action when the count reaches a preset value.
Refer to the figure below. The counter features 24 presets, which you can program.
A preset is a number you derive and store so that the counter will constantly compare
the current count with the preset. When the two are equal, a special relay contact is
energized and program execution jumps to the interrupt routine. We recommend
using the special relay(s) in the interrupt service routine to cause any immediate
action you desire. After the interrupt service routine is complete, the CPU returns to
the ladder program, resuming program execution from the point of interruption. The
compare function is ready for the next preset event.
X0, counter clock
CPU Scan
Counter
Reset
X2, external reset
Current
Value
VĆmemory Preset Data
V2320 0000
V2322 0000
V2324 0000
V2326 0000
1000
2000
2500
3175
V2376 0921 0000
Input
Update
Ladder
Program
Execution
Output
Update
Does
Count =
Preset?
SPxxx
INT
HSIO
Interrupt
Routine
Program
IRT
=
Current
instruction
Setup for Mode 10
Presets and
Special Relays

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