![]() ![]() ![]() ![]() ![]() ![]() |
||
![]() |
||
![]() ![]() ![]() ![]() This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
![]() |
![]() |
#1 |
Member
![]() ![]() Join Date: Jul 2011
Location: italy
Posts: 75
|
PLC DL05 with encoder signals wiring
Good evening,
I am working on a project where i am using a plc DL05 with an encoder to control an axis position. My encoder signals A and B, i connected them to the input X0 and X1 of the plc because i am planning to use the HSIO MODE 40 for the quadrature encoder as it states into the plc data-sheet. I have read that this plc doesn't support signals below the 12 V while instead my signals from the encoder are in TTL logic that means 0-5 V. As anyone of you ever encountered this problem??how you did solve it?? In my case, to make the signal level fine for the plc i have used a IC circuit called ULN2803. This component i connect one pin to the 5 v and the other one to the 12 V power by a pull-up resistor and to the plc as in the scheme showed attached. When from the right pin side there is a signal, the opposite side pin shows zero and viceversa. So in my case when there is 5v to the other side there will be 0v and if i wanna calculate the Pull-up value that will be Rpul= (12V-0v)/max current into plc. THe component works just fine and it shows to me the quadrature encoder signals between 12V and 0. Now my question is how can i make the plc be aware of the inputs? It may seem stupid but i am in need in calculating the pull up resistor value in order to make a certain value of current to arrive to the Xo and X1 inputs. I don't know what is the current value to make the plc read my signals? I have tried to use a current of around 3mA and calculate the pull up value with this current but the plc doesn't seem to read the inputs. Thanks a lot Maria |
![]() |
![]() |
#2 |
Lifetime Supporting Member
![]() ![]() Join Date: May 2002
Location: Cumming, GA
Posts: 731
|
According to the manual the input needs >5ma to be true. The manual can be found here.
|
![]() |
![]() |
#3 |
Lifetime Supporting Member
|
to solve your problem you could use this: H0-CTRIO I think. it is under $200
__________________
" ![]() |
![]() |
![]() |
#4 |
Lifetime Supporting Member + Moderator
|
A 600 ohm pull up should give the 5 ma at 12 VDC.
__________________
Controlling outputs is the PLC's way of getting its inputs to change. |
![]() |
![]() |
#5 |
Lifetime Supporting Member + Moderator
|
Bernie have you been down that road before? it sound like you may have been there.
I know the math works out as well.
__________________
There should be a minimum IQ before people can breed. FS Eng (TÜV Rheinland, #11004/15, Machinery) |
![]() |
![]() |
#6 |
Lifetime Supporting Member + Moderator
|
Also, 1/4 watt would be on the edge (12 volts across the 600 ohms). Better to use at least 1/2 watt resistors as pull-up.
__________________
Controlling outputs is the PLC's way of getting its inputs to change. |
![]() |
![]() |
#7 |
Member
![]() ![]() Join Date: Jul 2011
Location: italy
Posts: 75
|
|
![]() |
![]() |
#8 |
Member
![]() ![]() Join Date: Jul 2011
Location: italy
Posts: 75
|
|
![]() |
![]() |
#9 |
Lifetime Supporting Member + Moderator
|
600 ohms provides 5 ma into the input impedance as listed for the module. Of course you can try anything you want but 600 ohms is the result of the calculation. Two 1.2 K in parallel would also work.
__________________
Controlling outputs is the PLC's way of getting its inputs to change. |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Encoder and PLC logic | SCAN.PLC | LIVE PLC Questions And Answers | 12 | March 27th, 2017 10:57 PM |
How do i use the S7-300 plc with encoder, motor and drive to control motor position | Shadley | LIVE PLC Questions And Answers | 4 | October 1st, 2009 07:55 AM |
Hard wiring the PLC | Doug Hylton | LIVE PLC Questions And Answers | 46 | October 23rd, 2007 01:21 PM |
connect an encoder to omron plc | hadiahmadi5 | LIVE PLC Questions And Answers | 14 | August 20th, 2007 08:45 AM |
absolute encoder with S7-200 plc: | suganya | LIVE PLC Questions And Answers | 0 | April 9th, 2007 12:37 AM |