chantecler
Member
Hi all,
Please, could someone give me a working example of how to use the RHC instruction?
I want to measure the speed of a machine that works between 230 and 250 cycles per minute. The method I usually use to measure speed works well at low speeds, say less than 30 cpm but as the speed increases, the measurement varies because it relies on the scan time which also varies.
I have tried to write code using the RHC instruction but can't get it working right.
Thank you
Please, could someone give me a working example of how to use the RHC instruction?
I want to measure the speed of a machine that works between 230 and 250 cycles per minute. The method I usually use to measure speed works well at low speeds, say less than 30 cpm but as the speed increases, the measurement varies because it relies on the scan time which also varies.
I have tried to write code using the RHC instruction but can't get it working right.
Thank you