High Speed Counter Set - Delta DVP-PLC Applications Manual

Table of Contents

Advertisement

API
Mnemonic
53
D
HSCS
Type
Bit Devices
X
Y
OP
S
1
S
2
D
*
Operands:
: Comparative value
S
1
Explanations:
1.
has to designate the No. of high speed counters C235 ~ C255. See remarks for more details.
S
2
2.
D can designate I0□0; □ = 1 ~ 6. ES series MPU does not support this.
3.
D of ES and SA series MPU does not support E, F index register modification.
4.
See the specifications of each model for their range of use.
5.
Flags: M1289 ~ M1294 are interruption disability of the high speed counters in EH/EH2/SV series MPU. See
Program Example 3 for more details.
6.
The high speed counter inputs counting pulses from the corresponding external input terminals X0 ~ X17 by
inserting an interruption. When the high speed counter designated in S
instruction will perform a comparison immediately. When the present value in the high speed counter equals
the comparative value designated in S
results are unequal, the device will still be On.
7.
If the devices specified as the device D are Y0 ~ Y17, when the compare value and the present value of the
high-speed counter are equal, the comparison result will immediately output to the external inputs Y0 ~ Y17,
and other Y devices will be affected by the scan cycle. However, M, S devices are immediate output and will
not be affected by the scan cycle.
Program Example 1:
After PLC RUN and M0 = On, DHSCS instruction will be executed. When the present value in C235 changes from
99 to 100 or 101 to 100, Y10 will be On constantly.
M1000
DCNT
C235
M0
DHSCS
K100
Program Example 2:
Differences between Y output of DHSCS instruction and general Y output:
a) When the present value in C249 changes from 99 to 100 or 101 to 100, Y10 outputs immediately to the external
output point by interruption and has nothing to do with the PLC scan time. However, the time will still be delayed
by the relay (10ms) or transistor (10us) of the output module.
D V P - P L C A P P L I C AT I O N M A N U A L
Operands
M
S
K
H KnX KnY KnM KnS T
*
*
*
*
*
ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV
: No. of high speed counter
S
2
, device designated in D will turn On. Even the afterward comparison
1
K1000
C235
Y10
7 Application Instructions API 50-99
Function

High Speed Counter Set

Word Devices
C
*
*
*
*
*
*
PULSE
D: Comparison result
On immediately
Controllers
ES/EX/SS SA/SX/SC EH/SV
Program Steps
D
E
F
DHSCS: 13 steps
*
*
16-bit
pluses 1 or minuses 1, DHSCS
2
32-bit
7 - 5

Advertisement

Table of Contents
loading

Table of Contents