Changes for page 06 High-speed counter
Last modified by Mora Zhou on 2023/11/21 14:33
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Stone1 +XWiki.admin - Content
-
... ... @@ -7,7 +7,7 @@ 7 7 The counting method of single-phase input counter (S/W) is as follows: 8 8 9 9 (% style="text-align:center" %) 10 -[[image:06_html_1e47cfe250daeab9.gif||height="295" width="800" class="img-thumbnail"]]10 +[[image:06_html_1e47cfe250daeab9.gif||class="img-thumbnail" height="295" width="800"]] 11 11 12 12 **(2) AB phase input counter [1 times frequency]** 13 13 ... ... @@ -21,11 +21,11 @@ 21 21 When counting up When counting down 22 22 23 23 (% style="text-align:center" %) 24 -[[image:06_html_ac46591380ef206a.png||height="246" width="600" class="img-thumbnail"]]24 +[[image:06_html_ac46591380ef206a.png||class="img-thumbnail" height="246" width="600"]] 25 25 26 26 27 27 (% style="text-align:center" %) 28 -[[image:06_html_c364a1bf3d1a365c.png||height="229" width="600" class="img-thumbnail"]]28 +[[image:06_html_c364a1bf3d1a365c.png||class="img-thumbnail" height="229" width="600"]] 29 29 30 30 **(3) AB phase input counter [2 times frequency]** 31 31 ... ... @@ -47,11 +47,11 @@ 47 47 When counting up When counting down 48 48 49 49 (% style="text-align:center" %) 50 -[[image:06_html_3e8bfd2357550970.png||height="248" width="600" class="img-thumbnail"]]50 +[[image:06_html_3e8bfd2357550970.png||class="img-thumbnail" height="248" width="600"]] 51 51 52 52 53 53 (% style="text-align:center" %) 54 -[[image:06_html_419030bdafb27bdd.png||height="243" width="600" class="img-thumbnail"]]54 +[[image:06_html_419030bdafb27bdd.png||class="img-thumbnail" height="243" width="600"]] 55 55 56 56 **(4) AB phase input counter [4 times frequency]** 57 57 ... ... @@ -85,7 +85,7 @@ 85 85 86 86 87 87 (% style="text-align:center" %) 88 -[[image:06_html_418c9dc9a21844f8.png||height="289" width="600" class="img-thumbnail"]]88 +[[image:06_html_418c9dc9a21844f8.png||class="img-thumbnail" height="289" width="600"]] 89 89 90 90 == {{id name="_Toc2131"/}}**Highest frequency** == 91 91 ... ... @@ -100,7 +100,7 @@ 100 100 101 101 Counting range: -2147483648 to 2147483647, which is a signed 32-bit ring counter.{{id name="_Toc14212"/}}{{id name="_Toc30428"/}}{{id name="_Toc9824"/}} 102 102 103 - ==**{{id name="_Toc13801"/}}High-speed counter allocation**==103 +**{{id name="_Toc13801"/}}High-speed counter allocation** 104 104 105 105 The input soft components of various types of high-speed counters are fixedly allocated, including 8 channels HSC0 to HSC7. 106 106 ... ... @@ -144,41 +144,41 @@ 144 144 145 145 ((( 146 146 (% class="table-bordered" %) 147 -| (% style="width:161px" %)**Parameter**|(% style="width:210px" %)**Range**|(% style="width:486px" %)**Instruction**|(% style="width:218px" %)**Defaults**148 -| (% style="width:161px" %)Use or not|(% style="width:210px" %)Use/not use|(% style="width:486px" %)Set whether to use the counter.|(% style="width:218px" %)Unused149 -|( % style="width:161px" %)(((147 +|**Parameter**|(% style="width:275px" %)**Range**|(% style="width:873px" %)**Instruction**|(% style="width:193px" %)**Defaults** 148 +|Use or not|(% style="width:275px" %)Use/not use|(% style="width:873px" %)Set whether to use the counter.|(% style="width:193px" %)Unused 149 +|((( 150 150 Pulse input 151 151 152 152 mode 153 -)))|(% style="width:2 10px" %)(((153 +)))|(% style="width:275px" %)((( 154 154 Single phase input 155 155 156 156 AB phase input 157 -)))|(% style="width: 486px" %)Choose to use single phase input or AB phase input|(% style="width:218px" %)Single phase input158 -| (% style="width:161px" %)Counting direction|(% style="width:210px" %)Up counting mode down counting mode|(% style="width:486px" %)Select up/down counting mode, valid only when single-phase input|(% style="width:218px" %)Up counting mode159 -| (% style="width:161px" %)Frequency multiplication|(% style="width:210px" %)(((157 +)))|(% style="width:873px" %)Choose to use single phase input or AB phase input|(% style="width:193px" %)Single phase input 158 +|Counting direction|(% style="width:275px" %)Up counting mode down counting mode|(% style="width:873px" %)Select up/down counting mode, valid only when single-phase input|(% style="width:193px" %)Up counting mode 159 +|Frequency multiplication|(% style="width:275px" %)((( 160 160 One times frequency 161 161 162 162 two times frequency 163 163 164 164 four times frequency 165 -)))|(% style="width: 486px" %)Select input count multiplier, only valid when AB phase input|(% style="width:218px" %)One times frequency166 -| (% style="width:161px" %)Input frequency test time (ms)|(% style="width:210px" %)1 to 32767(ms)|(% style="width:486px" %)Set how often the input frequency is measured at the interval. The shorter the set time, the less accurate the frequency. The frequency measurement result is output in the special register SD. For details, see the description of the SD high-speed counter in the special register.|(% style="width:218px" %)1000ms167 -| (% style="width:161px" %)Filter time|(% style="width:210px" %)0 to 1700(0.01us)|(% style="width:486px" %)(((165 +)))|(% style="width:873px" %)Select input count multiplier, only valid when AB phase input|(% style="width:193px" %)One times frequency 166 +|Input frequency test time (ms)|(% style="width:275px" %)1 to 32767(ms)|(% style="width:873px" %)Set how often the input frequency is measured at the interval. The shorter the set time, the less accurate the frequency. The frequency measurement result is output in the special register SD. For details, see the description of the SD high-speed counter in the special register.|(% style="width:193px" %)1000ms 167 +|Filter time|(% style="width:275px" %)0 to 1700(0.01us)|(% style="width:873px" %)((( 168 168 Set the X point of this channel as the filter time for high-speed input. The smaller the filter setting, the more accurate the theoretical count, but the anti-interference ability will be reduced (the filter time is only valid for unidirectional input). 169 169 170 170 When the input is 0, it is the lowest filter time supported by the system. 171 -)))|(% style="width: 218px" %)1172 -| (% style="width:161px" %)Highest frequency|(% style="width:210px" %)(((171 +)))|(% style="width:193px" %)1 172 +|Highest frequency|(% style="width:275px" %)((( 173 173 Single phase input: 150K 174 174 175 175 AB phase input: 100K 176 -)))|(% style="width: 486px" %)Display the highest input frequency that each channel can reach, read only|(% style="width:218px" %)177 -| (% style="width:161px" %)Occupy X points|(% style="width:210px" %)-|(% style="width:486px" %)Show which X points are occupied after using the channel, read only|(% style="width:218px" %)178 -| (% style="width:161px" %)Check button|(% style="width:210px" %) |(% style="width:486px" %)Check whether the configured X input point is reused, it is recommended to click check when setting is completed, and then confirm the input|(% style="width:218px" %)179 -| (% style="width:161px" %)Restore to default|(% style="width:210px" %) |(% style="width:486px" %)Restore to the same default settings as above|(% style="width:218px" %)180 -| (% style="width:161px" %)Input (X) description|(% style="width:210px" %) |(% style="width:486px" %)Pop up the description table of all modes of each channel occupying X|(% style="width:218px" %)181 -| (% style="width:161px" %)Confirm input|(% style="width:210px" %) |(% style="width:486px" %)After the configuration is complete, click to confirm the input to save the configuration and take effect|(% style="width:218px" %)176 +)))|(% style="width:873px" %)Display the highest input frequency that each channel can reach, read only|(% style="width:193px" %) 177 +|Occupy X points|(% style="width:275px" %)-|(% style="width:873px" %)Show which X points are occupied after using the channel, read only|(% style="width:193px" %) 178 +|Check button|(% style="width:275px" %) |(% style="width:873px" %)Check whether the configured X input point is reused, it is recommended to click check when setting is completed, and then confirm the input|(% style="width:193px" %) 179 +|Restore to default|(% style="width:275px" %) |(% style="width:873px" %)Restore to the same default settings as above|(% style="width:193px" %) 180 +|Input (X) description|(% style="width:275px" %) |(% style="width:873px" %)Pop up the description table of all modes of each channel occupying X|(% style="width:193px" %) 181 +|Confirm input|(% style="width:275px" %) |(% style="width:873px" %)After the configuration is complete, click to confirm the input to save the configuration and take effect|(% style="width:193px" %) 182 182 ))) 183 183 184 184 **(3) Configuration example**