Delta AS Series Programming Manual page 562

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

API
Instruction code
1005
D
HSCS
Device
X
Y
M
S
1
S
2
D
Data
type
S
1
S
2
D
Symbol
Explanation
1.
Use this instruction with high-speed counters with numbers HC200 and above. If the value in the high-speed counter
specified by S
changes by increasing or decreasing by 1, the DHSCS instruction makes the comparison
1
immediately. When the current value of the high-speed counter is equal to the comparative value specified in S
device specified by D changes to ON. After that, the device specified by D remains ON 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 value of S
the high-speed counter is output to the 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. For PLC with FW V1.06.00
(V1.06.00 included) or later versions, devices Y0.12 ~ Y0.15 are affected by the scan cycle.
3.
The D operand can also specify an I interrupt device between 1200–1267.
4.
The high-speed counters are divided into software counters and hardware counters. The available high-speed
comparators and interrupt device numbers are listed in the following table.
Operand
S
, S
, D
1
2
S
T
C
HC
D
Pulse instruction
Ch ap te r 6 Ap pl ie d Instruc ti ons
Setting high-speed 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 , the comparison result of
2
Function
K
16#
"$"
F
32-bit instruction
AS
, the
2
6 - 2 8 3
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents