Jump to content

using a pulscoder on input of UIDXXX - Counter1


Perko-san1

Recommended Posts

Hi Everyone,

I'm new with Unitronics PLC and the software. So here I am building my first project.

For my project I'm using a  stepper motor in an closed loop with an pulscoder. Stepper motor and pulscoder are connected trough the UID-0808THS_0.

My controller model is US7-B5-TR22.

Senzor that I'm using is:  TURCK REI-E-114I15E-2B5000-H1181. (https://www.turck.de/en/product/100011797)

My problem is that the motor is functioning OK without any problems. But the pulscoder is not working. When I power ON (pulscoder connected to the UID unit) I get the same value.

Valu of the B2: Counter is 4,294,967,295. If I reset the counter to value 0, the value stays 0 even if I rotate the pulscoder,

Screenshot_4.thumb.png.9de803d4aa30b9b12485af53b648996e.png

I have connected the pulscoder to: GND -> 0V,  Us+  -> 24VDC,  A  ->  I0,  B  ->  I1. The 0V is also connected to the CM0.

The pulscoder is connectedto the same power supply as the UID unit

I have noticed that I get some bits on I0 and I1 if I rotate the pulscoder (below is a picture of proff that the sensor is working) but the B2: Counter register is the same.

unnamed.thumb.png.f8bbebda8ad66dbcf0b38e55eaddf0f1.png

Even If I invert the counting direction or if I change the frequency I still don't have any value.

Here is my configuration of the UID unit:

 

Screenshot_1.png.ad5dc7b4bd04ee09e44a84206a60d0f8.pngScreenshot_2.png.6c3be4f96a9680089f72058c0f39f0b5.png

Best regards

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.