Software Tools

Problem

I want to count the number of pulses from a digital input point. How do I prevent the CTU function from being incremented on every program scan?

Environment

ISaGRAF
TelePACE
(R-Trig Function Block)

Fix

You need to use the r-trig block before CTU block if you want to count pulses. Otherwise, the CTU will count up by one every scan as long as the CU input is enabled.