Perko-san1 Posted April 1, 2021 Report Share Posted April 1, 2021 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 Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted April 1, 2021 MVP 2022 Report Share Posted April 1, 2021 Moved to the correct forum. Quote Link to comment Share on other sites More sharing options...
MVP 2022 kratmel Posted April 2, 2021 MVP 2022 Report Share Posted April 2, 2021 I do not test this but maybe you must try to use another encoder HSI inputs for block2 1 Quote Link to comment Share on other sites More sharing options...
Perko-san1 Posted April 2, 2021 Author Report Share Posted April 2, 2021 Hi, Yes you are correct!. I have switched from Channel 1 (I0 and I1) to the second channel, so to I4 and I5 and it's working like a charm 😃. Thank you for the support Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.