AH500 Motion Control Module Manual Example 1: Using the third timer in general mode 1. Users have to select the general mode, and enable the timer, that is, they have to write K4 into K1SM208. 2. C208 is enabled. The interval between the rising edge of a pulse received through X0.2 and the falling edge of the pulse is measured. The interval is written into C209. (Unit: 0.01 microseconds) High-speed timing SM200 and C201 SM204 and C205 SM208 and C209 SM212 and C213 X0.2 t1 t2 C209 C209 General mode Unit: 0.01 μs The program is shown below. X0.0 MOVP DCNT Example 2: Using the third timer in cyclic mode 1. Users have to write K5 into K1SM208. 2. C208 is enabled.
The interval between the rising edge of a pulse received through X0.2 and the rising edge of the next pulse is measured. The interval is written into C209. (Unit: 0.01 microseconds) t1 t2 t Cyclic mode Unit: 0.01 μs The program is shown below. C209 C209 X0.0 3. The cyclic mode is used to measure a frequency. 3-32 2 K4 K1SM208 C208 K10 .2 MOVP K5 K1SM208 DCNT C208 K10 K5 K1SM208 C208 K10