Jump to content

JZ10-11-T17 counter reset


Petar

Recommended Posts

Im am not sure exactly what you need to do, but lets say that you have a need to say measure the length of something perform an action then reset the counter valvue so that you can repeat the process over and over again (or something like that). This line of thinking should also work for any time you want to reset a counter.

It is just as simple as picking any event, input, counter value, etc and saying that when any of the conditions you care about are true that you direct store a value of zero in the memory location your high speed counter is inputting to, So for example you have a counter going into MI0 and when the counter gets to 2010 you want to reset the counter to zero or if input 0 becomes true you want to reset the counter.

Keith

post-305-056603900 1329675256_thumb.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...