Spinx1 to 7i85
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.
Please Log in or Create an account to join the conversation.
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
Please Log in or Create an account to join the conversation.
I know it's not configured correctly. motion.spindle-at-speed is now true all the time and still hangs. Maybe I should re-do a standard spindle config to get threading and css to work then patch in the spindle orient that is currently working? Andy, is your vismach config working for tapping? I know it was originally intended for mill application and I'm trying it on a lathe.
Please Log in or Create an account to join the conversation.
Andy, is your vismach config working for tapping? I know it was originally intended for mill application and I'm trying it on a lathe.
The Vismach config is very much a visualisation and simulator config. I can imagine that much of it will be entirely wrong for real hardware, but I hope I put meaningful comments in the spindle.hal to explain the differences?
Please Log in or Create an account to join the conversation.
Also, on the examples I see posted, many use only the A channel and an Index. I have a 2048 count encoder in quad mode, 8192 encoder scale. Do I need to re-set the mode to only read A? What is the max rpm that I can expect linuxcnc with mesa hardware to keep track of the rpm with my encoder? Do I need lower resolution on the spindle? Obviously for position low res would not be good.
Please Log in or Create an account to join the conversation.
and are good to about 1-2 millions counts per second so 8192 counts
at say 8000 RPM is fine
Please Log in or Create an account to join the conversation.
If you want a spindle-at-speed signal then another "near" would be needed, but otherwise it isn't necessary.I think the near component is missing in the velocity closed loop section? I see a near component in the position section.
If you want to do tapping you absolutely need the B channel too, so that the system can tell when the spindle has reversed.Also, on the examples I see posted, many use only the A channel and an Index. I have a 2048 count encoder in quad mode, 8192 encoder scale. Do I need to re-set the mode to only read A?
What is the max rpm that I can expect linuxcnc with mesa hardware to keep track of the rpm with my encoder?.
If you turn off the filter then it is 160,000 rpm. I don't think you need to worry about it
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I will try to take this config and add it to the previous to get the spindle orient t work. I'm sure I'll manage to mess it up at some point .
The only thing that didn't configure is the glade spindle rpm panel and at speed led. Anything obvious I need to check for that to display correctly?
Please Log in or Create an account to join the conversation.
Check the connections i custom_postgui.hal (and that the INI file specifies a POSTGUI_HALFILE)
Please Log in or Create an account to join the conversation.