Forum Migration Notice
Update (2026-01-21): The user forums are now in read-only mode pending the data migration.

Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.

We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.

Is it possible to measure the width (time) of an input signal as a pulse?

I am trying to use an ultrasonic distance sensor HC-SR04, which generates a pulse width proportional to the detection distance of an object. With Arduino it is very easy to do this measurement, but I don't know how to do it with an ABB IRB 1100 robot with Omnicore E10 controller.

Answers

  • You could start a timer off the input going high and stop it when it goes low.