Hi
Thanks for the explanation, however I'm still a little confused as to how these high speed counters actually do work, as there seems to be very little written up in the manuals to describe how you are supposed to use them, unless you have a 'quadrature application which I unfortunately don't.
I know that they are independent of the logic scan time and can only be used from within a CusFn (or a diffCusFn), but does the Cusfn it resides within need to be invoked first to start the thing counting (providing there is a pulsing input to it)? In fact in what way is the HSCDEF instruction affected by the CusFn being invoked?
I've tried many different ways to use the HSCDEF (i.e.HSCDEF 1,1,20) and whilst in simulation mode placed a pulsed input on I/P 3 (which I understand is one of the two HSC dual channels 3,4,5 & 6), but when I monitor the effect of the HSC1 output in the 'View Integer Variables' box, the HSC1 output just remains at 0. Can you please tell me what I'm doing wrong?
Finally, in the manual it states there 8 channels that the HSCDEF instruction can use. Why 8 when there is only 4 physical inputs available i.e. 3,4,5 & 6. Thanks.