Delta AS Series Programming Manual page 575

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
API
Instruction code
1010
D
Device
X
Y
S
1
S
2
D
Data
type
S
1
S
2
D
Symbol
Explanation
_6
1.
You can use only the 16 input points X0.0–X0.15 of the PLC in S
interrupt service program to start the function. Note that S
counter.
2.
Select the high-speed counter HC device in S
start the counting function.
3.
The instruction stores the captured value from the high-speed counter (32-bit) in D when the interrupt occurs. The
instruction stores data when the interrupt occurs, and is not affected by the PLC program scanning.
4.
The instruction operation is shown below. The input interrupt is triggered by the falling edge.
  When the execution of the instruction starts, the value in D does not change and you can enter the default
setting value.
  When the interrupt in S
and stores it in D.
6 - 2 9 6
CAP
M
S
T
C
occurs, the instruction captures the value of the counter specified by S
1
Operand
S
, S
, D
1
2
HC
D
FR
SM
Pulse instruction
16-bit instruction
External interrupt input point
S
1
number
: High-speed counter number
S
2
Register for storing the captured
D :
value
. Use one of these input points with the external
1
cannot share the same input point with the high-speed
1
You must use the HC device with the DCNT instruction (API 1004) to
2.
Function
Capturing the high-speed count value in the
external input interrupt
SR
E
K
16#
32-bit instruction
-
2
"$"
F
AS
immediately

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents