Chapter 11 High-speed Capture and Compare Function Reading X0.0 Module number Control register number Initial device number Number of values Definitions Control/Reading (1) The format of a control register in a high-speed comparison mode is described below. 11-3 FROM K253 K1 S N Device Reading the values in counters S Initial group number n (n=0~7) S +1 0 (S , S ) +3 +2 Control registers whose group number is n (S , S ) +5 +4 Data registers whose group number is n (S , S ) +7 +6 Control registers whose group number is n+1 (S , S ) +9 +8 Data registers whose group number is n+1 : :
(S , S ) +31 +30 Control registers whose group number is n+7 (S , S ) +33 +32 Data registers whose group number is n+7 S +50 Number of devices=2+m*4 m=Number of groups (8 groups at most can be used.) Bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Item Comparison result Output action Conditi on Comparison source Item Bit Value AH20MC-5A AH10PM-5A/ AH15PM-5A AH05PM-5A Comparison source [3-0] 0 Present position of the 1st axis Present position of the 1st axis Present position of the 1st axis 1 Present position of the 2nd axis Present position of the 2nd axis Present position of the 2nd axis 2 Present position of the 3rd axis Present position of the 3rd axis Present position of the 3rd axis 3 Present position of the 4th axis Present position of the 4th axis Present position of the 4th axis 4 Value in C200 Value in C200 Value in C200 5 Value in C204 Value in C204 - 6 Value in C208 Value in C208 - 7 Value in C212 Value in C212 - Comparison condition [5-4] 0 Capture mode (Please refer to section 11.4 for more information.) - 1 Equal to (=) Equal to (=) Equal to (=) 2 Greater than or equal to (≧) Greater than or equal to (≧) Greater than or equal to (≧)