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