1769-HSC 1 Encoder, 1 Discrete?

cstech

Lifetime Supporting Member
Join Date
May 2011
Location
TN
Posts
34
Thought I would post this in its own thread:

I have successfully integrated a TTL signal encoder into the 1769-HSC, and am getting counts in the register. That's the good part.

How can I use one of the other counters for a proximity sensor (spindle RPM)? All of the HSC card setups I have tried yielded card faults.

If it helps, the current setup I am using is 1 counter in Encoder X1 mode. The AB manual doesn't specify how to "mix & match" encoder and discrete inputs.

Ideas?
 
Please give a litle more info.
TTL is usually 5VDC
Does the encoder have a Z pulse - Assuming it is the same shaft.
the TTL may also be NPN - I do not know
I am not that familure with the AB HSC setup - I understand it to be a 4 Channel card - you would need to be using one of the other channels and set it up as a single pulse counter.
 
I will clarify that the encoder is not on the same axis or even related to the spindle for which I want to read the RPM - I am simply trying to make better use of the current PLC resources by doubling the functionality of the HSC setup.

The TTL encoder is hooked up to the HSC as follows:

A0+/A0-
B0+/B0-
Z0+/Z0-
Power - +/- 5VDC

The HSC is currently set for one counter with that counter set as type "Encoder X 1".

This setup works great - I have no trouble getting the proper information from the encoder.

I would like to use another counter in the same card to read spindle RPM on the machine from a proximity sensor. I have not been able to figure out the proper configuration of the card which allows the encoder on one counter, and a discrete input on one of the others. I ASSUME that the encoder uses two out of the four counter spaces, so I should have room for two discrete counters remaining.

All configuration attempts thus far have yielded card faults, so I have returned to operating with just one counter setup for the encoder.
 
Last edited:
The information is in this PDF
1769_um006__en_p.pdf
too large to Post
look at the counter setup around 81
the note suggests that you can not change the card settings while it is enabled (porgram is running)
the X1 setting is for Quadrature (A-B Pulse Encoder)
you can not use this setting for a straight counter


 
The information is in this PDF
1769_um006__en_p.pdf
too large to Post
look at the counter setup around 81
the note suggests that you can not change the card settings while it is enabled (porgram is running)
the X1 setting is for Quadrature (A-B Pulse Encoder)
you can not use this setting for a straight counter

Okay - even though I had looked through that .pdf several times, I missed the part where it gave examples of how to use a quadrature encoder with an incrementing encoder or sensor. Page 18 gives a summary of available counter configurations. I will try the appropriate configuration once I am onsite with the machine this afternoon and report my findings here.

On a side note, I discovered that inhibiting and re-enabling the HSC card is sometimes necessary to clear a card fault (if the program is running).

Thanks!
 

Similar Topics

Hi, guys, how going? Could you give me a hand on my small project? One part of the project is that we want to use a shaft encoder (part number...
Replies
1
Views
1,298
I have a problem with a AB 1769 hsc/b module. I want to save a pulse value and I put it into the preset register which will get transferred to the...
Replies
1
Views
3,217
Hi, This is the first time I have setup a single ended encoder on a compact logix PLC. I wired in the pull up resistors and can see the A and B...
Replies
2
Views
2,836
Hi all, Before I ask my question, a list of hardware may assist in the search for a solution. Micrologix 1500 Base Unit: 1764-24BWA Ser B...
Replies
11
Views
11,884
I need to hook up a Dynapar encoder to a 1769-HSC high speed counter module. I do not have any doc from A/B on how to program this. This is not a...
Replies
2
Views
1,853
Back
Top Bottom