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 #99 background imageLoading...
Page #99 background image
High-Speed Input and
Pulse Output Features
3–13
High-Speed Input and Pulse Output Features
SP0
LD
K10
Load constant K10 into the accumulator. This
selects Mode 10 as the HSIO mode.
OUT
V7633
Output the constant K10 to V7633, the
location of HSIO Mode select register.
LD
K1
Load the constant required to configure X0 as
the counter clock.
OUT
V7634
Output the constant K1 to V7634, the location of
the setup parameter for X0.
First Scan Only
DirectSOFT
UDC
CT76
Kxxxxxxxx
SP1
SP1
SP1
END
END coil marks the end of the main program.
CT76 is the HSIO counter. The first rung’s SP1
always enables the counter. The dummy input in
the middle is always off. The third rung’s Reset
input is always off, because we will use the
external reset.
LD
K7
Load the constant required to configure X2 as
an external reset without interrupt.
OUT
V7636
Output the constant K7 to V7636, the location of
the setup parameter for X2.
LD
K1006
Load the constant required to configure input
as filtered inputs.
OUT
V7635
Output the constant K1006 to V7635, the location
of setup parameter for X1.
Mode 10
Configure
Inputs
SP1
LDD
V1076
Load the current count of the HSIO counter in
V1076 and V1077 into the accumulator
CMPD
K309482
Use the Compare-double instruction to compare
the double word in the accumulator to the constant
K309482
SP62
OUT
The execution of the above CMPD instruction turns
on special relay contact SP62 if the current count
is greater than the comparison number (K309482).
Y0
The compare double instruction above uses the current count of the HSIO counter to
turn on Y0. This technique can make more than 24 comparisons, but it is scan-time
dependent. However, use the 24 built-in presets with the interrupt routine if your
application needs a very fast response time, as shown in the next example.
Program
Example Cont’d

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