Table 01 shows which high-speed counters in which counter mode you can reset via the input concerned.
In addition to the external reset option, you can also reset the high-speed counters internally triggered via the special flags listed in Table 02.
||New current value
||Write new current value to HSC|
For this, you download the value 0 into the special flag word "New current value", write the "New current value" to the high-speed counter via the relevant special flag and activate the high-speed counter (HSC0).
Fig. 01 shows the function code in STEP 7 Micro/WIN for resetting the high-speed counter HSC0.
In this example, resetting is triggered by the variable bit 0.0 that is reset again immediately after action and is thus available only for one cycle.
By loading the "New current value" you can also set the high-speed counters to any other values.
More information on the high-speed counters is available in the S7-200 system manual (Entry ID: 1109582).
Setting high-speed counters