• March 23, 2023, 07:48:52 AM

Login with username, password and session length

Author Topic: H2-CTRIO2 & TTL Encoder Help  (Read 3677 times)


  • Newbie
  • *
  • Posts: 2
H2-CTRIO2 & TTL Encoder Help
« on: September 10, 2014, 11:25:56 PM »
I am trying to use a TTL encoder (Sick DSG60) with a H2-CTRIO2 and I cannot get it to work.  I am using signal A & B on channel 1 connected to 1A & 1B on the CTRIO card.  I also have 24VDC connected to 1M.  I have 5VDC connected to the encoder pins 10 & 12.  This use to be connected to an A-B 1746-HSCE card, but I have since replaced the system with a DoMore plc.  I am at a customers business and need to get this figured out ASAP.
Anybody with any ideas, let me know.  I had a conversation with Greg awhile back as far as the need for the TTL interface card that HEng. sells and he didn't think that I needed it as I am using something similar.

ADC Product Engineer

  • Hero Member
  • *****
  • Posts: 270
Re: H2-CTRIO2 & TTL Encoder Help
« Reply #1 on: September 11, 2014, 11:00:55 AM »
This was answered over on the ADC forums.


  • Hero Member
  • *****
  • Posts: 117
Re: H2-CTRIO2 & TTL Encoder Help
« Reply #2 on: September 12, 2014, 01:14:07 AM »

Mike Nash

  • Hero Member
  • *****
  • Posts: 632
Re: H2-CTRIO2 & TTL Encoder Help
« Reply #3 on: December 15, 2014, 07:34:02 PM »
You need one of these Signal conditioner and isolator for encoders

I figured out late Friday we missed a similar type issue (drive encoder out - line driver). I ended up making a ULN2013A do the job, but the above item would have sure been easier. I know Host has their board also, but no way could I have gotten it in time. CTRIO TTL Annex bottom of this page
It's pretty hidden, not so easy to order and maybe needs a DIN rail clip.

So Host, is there going to be a CTRIO with jumpers to select TTL input levels? It looks like it wouldn't be too hard and would sure save us customers a little coin and a lot of headaches. (I know it would make the CTRIO a little more expensive, but I keep getting burned by little compatibility gotchas with encoders.

While I'm here, I need an inhibit for the counters, but I did not find any software inhibit (or enable) which surprised me. I am planning to use a couple of raw outputs tied back to 1D and 2D, but that just feels kludgy. H2-D1ME is the processor. Is there a better way?