Jump to content

Recommended Posts

Hello.
I need help creating a counting feature based on 2 high speed counter. 
The program shall count how many meters a fishing net has been pulled out.
I haven't made any program yet, because I'm a little lost.
I am using the Vision V350
I have a swivel with 24 counting points and 2 High Speed Counter to show the number of meters released or retracted. 
Diameter is 1050mm.

I'm not sure how to get the program to know if wire is being pulled in or released?
I think I need to use Float MF to get the most accurate meter number?
Really appreciate all the help I can get.

Share this post


Link to post
Share on other sites

The best way to learn is to jump in and try and write as much as you can.  If you show the effort the people in this forum jump in and help any way they can.  If you’re looking for someone to write the program for you; it’s never going to happen.  The people here are great.  Give it a good effort on your own and then you’ll have tons of help.  

Share this post


Link to post
Share on other sites
7 hours ago, viscoelastic said:

 If you’re looking for someone to write the program for you; it’s never going to happen.

+1.  But we can help get started.

You need a quadrature signal to determine which way you're going.  If you don't know what this is-

http://www.ni.com/product-documentation/4763/en/

You mentioned you have a swivel with 24 points.  You'll need two signals to feed into the V350's inputs to get what you want.  I've been known to use two photoeyes or two prox sensors mounted offset on the same wheel to generate my own signal. Do you have a mechanical drawing of your swivel and how the sensor will be mounted?

By the way, use an ML to track your counts initially.  There's no such thing as a fractional pulse so a float won't do you any good.

If you've started on a program and have questions then post it here.  There are also example programs under Help->Examples.

Joe T.

Share this post


Link to post
Share on other sites

Hi and thanks for the quick response.

Here I upload the program I created before knowing that it should be 2 HSC, and that it should know which way the swivel is going.

the Program, it counts correct, but needs help getting it to subtract meters if it turns the other way.

Joe T.: Sorry but I have no designs on the swivel. Just be told that there is always only one sensor that hits one of the 24 points at a time.

HSC.vlp

Share this post


Link to post
Share on other sites
19 hours ago, Haver said:

but needs help getting it to subtract meters if it turns the other way.

Without the quadrature signal or something else to tell the PLC what's going on there's no way to do this.

Are there any outputs on the PLC that control which way it's going?

Joe T.

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.


×
×
  • Create New...