Mitsubishi — 3.11 Functions of Special Auxiliary Relays and Special Registers

3 Functions of Devices in DVP-PM X0 In O100 main program, X0 enables OX99 subroutine and executes the instructions in OX99 Function Group: High Speed Counting (DVP-10PM) Number: M1200/C200, M1204/C204, M1208/C208, M1212/C212, M1216/C216, M1220/C220 Explanations: DVP-10PM provides 6 sets of high speed counters as the table below: Note: z U/D: Counting up / Counting down, P/D: Pulse / Direction, A/B: A-phase / B-phase z Counters from set 1~4 apply open collector circuit; set 5~6 apply differential circuit. The setting steps for using the 2 nd set high speed counter are as below: 1. Design the 2 nd set of high speed counter with A/B phase counting mode by setting K1M1204 = K2 2.

Execute the instruction to start the counting. The program of step 1 and step 2 is as below: X0 3. If the reset signal is to be triggered from external signal, set K1M1024=H’A : 4. Execute the instruction to start the counting of C204. When X0 is ON, C204 will be cleared immediately. DVP-PM Application Manual 3-40 0 Counter Counting mode Reset signal (Valid only when b3 = 1) Input signal Device b0 / b1 1st set C200 K1M1200 0: U/D* 1: P/D* 2:

A/B* (Single frequency) 3:4A/B (Quadruple frequency) X10- (M1203) X0, X1, S/S 2nd set C204 K1M1204 X11- (M1207) X2, X3, S/S 3rd set C208 K1M1208 X12- (M1211) X4, X5, S/S 4th set C212 K1M1212 X13- (M1215) X6, X7, S/S 5th set C216 K1M1216 X0 (M1219) X10+, X10-, X11+, X11- 6th set C220 K1M1220 X1 (M1223) X12+, X12-, X13+, X13- MOVP K2 K1M1204 DCNT C204 K10 M1027 M1026 M1025 M1024 1 0 1 0