Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

delayed pulse

Hi,
 
I want to generate a pulse triggered by a counter. The counter part works well (see code attached). However,
the pulse generated either won't work or will work for about 1 second, depending on one line commented or not.
 
I checked that the wires were connected correctly and that ctr2 works properly with MAX.
 
Any ideas?
0 Kudos
Message 1 of 2
(3,483 Views)

Found the problem.

Some code elsewhere was interfering with the code and killed the task.

 

0 Kudos
Message 2 of 2
(3,481 Views)