Jump to content

High speed counter with reset

Recommended Posts


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.

Link to comment
Share on other sites


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.

Link to comment
Share on other sites


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 ...

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.

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...