Sign in to follow this  
Followers 0
pszczepan

PV value for CNT instruction

2 posts in this topic

Hi! I cannot find it in manual - so. f.e. I set value 100 to count by C0001. When it counts 100 I'll get completion flag, but I would like to check current PV for this counter. How I can do that - what word have this value? Thanks Pawel OK - got it PV value - it is the same address - just different date type - bool - completion flag, f.e UINT - current PV value Edited by pszczepan

Share this post


Link to post
Share on other sites
it's a word C0001. depending on how you monitor address C0001 you get flag or counter pv. e.g. if you put in monitor window in cx-programmer address C0001 as channel you'll see counter's pv. if you put C0001 as bit you'll see completition flag. if you do mov C0001 into D200 you'll get pv in D200. Edited by tashinz

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