![]() |
||
|
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
| ||
New Here? Please read this important info!!!
|
|
#1 |
|
Member
![]() Join Date: Sep 2008
Location: Dublin
Posts: 2
|
Help with encoder connected to logic circuit
Hi,
I know this might not be the right place to ask this but I'm kinda stuck and haven't come across anywhere more likely yet. Basically what I'm trying to do is time the acceleration of an encoder. I have a PCI card in my Windows PC but it's not a counter card so isn't capable of the timing I need. It has a couple of fast counters and some digital inputs and outputs. The encoder is a Hengstler RI38 with A,B and Z outputs, these are pushpull type. So 50 times a revolution the encoder sends a pulse on the A line. What I want to do is feed this A input into the CLOCK side of a JK flipflop with the J and K inputs tied. The result being that when the encoder sends its first pulse the output of the JK will be 1 and will stay 1 until the next pulse when it will toggle to 0 and so on. I've tested my JK flipflop with a slow 555 timer pulse and what I'm looking for works fine, but when I connect in the encoder things start to go a bit mad. Spinning the encoder is causing the flipflop to toggle without me even connecting the encoder to the flipflop, it seems to be coming through ground or +5V. Basically I think I have some sort of noise issue or I have completely misunderstood how to connect the encoder to a TTL circuit. With a probe on the 555 timer I see a LOW signal as 0V and HIGH as about 5V, but from the encoder a LOW seems to be about 0.6V and a high somewhere over 4V. Does anybody know what I'm doing wrong here? Do I need pull up or pull down resistors? This kind of thing isn't my speciality so I imagine one of you gurus will look at it and wonder why the hell I forgot to connect component X to connection Y .Any and ALL help much appreciated! |
|
|
|
#2 |
|
Member
![]() Join Date: Feb 2008
Location: amman
Posts: 3
|
s7 200
Please help;
|
|
|
|
#3 |
|
Member
![]() Join Date: Feb 2008
Location: amman
Posts: 3
|
I am programing a roll forming machine, after dividing and subtracting process. it was the zero point in (-675)reading by vd1, tell me please how i can use the vd1.
|
|
|
|
#4 |
|
Lifetime Supporting Member + Moderator
|
HI you need to create a New Thread - This is posted in an existing post
__________________
![]() Give all the answers - People seldom learn. Guide People to the posibilities - Their Answers will come easily. - Their Knowledge will grow. They will then teach others Regards Ian Trost |
|
|
|
#5 | |
|
Lifetime Supporting Member + Moderator
|
Quote:
do you have a Breadboard with I.C's on it. The PUSHPULL type encoder needs to know what voltage to switch. So - Yes you need either Pull Up or Pull Down resistor depending on your logic. If you have an I.C. Breadboard then get a decade counter Chip designed specifically to count.
__________________
![]() Give all the answers - People seldom learn. Guide People to the posibilities - Their Answers will come easily. - Their Knowledge will grow. They will then teach others Regards Ian Trost |
|
|
|
|
#6 |
|
Member
![]() Join Date: Sep 2008
Location: Dublin
Posts: 2
|
Thanks iant, I discovered that after a few days messing around. 3 years late with the reply but appreciated!
|
|
|
|
#7 |
|
Lifetime Supporting Member + Moderator
|
Sorry I had seen the other post - sent a msg to him an neglected to realise the date of your post
I was off the site for those three years or I would have helped then Have a drink on me
__________________
![]() Give all the answers - People seldom learn. Guide People to the posibilities - Their Answers will come easily. - Their Knowledge will grow. They will then teach others Regards Ian Trost |
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Topics
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Same "ONESHOT" in Multiple Locations | skyfox | LIVE PLC Questions And Answers | 21 | May 28th, 2007 10:33 AM |
| Encoder SSI double connection | Kataeb | LIVE PLC Questions And Answers | 3 | March 6th, 2007 01:42 AM |
| Absolute encoder or SSI counter Fault | ason | LIVE PLC Questions And Answers | 0 | December 20th, 2006 02:44 PM |
| absolute encoder Vs Sinecosine encoder | friendly_encoder | LIVE PLC Questions And Answers | 5 | November 13th, 2003 07:29 AM |
| encoders and plcs | ready961 | LIVE PLC Questions And Answers | 20 | January 23rd, 2003 08:18 AM |