9 Application Instructions API 150-199
DVP-PLC Application Manual
9-93
API Mnemonic Operands Function
196
HST P
High Speed Timer
Controllers
ES/EX/SS SA/SX/SC EH/SV
Bit Devices Word Devices Program Steps Type
OP
X Y M S K H KnX KnY KnM KnS T C D E F
S * *
HST, HSTP: 3 steps
PULSE 16-bit 32-bit
ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV ES EX SS SA SX SC EH SV
Operands:
S: Condition to stop the startup of high speed timer
Explanations:
1. Range of S: S = K0 (H0), K1 (H1).
2. Flag: M1015
3. When S = 1, the high speed timer will be enabled and M1015 = On. The high speed timer starts to time and
record the present value in D1015 (min. unit: 100us).
4. Timing range of D1015: K0 ~ K32,767. When the timing reaches K32,767, the next timing will restart from 0.
5. When S = 0, the high speed timer will be disabled and M1015 = Off. D1015 will stop the timing immediately.
6. When S is neither 1 nor 0, HST instruction will not be executed.
Program Example :
1. When X10 = On, M1015 will be On. The high speed timer will start to time and record the present value in
D1015.
2. When X10 = Off, M1015 will be Off. The high speed timer will be shut down.
X10
HST K1
X10
HST K0
Remarks:
1. Flag explanations:
M1015: high speed timer start-up flag
D1015: high speed timer
2. EH/EH2/SV series MPU do not use this instruction and use special M and special D directly for the timer.
a) Special M and special D are only applicable when PLC RUN.
b) When M1015 = On and PLC scans to END instruction, the high speed timer D1015 will be enabled. The
minimum timing unit of D1015: 100us.
c) Timing range of D1015: K0 ~ K32,767. When the timing reaches K32,767, the next timing will restart from
K0.
d) When M1015 = Off, D1015 will stop the timing when encountering END or HST instruction.
3. SA/SX/SC series MPU do not use this instruction and use special M and special D directly for the timer.
a) Special M and special D are applicable when PLC RUN or STOP.