Absolute Encoder Questions / SSI via 5i25

More
21 Oct 2012 14:54 #25547 by PCW
Thats exactly right. SSI is a synchronous serial interface very much like SPI except it has no CS (Chip Select) signal and its unidirectional.

Writing the data register will start a transfer of the selected channel. then the host CPU must wait for the transfer to complete before reading the data register.

For more than one axis, it's probably better to start all read cycles at once
using the global start register

Please Log in or Create an account to join the conversation.

More
21 Oct 2012 15:00 #25548 by PCW

@PCW: How can I enable the SSI in my 5i25 / 7i77 card combo? I only could find BISS in a source file... No SSI?


This requires
1 Creating a pinout file for the SSI interface that matches the desired daugherecard pinout
2 Recompiling the VHDL source
3.Writing the 5i25s EEPROM with new bitfile
(number 3 is a bit risky with an untested bitfile if you dont have a JTAG programming cable)

Please Log in or Create an account to join the conversation.

More
21 Oct 2012 15:47 #25553 by juwi
PCW wrote:

@PCW: How can I enable the SSI in my 5i25 / 7i77 card combo? I only could find BISS in a source file... No SSI?


This requires
1 Creating a pinout file for the SSI interface that matches the desired daugherecard pinout
2 Recompiling the VHDL source
3.Writing the 5i25s EEPROM with new bitfile
(number 3 is a bit risky with an untested bitfile if you dont have a JTAG programming cable)


I have a avr dragon. Is this a jtag programmer I can use?

Please Log in or Create an account to join the conversation.

More
21 Oct 2012 17:22 #25556 by PCW
I doubt it unless it is compatible with some Xilinx cable or you have
Xilinx compatible download software for it

Please Log in or Create an account to join the conversation.

More
21 Oct 2012 19:16 - 21 Oct 2012 19:18 #25563 by Dave911
juwi,

I need to alter the Hostmot2 driver to add an SSI interface to a Balluff linear position sensor and would like to add the code into the driver so it can work with rotary encoders as well.

I have a Balluff Linear encoder and cable being shipped to me. I already have Mesa hardware - a 7i43 200K unit and a 7i47 RS22 interface card.

Peter (PCW) has compiled a bit file for the 7i43 which includes the SSI interface.

The Balluff SSI interface is very simple. There is no rotary - rotation count, rotation increment - components for the interface. It simply maps the linear encoder length to the the full range of bits - either 24 or 25 bits and it does it in a binary format.

I don't have a rotary encoder at the moment so I would like to work on this with you on this if you are up for it.

I'm not sure if the 5i25/7i77 card is a suitable hardware setup to use with SSI or not.

I also have a 5i20 card that I can use for testing - if that matters. I'd like to also get the SSI interface verified with the 5i20 card as well, after the 7i43 implementation is verified.

I have two customers who would like to take advantage of this interface, so I am motivated.

I have the SSI version of this sensor on its way.
www.balluff.com/balluff/MUS/en/products/...al-Mount-Profile.jsp

My direct email address is Dave @ Cole Controls . com (remove spaces)

All comments, advice etc are welcome. :)

Regards,

Dave
Last edit: 21 Oct 2012 19:18 by Dave911. Reason: added name

Please Log in or Create an account to join the conversation.

More
21 Oct 2012 20:06 #25565 by juwi
PCW wrote:

I doubt it unless it is compatible with some Xilinx cable or you have
Xilinx compatible download software for it


OK...
So, I am missing the ability to compile and test vhdl.

@PCW:
Would you be so kind and compile me a bios for the 5i25 / 7i77 combo using the serial port on the 7i77 as SSI interface?

As far as I read the driver code this shall be doable.

@PCW:
Would it be possible to use the raw pins on the second port of the 5i25 as SSI?

-> 17 IOs per Connector - 4 per SSI => 4x SSI

I am not afraid of the driver code, thats stuff I work with regularly. But I never did anithing with FPGAs... And shooting down my 5i25 would frustrate me.

Please Log in or Create an account to join the conversation.

More
21 Oct 2012 20:11 #25566 by juwi
Dave911 wrote:

juwi,

Peter (PCW) has compiled a bit file for the 7i43 which includes the SSI interface.

Perhaps I could get a file from him too (looking sweet with large eyes ;) )

The Balluff SSI interface is very simple. There is no rotary - rotation count, rotation increment - components for the interface. It simply maps the linear encoder length to the the full range of bits - either 24 or 25 bits and it does it in a binary format.

Mine is the same, only the content is different

25Bit, last always zero, first 12 are degree of rotation, next 12 are turns.

Binary or grey coded.

best regards
Julian

Please Log in or Create an account to join the conversation.

More
21 Oct 2012 21:21 #25572 by PCW
I can compile a 7I77 bit file some time next week

The raw interface is probably OK for the XMIT side but questionable
on receive because of common mode range. I would always want a real RS-422 driver/receiver there just for ruggedness however

Please Log in or Create an account to join the conversation.

More
21 Oct 2012 21:48 - 21 Oct 2012 22:00 #25573 by juwi
PCW wrote:

I can compile a 7I77 bit file some time next week

The raw interface is probably OK for the XMIT side but questionable
on receive because of common mode range. I would always want a real RS-422 driver/receiver there just for ruggedness however


Well, it would be no big thing to make a small PCB with some differential receivers on it. Or simply use a MAX491(EDITED - up to 2.5MBit) and only 2 lines from the 5i25?
@1.5MHz there is no need for advanced layouts, some basic rule obeyment should work. Only for testing of course...

Is it possible to get the Interface on the second port of the 5i25?

Thank you!

best regards,
julian
Last edit: 21 Oct 2012 22:00 by juwi.

Please Log in or Create an account to join the conversation.

More
21 Oct 2012 22:06 #25575 by andypugh
juwi wrote:

[Is it possible to get the Interface on the second port of the 5i25?

That is what the 7i74 would do. It is a 25-pin D-sub to 8xRJ45 RS422 interface.
(It costs $69)

Please Log in or Create an account to join the conversation.

Time to create page: 0.091 seconds
Powered by Kunena Forum