Delta AS Series Programming Manual page 566

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

API
Instruction code
1006
D
HSCR
Device
X
Y
M
S
1
S
2
D
Data
type
S
1
S
2
D
Symbol
Explanation
1.
Use this instruction with the high-speed counter numbered HC200 and above. If the value in the high-speed counter
specified by S
changes by increasing or decreasing, the DHSCR instruction makes the comparison immediately.
1
When the current value of the high-speed counter is equal to the comparative value specified in S
by D changes to OFF. After that, the device specified by D remains OFF even if the comparison result is that the
current value and the comparative value are not equal.
2.
If the device specified by D is Y0.0–Y0.15, and the comparative value of S
the comparison result is output to the external output terminals Y0.0–Y0.15. Other Y devices are affected by the scan
cycle, but this instruction updates all devices immediately and is not affected by the scan cycle.
3.
The D operand can also specify the HC device to reset, and is limited to the condition in which the high-speed counter
number is the same as that of S
4.
Refer to the DHSCS instruction (API 1005) for more information.
Operand
S
, S
, D
1
2
S
T
C
HC
D
Pulse instruction
.
1
Ch ap te r 6 Ap pl ie d Instruc ti ons
Resetting high-speed input comparison
FR
SM
SR
E
16-bit instruction
-
: Counter number
S
1
: Comparative value
S
2
D : Comparison result
is equal to the current value of the counter,
2
Function
K
16#
"$"
F
32-bit instruction
AS
, the device specified
2
6 - 2 8 7
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents