Jump to content
Sign in to follow this  
t0r3r0s

Problem with store to MI register

Recommended Posts

Greeatings.

 have a problem with encoder counting, I use the v700 and the expansion module D16A3 / RO16.
I36 is input  with a fast counter and use it to measure the length.
But I have a problem when I need to reset the value so I record 0 in the MI register, in the picture part of the code.

Did he have a similar problem or did somebody know the same thing?

prob.jpg

Share this post


Link to post
Share on other sites

As long as I remember, the use of HSC with expansion modules, involves  a hardware reset (I37 for reset). Alternatively you can use another register as a buffer.

Suggestion: use "greater than", instead of "greater" when you compare values.

Share this post


Link to post
Share on other sites

I believe HSC cannot be reset on expansion unit from software, you need to use hardware reset (a physical input on D16A3-RO16 module). Take a look at this topic:

 

Share this post


Link to post
Share on other sites
16 hours ago, Gabriel Franco said:

As long as I remember, the use of HSC with expansion modules, involves  a hardware reset (I37 for reset). Alternatively you can use another register as a buffer.

Suggestion: use "greater than", instead of "greater" when you compare values.

i try with greather than same problem ,  i can chose hsc and hsc with reset  and I chose with only hsc .

Share this post


Link to post
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.

Sign in to follow this  

×
×
  • Create New...