selfbuilding

High speed counter with reset

8 posts in this topic

Hi!!

We have an application that involves an M91-2-UN2. We hope to use the HSC function reset (Hardware configuration). Digital input I2 apply the counting pulses (360 pulses per revolution) and the I3 to the reset, all square signals, taking the signal off and on the same duration. The shaft moves in one direction only.

The problem is that the reset signal ( I3 ) is not resetting the counter in less than 6 ms, but the count signal (I2) are being counted strictly accurate about 10kHz. Correct if wrong: With 60 revolutions per minute a reset and count pulse have approximately 1.4 ms. UN2 manual says the minimum pulse of HSC is 40us.

We also can not enable the SB10, and do not create any software in ladder, just configure the "hardware configuration", download to the OPLC and observe the counter MI in Debug Mode.

0

Share this post


Link to post
Share on other sites

Hi,

Input #0 and #2 can each function as either high speed counter or as part of a shaft encoder.

In each case, high-speed input specifications apply. When used as a normal digital input, normal input specifications apply.

Inputs #1 and #3 can each function as either counter reset or as a normal digital input. in either case, specificatons are those of a normal digital input.

As for SB10, it is normally on.

0

Share this post


Link to post
Share on other sites

Ok. Any idea how to use this OPLC M91 to know the angle on an axis that moves from one to sixty revolutions per minute in one direction?? Or just using a vision?

0

Share this post


Link to post
Share on other sites

Why don't you want to use a software reset? Software reset can be operated in a frequency of 2.5mS.

What exactly are you using the reset for?

0

Share this post


Link to post
Share on other sites

Ok

I'll explain further. In this shaft which rotates in one direction to at most one rotation per second I have attached an encoder with 360 points where we use the A or B signal and the signal Z (reset).

We need to know the precise positioning at every turn. Like most PLCs have a fast reset input, we never use interruptions to reset the 360 angle. I think it would work, but I have no exactly idea how the U90 works with this interruptions in this case !!!!!

We could continue using the physical input reset, because we have speed control on the engine that drives this axis and thus "zero " the angle in super slow speed ...

0

Share this post


Link to post
Share on other sites

Needed some example of this type of application. I see that there is not a very common application, a rotating shaft in one direction only and we need to know what your angle, but that's what we got ... It is possible to do?

0

Share this post


Link to post
Share on other sites

There is an example application in U90 Ladder under Help > Sample U90 Projects > Motion Control > HSC Exact Stop.

I believe you will find this example helpful.

0

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