Jump to content

UIS-WCB2 HSI connected to encoder


Milos

Recommended Posts

Can anyone help me how to use UIS-WCB2 for the position detection?

I have connected Encoder A and B outputs on card inputs, it counting But I need two directional counting and can't figure out how to set it.

I am new with Unitronics so please feel free to propose obvious simple solutions if exist.

Thank you in advance

Link to comment
Share on other sites

  • MVP 2023

I think that the user did not select correct option in the HW configuration.

Unfortunately,  user did not specify which settings he selected.

By selecting the quadrature (A/B) encoder option, we automatically select (maybe) that this is a reversible counting device, which also takes into account the direction of rotation of the encoder during the processing of two quadrature signals A and B.

Unfortunately, I do not have such IO on my desk to experimentally confirm or refute my guesses.

Although I may be wrong in my guesses - only the project sent by the user can show what is wrong with the encoder configuration or signal processing from it.

Link to comment
Share on other sites

@kratmel @Rivka

Thank you so much for the answer. Last few days I was not near machine so I am able to test it now.

My first setup was as @kratmel suggested, I also tried with High speed type: Measure Length (Pulse Counter) and A/B interface of course. 

I have 2 encoders and in both cases during movement value of the tag  UIS-WCB2_0.B1: Counter is alternately changing from 0 to 1. When I stop movement last value remains. 

During movement value of the tag UIS-WCB2_0.B1: Frequency is 0.

I need this encoder for position reading so I would like to have some number which I can calculate position from.

image.png.e1e7ba6d65879a7e933800419a5717ca.png

 

 

Link to comment
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
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.