10 Bit Encoder Decoder/ GE90-30

Control Freak

Member
Join Date
Jul 2004
Posts
44
Anyone have any simple ways to decode the 10 bit grey scale code from an absolute encoder? My customer spec'd this unit and now I get to figure it out. I know some PLC's have decoder functions, however I know very little about them. In this case I'll be using a GE series 90-30 with an IC693APU305 (some processor module), also spec'd by the customer.
Silly me, doing it the easy way with Prog Limit Switches all this time. Way too easy, I suppose. ;)
 
Think of the APU305 as a programmable limit switch module for the 90-30. It can accept absolute encoder input, so there should be no need to decode anything. It's a special version of the High Speed Counter module.

The manual for the module is publication number GFK-1028, available from the GE Fanuc website.

http://www.geindustrial.com/cwc/gefanuc/support/ControllersIO/s9030-m.htm
 
Control Freak

I use grey code absolute encoders on our cranes, these input into a GE series six PLC. This is the code I use for decoding our gray scale inputs, I am sure this will translate straight into a 90-30, or be very close.


GREYCODE BINARY
BIT 10 BIT 10
---| |----------------------------------( )


GREYCODE GREYCODE BINARY
BIT 9 BIT 10 BIT 9
---| |-----------|/|-----+--------------( )
|
GREYCODE GREYCODE |
BIT 9 BIT 10 |
---|/|-----------| |-----+

GREYCODE GREYCODE BINARY
BIT 8 BIT 9 BIT 8
---| |-----------|/|-----+--------------( )
|
GREYCODE GREYCODE |
BIT 8 BIT 9 |
---|/|-----------| |-----+

GREYCODE GREYCODE BINARY
BIT 7 BIT 8 BIT 7
---| |-----------|/|-----+--------------( )
|
GREYCODE GREYCODE |
BIT 7 BIT 8 |
---|/|-----------| |-----+

GREYCODE GREYCODE BINARY
BIT 6 BIT 7 BIT 6
---| |-----------|/|-----+--------------( )
|
GREYCODE GREYCODE |
BIT 6 BIT 7 |
---|/|-----------| |-----+

GREYCODE GREYCODE BINARY
BIT 5 BIT 6 BIT 5
---| |-----------|/|-----+--------------( )
|
GREYCODE GREYCODE |
BIT 5 BIT 6 |
---|/|-----------| |-----+

GREYCODE GREYCODE BINARY
BIT 4 BIT 5 BIT 4
---| |-----------|/|-----+--------------( )
|
GREYCODE GREYCODE |
BIT 4 BIT 5 |
---|/|-----------| |-----+


GREYCODE GREYCODE BINARY
BIT 3 BIT 4 BIT 3
---| |-----------|/|-----+--------------( )
|
GREYCODE GREYCODE |
BIT 3 BIT 4 |
---|/|-----------| |-----+


GREYCODE GREYCODE BINARY
BIT 2 BIT 3 BIT 2
---| |-----------|/|-----+--------------( )
|
GREYCODE GREYCODE |
BIT 2 BIT 3 |
---|/|-----------| |-----+

GREYCODE GREYCODE BINARY
BIT 1 BIT 2 BIT 1
---| |-----------|/|-----+--------------( )
|
GREYCODE GREYCODE |
BIT 1 BIT 2 |
---|/|-----------| |-----+





Hope this helps

Paul

P.S I see Steve replied while I was busy typing one fingered :rolleyes:
 
Thanks guys.
The parts aren't here yet, but I want to stay ahead of the game rather than playin ketchup. Hopefully the APU unit is as easy to use as it appears. I've never worked with the GE platform at all, so this should prove to be an interesting experience. banghead
John
"there are 10 people..." <--- clever
 
I had this problem a little while ago as well.
Using a truth table I worked out that this converter was a series of XOR gates.
I then found an old text book with the same information in it.
If you notice, PLucas has also given the same answer.

Doug
 
problem with conversion

I see a small problem with the gray to binary conversion diagram that was drawn out by PLucas. Please correct me if I'm wrong.

The first XOR has to be the next bit of the gray code XOR'd with the first decoded Binary Bit and so on. Like this:


Gray MSB Bin MSB
---||-----------------------()---


Bin MSB Gray Bit6 Bin Bit6
---|/|------||--------------()---
|
Bin MSB Gray Bit6 |
|
---||-------|/|---------

Bin Bit6 Gray Bit5 Bin Bit5
---|/|------||--------------()---
|
Bin Bit6 Gray Bit5 |
|
---||-------|/|---------


And so on.

Hope this helps
 

Similar Topics

Hi Everyone, I want to know how i write a program in S7 300 plc of absulate encoder profibus dp 32 bit.
Replies
10
Views
2,468
Hi I want to read degree from absolute encoder 1024 binary by plc s7300. Please Describes the functionality of the absolute encoder 1024 binary...
Replies
10
Views
4,320
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...
Replies
3
Views
2,736
Does anyone know of a signal converter/encoder emulator/SSI display that will input a 25 bit SSI gray scale interface and output a 24 bit (or...
Replies
0
Views
3,288
Hi guys. I've got a machine using B&R as a positioning control, with Bosch Rexroth motors. In our plant the machine worked quite well, but at the...
Replies
4
Views
1,764
Back
Top Bottom