Mitsubishi — 10.1 High-speed Counters

AH500 Motion Control Module Manual An AH500 series motion control module is equipped with high-speed counter and virtual high-speed counter. These high-speed counters can be used as timers. The functions of high-speed counters and the functions of timers are described below. 10.1 High-speed Counters 1. Selecting a mode of counting The setting of high-speed counters is described below. *1. The input terminals of AH20MC-5A are differential input terminals. X0.8 and X0.9 on AH15PM-5A are differential input terminals. The input terminals of AH05PM-5A/AH10PM-5A are transistors whose collectors are open collectors. X0.10~X0.15 on AH15PM-5A are transistors whose collectors are open collectors. *2.

The terminal S/S on AH05PM-5A/AH10PM-5A must be connected. X0.10~X0.15 on AH15PM-5A must be connected to the terminal S/S. *3. U/D: Counting up/Counting down; P/D: Pulse/Direction; A/B: A phase/B phase  Users can select a mode of counting by setting SM200 and SM201. Input signals are controlled by X0.8 and X0.9. If SM203 is ON, the function of resetting C200 will be enabled. Resetting signals are controlled by X0.0. X0.8 Counting pulses Pulse U A Present value in C200 Counting pulses Dir D C200 X0.9 B SM200/SM201:

Mode of counti ng Resetti ng C200 SM203=1, X0.0 10-2 Number Counter Mode of counting Resetting of a counter External External input terminal*1 *2 Device Setting value*3 resetting terminal 0 C200 K1SM200 0: U/D 1: P/D 2: A/B (One time the frequency of A/B-phase inputs) 3: 4A/B (Four times the frequency of A/B-phase inputs) SM203 X0.0+ and X0.0- X0.8, X0.9, and S/S 1 C204 K1SM204 SM207 X0.1+ and X0.1- X0.10, X0.11, and S/S 2 C208 K1SM208 SM211 X0.2+ and X0.2- X0.12, X0.13, and S/S 3 C212 K1SM212 SM215 X0.3+ and X0.3- X0.14, X0.15, and S/S 4 C216 K1SM216 SM219 X0.2+ and X0.2- X0.12, X0.13, and S/S 5 C220 K1SM220 SM223 X0.3+ and X0.3- X0.14, X0.15, and S/S