5i25, 7i77- G76 threading cycles

More
23 Nov 2012 04:26 #26866 by Diederik
need some suggestions. everything works fine. g95 g1 corresponds with spindle, but as soon as it reaches the point of g76, it hangs. the spindle-at-speed bit is true, but I cant monitor the index enable pin. please send me some sample .hal & .ini, where using 5i25&7i77? and suggestions. I previously did a machine with 5i23&7i33&7i37, and all went well. I can see the index-enable bit goes true when homing my x&z, but I cant see index enable change when getting to g76.

File Attachment:

File Name: rivol.hal
File Size:18 KB


File Attachment:

File Name: rivol.ini
File Size:3 KB


File Attachment:

File Name: uni_tech_vert_2.ini
File Size:4 KB


File Attachment:

File Name: uni_tech_vert_2.hal
File Size:20 KB
Attachments:

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

More
23 Nov 2012 08:53 #26870 by andypugh
There are some that need to be connected in HAL for G76 to work.

motion.spindle-revs must be connected to the spindle encoder position pin
motion.index-enable must be connected to the encoder index-enable pin

For feed-per-rev (G96) mode you also need to connect motion.spindle-speed-in to the encoder velocity output pin.

There is an example here, but it won't exactly suit your machine:
www.linuxcnc.org/docs/2.4/html/examples_...-Synchronized-Motion

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

More
26 Nov 2012 17:38 #26950 by Diederik
Happy days!!! stupid mistake, My encoder input direction from 5000 to -5000. oh well... at least!

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

Time to create page: 0.074 seconds
Powered by Kunena Forum