Glass scales index

More
4 years 9 months ago - 4 years 9 months ago #232586 by einarak
Glass scales index was created by einarak
I´m struggling to get a reliable signal from the index channel, running heidenhein ls486 glass scales. The index pulse is created with magnets under the scale.
But I just get an ocasional signal pulse in hal scope, but it works flawlessly in my oscilloscope. What am I missing here?

HAL file


INI file
Last edit: 4 years 9 months ago by einarak.

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

More
4 years 9 months ago #232587 by tommylight
Replied by tommylight on topic Glass scales index
Hal scope works at servo thread speed, so 1ms, and that might be to much to reliably detect the index pulse.
Try setting the trigger to the index channel, also use "show hal configuration" to set the index low or high and watch it change.

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

More
4 years 9 months ago #232629 by einarak
Replied by einarak on topic Glass scales index
Thanks, how would the line look to connect those two? I am a total newbee here

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

More
4 years 9 months ago #232637 by tommylight
Replied by tommylight on topic Glass scales index
No connecting, those are for hal scope (your attached screenshot) on the lover right side there is a button named "trigger", click on it and choose the index pin, that way the scope will wait for that pin to change state and start monitoring.
The second hal show is also a LinuxCNC feature for live monitoring of pins and parameters, also for changing values on the fly, it is found in the "machine" menu.

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

More
4 years 9 months ago #232662 by einarak
Replied by einarak on topic Glass scales index
Aha, ofcourse.
I think I am missing something in the setup, I put my pulsgenerator on the input and it did´n give me anything on encoder input-index, it was set to 2v like the signal from the glass scale. Or could that be the problem, that 2v is not high enough so it might need a pullup?

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

More
4 years 9 months ago #232696 by einarak
Replied by einarak on topic Glass scales index
I did some experiments tonight, and found out that if the slider is moved slow enough the signal is picked up repeatedly and accurate. So that will be the solution of that. Next up, homing with index... Any tips on where to seek info on that one?

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

Time to create page: 0.061 seconds
Powered by Kunena Forum