Mitsubishi — Chapter 8 Application Instructions API 100-149

9 Application Instructions API 150-199 API 196 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. Remarks: 1. Flag explanations: M1015: high speed timer start-up flag D1015: high speed timer 2. EH/EH2/SV/EH3/SV2 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. DVP-PLC Application Manual 9-131 Mnemonic Operands Function HST P High Speed Timer Type OP Bit Devices Word Devices Program Steps X Y M S K H KnX KnY KnM KnS T C D E F HST, HSTP: 3 steps S * * PULSE 16-bit 32-bit SA SX SC EH3 ES EX SS SA SX SC EH3 ES EX SS SA SX SC EH SV EH3 SV2 ES EX SS EH SV EH SV SV2 SV2 HST K1 X10 HST K0 HST K1 HST K0