Sign in to follow this  
Followers 0
J-D

Value => # pulses

5 posts in this topic

hi, i'm having a value in HR08 on my C20K; i have to have a number of pulses, that matches the value in HR08. after the pulses are given, the HR value has to be resetted.. For example, suppose that HR08 = 4(decimal), than i want a contact that opens four times in a row. 0-->1 -->0-->1-->0-->1-->0-->1-->0. When the four pulses are given, the HR08 value has to reset, HR08 = 0(decimal) i've been trying all kinds of constructions with counters, compares, ... but none of them wreally worked well, one time the value didnt reset another time the pulses didnt stop, ... is there an easier way to do this than with counters etc? Edited by J-D

Share this post


Link to post
Share on other sites
Maybe this will meet your needs:

Share this post


Link to post
Share on other sites
Worked like a Charm! thx!

Share this post


Link to post
Share on other sites
Whew! That's a good thing. I didn't test it.

Share this post


Link to post
Share on other sites
after adapting your piece of software by adding some extra conditons that were needed for my program, it worked very well... Edited by J-D

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0