Gray Code 12 bit Encoder

dodong

Member
Join Date
Aug 2014
Location
Indiana
Posts
1
Any recommendation on using a gray code encoder as input to a compactlogix PLC to trigger a digital input every 15 degree position on a rotary table? The encoder is a 12-bit resolution. Rotary table is 80 inches diameter that turns between 10 to 100 RPM adjusted by a recipe.

Sample instructions and ladder logic code would be helpful from any helping minds of expert in this group.

Thanks

dodong:geek:
 
12 bits is a bit of overkill with 4096 positions, that's a little over 170 positions (170.6666 etc) per 15 degree section.

1, Attach the encoder to an appropriate input module (pay attention to voltage needs). It is best if the 12 bits are the low bits of a module. The upper 4 can be used for other things as appropriate.

2. Preserve the lower 12 bit from the input word.

3. Perform the BCD to binary transformation.

4. For ease of reading I would use 24 comparison rungs. Don't use a comparison to single numbers since at 100 RPM the numbers will be changing by several per scan.

Are you unclear on how to do these. Take them in order please.

And how can a post be the zeroeth post for a person?
 
Last edited:

Similar Topics

Hi all I have a gray code 3bit is useing in determining the angle of the machine, also i have the plc unite type s7 315-2dp but i need to know ...
Replies
13
Views
6,750
Hey guys, Although I've poured through this forum for help in the past this is my first post. I am looking at replacing obsolete Baumer IVO...
Replies
6
Views
1,975
First time I have used an absolute encoder and it is definitely:banghead:. I have a Siemens 6FX2001-5FN25...
Replies
21
Views
6,076
I am migrating a PLC-5 to CLX. I do not have the option of changing out the existing encoders (845D-SJHZ25AGCW4). 8-24v DC, 256...
Replies
0
Views
1,609
Hi I have a question about a gray code absolute 8 bit encoder. The encoder is connected to 8 inputs on an Allen Bradley PLC. if you turn the...
Replies
6
Views
2,274
Back
Top Bottom