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

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.

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