Jump to content

Recommended Posts

Hi,

I opened U90 help files by mistake instead of Vision help files , and found that for HSC it says  "Counter value is an integer with a range of -32768 to +32767.  After the counter reaches the maximum value of +32767 it will continue to count in the negative range. "

I couldn't find similar statement in VisiLogic help files. Now, I plan to use Vision controler V430, and in Technical Specifications for V430-J-TR34 it says that hardware counter has resolution of 32-bit. Does that mean that I can link ML to high speed inputs and they will count to 2^31?

I am using two shaft encoders if it's of any matter.

I wasn't even thinking about this question, but since accidentally I looked at U90 help it's been bugging me.

 

Link to comment
Share on other sites

  • MVP 2023

Don't let it bug you.  Visions are way more powerful than M90s.

You can assign an ML to an HSC input with no problem.  Here's the catch - it will reset to 0 when you cycle power.  

I put an STO block  in that continually copies the ML value to another ML with a NC of SB2 in front of it.  This creates a running buffer of the value.  I use an NO of SB2 to copy the buffer back to the HSC accumulator so I don't loose my place on power-up.

 

Joe T.

  • Upvote 2
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...