Spinx1 to 7i85

More
10 years 2 months ago #78912 by andypugh
Replied by andypugh on topic Spinx1 to 7i85

OT-CNC wrote: If got this right, I need to reverse my spindle. What is the easiest way to reconfigure this? As is, my encoder count increases in M3 .


You would normally expect M3 to turn the spindle the correct direction for conventional turning operations. That would be my starting-point.

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

More
10 years 2 months ago #78991 by OT-CNC
Replied by OT-CNC on topic Spinx1 to 7i85
I corrected my rotation. I just changed the wiring to the vfd and reversed the encoder in the ini.
I'm trying to run some test programs. The machine hangs at g76. Specifically, line 102 (g76) running the lathe-g76.ngc program.
I know there is something off or missing with the spindle. What should I look at first?

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

More
10 years 2 months ago #78992 by Clive S
Replied by Clive S on topic Spinx1 to 7i85

OT-CNC wrote: I The machine hangs at g76. Specifically, line 102 (g76) running the lathe-g76.ngc program.

I might be sticking my neck out a bit here But I had a similar issue and was advised that the encoder might be counting backwards so the G76 hung as it did not know that the spindle was up to speed. Also I think you need the S peram in the Gcode to be near the spindle speed you are using.
That was my problem. Thanks to cncbasher for the solution.

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

More
10 years 2 months ago #78994 by andypugh
Replied by andypugh on topic Spinx1 to 7i85

OT-CNC wrote: The machine hangs at g76. Specifically, line 102 (g76) running the lathe-g76.ngc program.


Is it waiting for index? what is the value of spindle.index-enable at the point where it is hung?

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

More
10 years 2 months ago - 10 years 2 months ago #79031 by OT-CNC
Replied by OT-CNC on topic Spinx1 to 7i85
The encoder is counting in the positive direction when running M3.
The index value is false and the status led is brown under the hal config show/watch tabs.
Index pulse shows up in Hal Scope.

I have this in my hal:
net spindle-index-enable hm2_5i25.0.encoder.03.index-enable <=> motion.spindle-index-enable
I have also tried:
net spindle.index-enable hm2_5i25.0.encoder.03.index-enable <=> motion.spindle-index-enable

Both hang at the same point.
Last edit: 10 years 2 months ago by OT-CNC. Reason: typo

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

More
10 years 2 months ago - 10 years 2 months ago #79032 by PCW
Replied by PCW on topic Spinx1 to 7i85
Whats the state of motion.spindle-at-speed?
if its not true, motion will pause

BTW
net spindle-index-enable hm2_5i25.0.encoder.03.index-enable <=> motion.spindle-index-enable
and
net spindle.index-enable hm2_5i25.0.encoder.03.index-enable <=> motion.spindle-index-enable
and
net some-wierd-old-name hm2_5i25.0.encoder.03.index-enable <=> motion.spindle-index-enable

are identical (as long as the net name is only used in that line) That is, net names have no meaning
other than as a way of connecting pins together
Last edit: 10 years 2 months ago by PCW.

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

Moderators: PCW, jmelson
Time to create page: 0.273 seconds
Powered by Kunena Forum