7i95 + serial absolute encoder

More
16 Apr 2024 16:54 #298386 by pingtomi
Hi,

I have 7i95 in my retrofit project, which works fine for 3axes. Recently I added the 4+5th axis tilt/rotary unit and also I'd like to add encoder at least to the 4th axis to easily find zero position. I have Heidenhain ECN 113 encoders (a lot of) so it would be cost saving solution to use them. As they support 4 wire serial communication I considered to use the serial interface on 7i95 to connect them.
I have no experience in serial communication except Modbus, but AFAIK this is definitely not that.
I've tried to use sserial_port_0=0xxxxxx option in HAL file for hm2eth but I can't see any serial pin in the HAL configuration after load.
Do I need specific bitfile to use sserial interfaces, and it this "dream" even possible?
Thank you for your help!

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

More
16 Apr 2024 17:02 - 16 Apr 2024 17:13 #298388 by PCW
Replied by PCW on topic 7i95 + serial absolute encoder
Hostmot 2 supports 3 serial encoder formats:
Fanuc, SSI, and BISS, so to get the encoder to work
you would need to:

1. Determine if the encoder uses one of those formats
2. Use firmware that supports the actual encoder format
Last edit: 16 Apr 2024 17:13 by PCW. Reason: sp

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

More
16 Apr 2024 17:30 #298392 by pingtomi
Hi PCW

thx for your fast reply, in my understanding this encoder supports SSI or BISS, manual is not so clear, I'd suppose I need try both
but which firmware shall I use, where can I obtain it please?

Thank you
Tamas

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

More
16 Apr 2024 17:58 #298394 by PCW
Replied by PCW on topic 7i95 + serial absolute encoder
It would be best to figure out which interface your encoders
use rather than guess. Normally the full part number will
indicate what interface is used.

I don't think any standard 7I95 firmware supports SSI or BISS,
but it can be built easily, and use one or both of the built in
serial interfaces on the 7I95 card.

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

More
16 Apr 2024 18:10 #298395 by pingtomi
How can I build custom firmware, is there an up-to-date document?
Or can you make them if you have some free time please?
Thank you

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

More
16 Apr 2024 18:24 #298397 by PCW
Replied by PCW on topic 7i95 + serial absolute encoder
There's this:
wiki.linuxcnc.org/cgi-bin/wiki.pl?Editing_MESA_Bitfiles

plus, I can make firmware if you know the interface type and where
you want to connect the encoders.

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

More
31 May 2024 18:45 #301981 by pingtomi
Hi Peter

I figured it out, now I got one encoder which has 25bit SSI Gray output, could you please make 7i95 firmware to me? I'd like to connect the encoder to the 1st serial port, and if possible use the 2nd for Modbus/RS485.
Thank you a lot!
Tamas

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

More
31 May 2024 19:33 - 31 May 2024 19:48 #301987 by PCW
Replied by PCW on topic 7i95 + serial absolute encoder
7I95 config with 1 SSI on first serial port (sserial expansion on second)

 

File Attachment:

File Name: 7i95d_1ssi.zip
File Size:123 KB


7I95 config with SSI on first serial port, PKTUART on second

 

File Attachment:

File Name: 7i95d_ssi_...5-31.zip
File Size:122 KB
Attachments:
Last edit: 31 May 2024 19:48 by PCW.

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

More
31 May 2024 19:42 #301990 by pingtomi
Thanks a lot, shall I compile 2nd bitfile? Zip file contains only .vhd file?

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

More
31 May 2024 19:48 #301991 by PCW
Replied by PCW on topic 7i95 + serial absolute encoder
Sorry , should be fixed now...

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

Moderators: PCWjmelson
Time to create page: 0.076 seconds
Powered by Kunena Forum