Jump to content

using a pulscoder on input of UIDXXX - Counter1


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,


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.


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:



Best regards

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